File: error.y

package info (click to toggle)
btyacc 3.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 828 kB
  • sloc: ansic: 6,566; yacc: 878; makefile: 69; sh: 12
file content (6 lines) | stat: -rw-r--r-- 117 bytes parent folder | download | duplicates (37)
1
2
3
4
5
6
%%
S: error
%%
main(){printf("yyparse() = %d\n",yyparse());}
yylex(){return-1;}
yyerror(s)char*s;{printf("%s\n",s);}