forked from qt-creator/qt-creator
Handle logical xor.
This commit is contained in:
@@ -331,8 +331,11 @@ int Lexer::yylex_helper(const char **position, int *line)
|
||||
if (_yychar == '=') {
|
||||
yyinp();
|
||||
return Parser::T_XOR_ASSIGN;
|
||||
} else if (_yychar == '^') {
|
||||
yyinp();
|
||||
return Parser::T_XOR_OP;
|
||||
}
|
||||
return Parser::T_XOR_OP;
|
||||
return Parser::T_CARET;
|
||||
|
||||
// {
|
||||
case '{':
|
||||
|
||||
Reference in New Issue
Block a user