We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410b33c commit 52d8a5dCopy full SHA for 52d8a5d
cucumber_cpp/library/cucumber_expression/Ast.cpp
@@ -122,7 +122,7 @@ namespace cucumber_cpp::library::cucumber_expression
122
123
TokenType Token::TypeOf(char ch)
124
{
125
- if (std::isspace(ch) != 0)
+ if (std::isspace(static_cast<unsigned char>(ch)) != 0)
126
return TokenType::whiteSpace;
127
128
if (DemarcationMap().contains(ch))
@@ -133,7 +133,7 @@ namespace cucumber_cpp::library::cucumber_expression
133
134
bool Token::CanEscape(char ch)
135
136
137
return true;
138
139
return ch == '\\' || DemarcationMap().contains(ch);
0 commit comments