6 lines
109 B
Plaintext
6 lines
109 B
Plaintext
%lexer // for Program 4.2
|
|
"+" %PLUS
|
|
"-" %MINUS
|
|
"*" %TIMES
|
|
[0-9]+ %INT { yylval = Int32.Parse(yytext); }
|