%option noyywrap %{ #include<stdio.h> %} %% . ECHO; %% int main(){ yylex(); return 0; }
run run ddfdf
Standard output is empty
ERROR: /home/7LNqWm/prog:3:5: Syntax error: Operator expected ERROR: /home/7LNqWm/prog:12:0: Syntax error: Unexpected end of file ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? Call: (3) program ? ERROR: Can't retry at this port ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? Exception: (3) ... ? EOF: exit