Now lexical analyzer skips lines starting with #
to kill off remnants of some preprocessor.
This commit is contained in:
parent
3287090f5b
commit
6b9a8d8685
1 changed files with 1 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ return return(RETURN);
|
||||||
yylval.yy_string = scopy(yytext);
|
yylval.yy_string = scopy(yytext);
|
||||||
return(tipe);
|
return(tipe);
|
||||||
}
|
}
|
||||||
|
^\#.*$ |
|
||||||
[ \t]* |
|
[ \t]* |
|
||||||
\n ;
|
\n ;
|
||||||
. return(yytext[0]);
|
. return(yytext[0]);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue