minix/commands/yacc/test/error.y

7 lines
117 B
Text
Raw Normal View History

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