| OLD | NEW | 
|   1 #!/usr/bin/awk |   1 #!/usr/bin/awk | 
|   2 # |   2 # | 
|   3 # This script appends additional token codes to the end of the |   3 # This script appends additional token codes to the end of the | 
|   4 # parse.h file that lemon generates.  These extra token codes are |   4 # parse.h file that lemon generates.  These extra token codes are | 
|   5 # not used by the parser.  But they are used by the tokenizer and/or |   5 # not used by the parser.  But they are used by the tokenizer and/or | 
|   6 # the code generator. |   6 # the code generator. | 
|   7 # |   7 # | 
|   8 # |   8 # | 
|   9 BEGIN { |   9 BEGIN { | 
|  10   max = 0 |  10   max = 0 | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  22   printf "#define TK_%-29s %4d\n", "END_OF_FILE",     ++max |  22   printf "#define TK_%-29s %4d\n", "END_OF_FILE",     ++max | 
|  23   printf "#define TK_%-29s %4d\n", "ILLEGAL",         ++max |  23   printf "#define TK_%-29s %4d\n", "ILLEGAL",         ++max | 
|  24   printf "#define TK_%-29s %4d\n", "SPACE",           ++max |  24   printf "#define TK_%-29s %4d\n", "SPACE",           ++max | 
|  25   printf "#define TK_%-29s %4d\n", "UNCLOSED_STRING", ++max |  25   printf "#define TK_%-29s %4d\n", "UNCLOSED_STRING", ++max | 
|  26   printf "#define TK_%-29s %4d\n", "FUNCTION",        ++max |  26   printf "#define TK_%-29s %4d\n", "FUNCTION",        ++max | 
|  27   printf "#define TK_%-29s %4d\n", "COLUMN",          ++max |  27   printf "#define TK_%-29s %4d\n", "COLUMN",          ++max | 
|  28   printf "#define TK_%-29s %4d\n", "AGG_FUNCTION",    ++max |  28   printf "#define TK_%-29s %4d\n", "AGG_FUNCTION",    ++max | 
|  29   printf "#define TK_%-29s %4d\n", "AGG_COLUMN",      ++max |  29   printf "#define TK_%-29s %4d\n", "AGG_COLUMN",      ++max | 
|  30   printf "#define TK_%-29s %4d\n", "CONST_FUNC",      ++max |  30   printf "#define TK_%-29s %4d\n", "CONST_FUNC",      ++max | 
|  31 } |  31 } | 
| OLD | NEW |