]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - usr.bin/yacc/test/error.y
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / usr.bin / yacc / test / error.y
1 %%
2 S: error
3 %%
4 main(){printf("yyparse() = %d\n",yyparse());}
5 yylex(){return-1;}
6 yyerror(s)char*s;{printf("%s\n",s);}