%{ #include<stdio.h> %} %% . {printf("%s",yytext);} %% void main() { printf("\nInputtt"); yylex(); } int yywrap() { return 1; }
th is hari
Standard output is empty
ERROR: /home/AJdlCa/prog:2:4: Syntax error: Operator expected ERROR: /home/AJdlCa/prog:16:0: Syntax error: Unexpected end of file ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? EOF: exit