NetBSD/usr.bin/yacc/test/error.y
1993-03-21 09:45:37 +00:00

7 lines
117 B
Plaintext

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