skip whitespaces in lex
This commit is contained in:
@@ -14,6 +14,7 @@ struct parser_control {
|
||||
|
||||
%%
|
||||
|
||||
[ \t\n\r] /* skip whitespace */
|
||||
"(" return tLPAREN;
|
||||
")" return tRPAREN;
|
||||
[1-9][0-9]* { yylval.datum = pic_int_value(atoi(yytext)); return tINT; }
|
||||
|
||||
Reference in New Issue
Block a user