NetBSD/usr.bin/yacc/test/error.y

7 lines
117 B
Plaintext
Raw Normal View History

1993-03-21 12:45:37 +03:00
%%
S: error
%%
main(){printf("yyparse() = %d\n",yyparse());}
yylex(){return-1;}
yyerror(s)char*s;{printf("%s\n",s);}