{% #include<stdio.h> int l=0; %} %% \n {l++}; . ; %% main() { yylex() printf("total lines %d",l); }
Standard input is empty
Standard output is empty
ERROR: /home/TnEFXH/prog:2:0: Syntax error: Operator expected ERROR: /home/TnEFXH/prog:13:0: Syntax error: Unexpected end of file ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? EOF: exit