Handle logical xor.

This commit is contained in:
Roberto Raggi
2010-11-30 15:47:03 +01:00
parent 5aacd95966
commit cf793418c3
5 changed files with 325 additions and 326 deletions

View File

@@ -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 '{':