freebsd-nq/usr.bin/yacc/test/error.y
1994-05-27 12:33:43 +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);}