aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/src/c_lexer.flex
diff options
context:
space:
mode:
Diffstat (limited to 'c_parser/src/c_lexer.flex')
-rw-r--r--c_parser/src/c_lexer.flex4
1 files changed, 0 insertions, 4 deletions
diff --git a/c_parser/src/c_lexer.flex b/c_parser/src/c_lexer.flex
index 49997ed..96f6f26 100644
--- a/c_parser/src/c_lexer.flex
+++ b/c_parser/src/c_lexer.flex
@@ -42,10 +42,6 @@ ALL .
; { return T_SC; }
-{OPERATOR} { yylval.string = new std::string(yytext); return T_OPERATOR; }
-
-({HEXCONSTANT}|{OCTALCONSTANT}|{DECIMALCONSTANT})|{INTEGERSUFFIX}? { yylval.number=strtod(yytext, 0); return T_CONSTANT; }
-
{WHITESPACE} { ; }
. { fprintf(stderr, "Invalid token\n"); exit(1); }