%{ %} Motvalid a[a-z]*e %% {Motvalid} { printf("Mot Valid commance par a et termine par e: %s \n",yytext); } %% int main() { yylex(); }
aiiiie aaaa eeee alabase
Standard output is empty
ERROR: /home/Z8JRHe/prog:15:0: Syntax error: Unexpected end of file ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? % Execution Aborted ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? EOF: exit