minix/commands/yacc/test/error.y
2010-05-12 16:28:54 +00:00

6 lines
117 B
Text

%%
S: error
%%
main(){printf("yyparse() = %d\n",yyparse());}
yylex(){return-1;}
yyerror(s)char*s;{printf("%s\n",s);}