Posted By

soulcorrea on 09/06/07


Tagged

textmate yacc


Versions (?)

YY Parse Main


 / Published in: Other
 

  1. extern FILE *yyin;
  2.  
  3. main() {
  4. do {
  5. yyparse();
  6. } while(!feof(yyin));
  7. }
  8.  
  9. yyerror(s)
  10. char *s;
  11. {
  12. fprintf(stderr, "%sn", s);
  13. }
  14.  

Report this snippet  

You need to login to post a comment.