[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.17 and 1.18

version 1.17, 2001/07/16 06:29:45 version 1.18, 2001/11/19 19:02:18
Line 193 
Line 193 
     "yyparse()",      "yyparse()",
     "#endif",      "#endif",
     "{",      "{",
     "    register int yym, yyn, yystate;",      "    int yym, yyn, yystate;",
     "#if YYDEBUG",      "#if YYDEBUG",
     "#if defined(__cplusplus) || __STDC__",      "#if defined(__cplusplus) || __STDC__",
     "    register const char *yys;",      "    const char *yys;",
     "#else /* !(defined(__cplusplus) || __STDC__) */",      "#else /* !(defined(__cplusplus) || __STDC__) */",
     "    register char *yys;",      "    char *yys;",
     "#endif /* !(defined(__cplusplus) || __STDC__) */",      "#endif /* !(defined(__cplusplus) || __STDC__) */",
     "",      "",
     "    if ((yys = getenv(\"YYDEBUG\")))",      "    if ((yys = getenv(\"YYDEBUG\")))",
Line 402 
Line 402 
 write_section(section)  write_section(section)
 char *section[];  char *section[];
 {  {
     register int c;      int c;
     register int i;      int i;
     register char *s;      char *s;
     register FILE *f;      FILE *f;
   
     f = code_file;      f = code_file;
     for (i = 0; (s = section[i]); ++i)      for (i = 0; (s = section[i]); ++i)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18