fork download
  1. %{
  2. #include "y.tab.h"
  3.  
  4. %}
  5. %%
  6. [a-zA-Z] {return ALPHA; }
  7. [0-9] {return DIGIT; }
  8. \n {return 0; }
  9. . {return yytext[0]}
  10. %%
  11. int yywrap()
  12. {
  13. return 1;
  14. }
Success #stdin #stdout #stderr 0.02s 6976KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
ERROR: /home/0ZH8mp/prog:2:9: Syntax error: Operator expected
ERROR: /home/0ZH8mp/prog:14:0: Syntax error: Unexpected end of file
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ? EOF: exit