[BACK]Return to skeleton.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / yacc

Diff for /src/usr.bin/yacc/skeleton.c between version 1.4 and 1.5

version 1.4, 1996/04/21 23:45:21 version 1.5, 1996/05/20 07:31:54
Line 130 
Line 130 
 char *body[] =  char *body[] =
 {  {
     "/* allocate initial stack or double stack size, up to YYMAXDEPTH */",      "/* allocate initial stack or double stack size, up to YYMAXDEPTH */",
       "#if defined(__cplusplus) || __STDC__",
       "static int yygrowstack(void)",
       "#else",
     "static int yygrowstack()",      "static int yygrowstack()",
       "#endif",
     "{",      "{",
     "    int newsize, i;",      "    int newsize, i;",
     "    short *newss;",      "    short *newss;",
Line 161 
Line 165 
     "#define YYACCEPT goto yyaccept",      "#define YYACCEPT goto yyaccept",
     "#define YYERROR goto yyerrlab",      "#define YYERROR goto yyerrlab",
     "int",      "int",
       "#if defined(__cplusplus) || __STDC__",
       "yyparse(void)",
       "#else",
     "yyparse()",      "yyparse()",
       "#endif",
     "{",      "{",
     "    register int yym, yyn, yystate;",      "    register int yym, yyn, yystate;",
     "#if YYDEBUG",      "#if YYDEBUG",

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5