[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.19 and 1.20

version 1.19, 2020/06/13 01:21:01 version 1.20, 2020/07/30 17:45:44
Line 26 
Line 26 
 /*  /*
  * this program makes the table to link function names   * this program makes the table to link function names
  * and type indices that is used by execute() in run.c.   * and type indices that is used by execute() in run.c.
  * it finds the indices in ytab.h, produced by yacc.   * it finds the indices in awkgram.tab.h, produced by bison.
  */   */
   
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include "awk.h"  #include "awk.h"
 #include "ytab.h"  #include "awkgram.tab.h"
   
 struct xx  struct xx
 {       int token;  {       int token;
Line 124 
Line 124 
   
         printf("#include <stdio.h>\n");          printf("#include <stdio.h>\n");
         printf("#include \"awk.h\"\n");          printf("#include \"awk.h\"\n");
         printf("#include \"ytab.h\"\n\n");          printf("#include \"awkgram.tab.h\"\n\n");
   
         if (argc != 2) {          if (argc != 2) {
                 fprintf(stderr, "usage: maketab YTAB_H\n");                  fprintf(stderr, "usage: maketab YTAB_H\n");

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20