freebsd-skq/usr.bin/yacc/test/error.y

7 lines
117 B
Plaintext
Raw Normal View History

1994-05-27 12:33:43 +00:00
%%
S: error
%%
main(){printf("yyparse() = %d\n",yyparse());}
yylex(){return-1;}
yyerror(s)char*s;{printf("%s\n",s);}