diff options
Diffstat (limited to 'c_parser/src/c_lexer.flex')
-rw-r--r-- | c_parser/src/c_lexer.flex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c_parser/src/c_lexer.flex b/c_parser/src/c_lexer.flex index ba19cd5..59a48e7 100644 --- a/c_parser/src/c_lexer.flex +++ b/c_parser/src/c_lexer.flex @@ -42,9 +42,9 @@ const|volatile { return T_TYPE_QUAL; } {IDENTIFIER} { yylval.string = new std::string(yytext); return T_IDENTIFIER; } -; { return T_SC; } -= { return T_EQ; } -, { return T_CMA; } +[;] { return T_SC; } +[=] { return T_EQ; } +[,] { return T_CMA; } [(] { return T_LRB; } [)] { return T_RRB; } [{] { return T_LCB; } |