%{ #include.<studio.h> %} %% . printf("hello class"); [0-9] %% int yywrap() { return 1; } int main() { yylex(); printf("hello class"); return 0; }
123
Standard output is empty
ERROR: /home/PnZ0t4/prog:2:1: Syntax error: Operator expected ERROR: /home/PnZ0t4/prog:24:1: Syntax error: Unexpected end of file ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? EOF: exit