File: error.y

package info (click to toggle)
byacc 20050813-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 740 kB
  • ctags: 943
  • sloc: ansic: 6,051; sh: 2,838; yacc: 1,927; makefile: 150
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);}