%%writefile program.l %{ #include "y.tab.h" %} %% [a-zA-Z] {return LETTER;} [0-9] {return DIGIT;} [_] {return UND;} . {return yytext[0];} %%
Standard input is empty
Standard output is empty
ERROR: /home/slmtRf/prog:4:5: Syntax error: Operator expected ERROR: /home/slmtRf/prog:12:1: Syntax error: Unexpected end of file ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? EOF: exit