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

Diff for /src/usr.bin/awk/maketab.c between version 1.14 and 1.15

version 1.14, 2020/06/10 21:01:50 version 1.15, 2020/06/10 21:02:33
Line 160 
Line 160 
                 table[p->token-FIRSTTOKEN] = p->name;                  table[p->token-FIRSTTOKEN] = p->name;
         printf("\nCell *(*proctab[%d])(Node **, int) = {\n", SIZE);          printf("\nCell *(*proctab[%d])(Node **, int) = {\n", SIZE);
         for (i=0; i<SIZE; i++)          for (i=0; i<SIZE; i++)
                 if (table[i]==0)                  if (table[i]==NULL)
                         printf("\tnullproc,\t/* %s */\n", names[i]);                          printf("\tnullproc,\t/* %s */\n", names[i]);
                 else                  else
                         printf("\t%s,\t/* %s */\n", table[i], names[i]);                          printf("\t%s,\t/* %s */\n", table[i], names[i]);

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