]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - usr.bin/yacc/test/error.y
Copy head to stable/8 as part of 8.0 Release cycle.
[FreeBSD/stable/8.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);}