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

Diff for /src/usr.bin/yacc/output.c between version 1.13 and 1.14

version 1.13, 2004/08/08 20:13:13 version 1.14, 2005/06/10 16:40:45
Line 891 
Line 891 
   
     if (!isalpha(c) && c != '_' && c != '$')      if (!isalpha(c) && c != '_' && c != '$')
         return (0);          return (0);
     while (c = *++s)      while ((c = *++s))
     {      {
         if (!isalnum(c) && c != '_' && c != '$')          if (!isalnum(c) && c != '_' && c != '$')
             return (0);              return (0);
Line 929 
Line 929 
                     putc(c, code_file);                      putc(c, code_file);
                     if (dflag) putc(c, defines_file);                      if (dflag) putc(c, defines_file);
                 }                  }
                 while (c = *++s);                  while ((c = *++s));
             }              }
             ++outline;              ++outline;
             fprintf(code_file, " %d\n", symbol_value[i]);              fprintf(code_file, " %d\n", symbol_value[i]);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14