home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pccts.zip / pccts / dlg / dlg_a.c < prev    next >
C/C++ Source or Header  |  1994-03-31  |  13KB  |  753 lines

  1.  
  2. /* parser.dlg -- DLG Description of scanner
  3.  *
  4.  * Generated from: dlg_p.g
  5.  *
  6.  * Terence Parr, Will Cohen, and Hank Dietz: 1989-1994
  7.  * Purdue University Electrical Engineering
  8.  * With AHPCRC, University of Minnesota
  9.  * ANTLR Version 1.20b6
  10.  */
  11.  
  12. #include <stdio.h>
  13. #define ANTLR_VERSION    120b6
  14.  
  15. #include <ctype.h>
  16. #include "dlg.h"
  17. #ifdef MEMCHK
  18. #include "trax.h"
  19. #endif
  20. #include "antlr.h"
  21. #include "tokens.h"
  22. #include "dlgdef.h"
  23. LOOKAHEAD
  24. void zzerraction()
  25. {
  26.     (*zzerr)("invalid token");
  27.     zzadvance();
  28.     zzskip();
  29. }
  30. /*
  31.  * D L G tables
  32.  *
  33.  * Generated from: parser.dlg
  34.  *
  35.  * 1989-1994 by  Will Cohen, Terence Parr, and Hank Dietz
  36.  * Purdue University Electrical Engineering
  37.  * DLG Version 1.20
  38.  */
  39.  
  40. #include "mode.h"
  41.  
  42.  
  43.  
  44.  
  45. int    func_action;        /* should actions be turned into functions?*/
  46. int    lex_mode_counter = 0;    /* keeps track of the number of %%names */
  47.  
  48. static void act1()
  49.         NLA = 1;
  50.     }
  51.  
  52.  
  53. static void act2()
  54.         zzskip();   
  55.         NLA = 2;
  56.     }
  57.  
  58.  
  59. static void act3()
  60.         zzline++; zzskip();   
  61.         NLA = 3;
  62.     }
  63.  
  64.  
  65. static void act4()
  66.         NLA = L_EOF;
  67.     }
  68.  
  69.  
  70. static void act5()
  71.         NLA = PER_PER;
  72.     }
  73.  
  74.  
  75. static void act6()
  76.         p_mode_def(&zzlextext[2],lex_mode_counter++);   
  77.         NLA = NAME_PER_PER;
  78.     }
  79.  
  80.  
  81. static void act7()
  82.         if (func_action)
  83.         fprintf(OUT,"\n%s %sact%d()\n{ ",
  84.         gen_cpp?"TokenType":"static void",
  85.         gen_cpp?ClassName("::"):"", ++action_no);
  86.         zzmode(ACT); zzskip();
  87.         NLA = ACTION;
  88.     }
  89.  
  90.  
  91. static void act8()
  92.         NLA = GREAT_GREAT;
  93.     }
  94.  
  95.  
  96. static void act9()
  97.         NLA = L_BRACE;
  98.     }
  99.  
  100.  
  101. static void act10()
  102.         NLA = R_BRACE;
  103.     }
  104.  
  105.  
  106. static void act11()
  107.         NLA = L_PAR;
  108.     }
  109.  
  110.  
  111. static void act12()
  112.         NLA = R_PAR;
  113.     }
  114.  
  115.  
  116. static void act13()
  117.         NLA = L_BRACK;
  118.     }
  119.  
  120.  
  121. static void act14()
  122.         NLA = R_BRACK;
  123.     }
  124.  
  125.  
  126. static void act15()
  127.         NLA = ZERO_MORE;
  128.     }
  129.  
  130.  
  131. static void act16()
  132.         NLA = ONE_MORE;
  133.     }
  134.  
  135.  
  136. static void act17()
  137.         NLA = OR;
  138.     }
  139.  
  140.  
  141. static void act18()
  142.         NLA = RANGE;
  143.     }
  144.  
  145.  
  146. static void act19()
  147.         NLA = NOT;
  148.     }
  149.  
  150.  
  151. static void act20()
  152.         {int t; sscanf(&zzlextext[1],"%o",&t); zzlextext[0] = t;}  
  153.         NLA = OCTAL_VALUE;
  154.     }
  155.  
  156.  
  157. static void act21()
  158.         {int t; sscanf(&zzlextext[3],"%x",&t); zzlextext[0] = t;}  
  159.         NLA = HEX_VALUE;
  160.     }
  161.  
  162.  
  163. static void act22()
  164.         {int t; sscanf(&zzlextext[1],"%d",&t); zzlextext[0] = t;}  
  165.         NLA = DEC_VALUE;
  166.     }
  167.  
  168.  
  169. static void act23()
  170.         zzlextext[0] = '\t';  
  171.         NLA = TAB;
  172.     }
  173.  
  174.  
  175. static void act24()
  176.         zzlextext[0] = '\n';  
  177.         NLA = NL;
  178.     }
  179.  
  180.  
  181. static void act25()
  182.         zzlextext[0] = '\r';  
  183.         NLA = CR;
  184.     }
  185.  
  186.  
  187. static void act26()
  188.         zzlextext[0] = '\b';  
  189.         NLA = BS;
  190.     }
  191.  
  192.  
  193. static void act27()
  194.         zzlextext[0] = zzlextext[1];  
  195.         NLA = LIT;
  196.     }
  197.  
  198.  
  199. static void act28()
  200.         NLA = REGCHAR;
  201.     }
  202.  
  203. static unsigned char shift0[257] = {
  204.   0, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  205.   1, 2, 29, 29, 1, 29, 29, 29, 29, 29, 
  206.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  207.   29, 29, 29, 1, 29, 29, 29, 29, 4, 29, 
  208.   29, 19, 20, 23, 24, 29, 26, 29, 29, 12, 
  209.   13, 13, 13, 13, 13, 13, 13, 14, 14, 29, 
  210.   29, 15, 29, 16, 29, 3, 7, 7, 7, 7, 
  211.   7, 7, 11, 11, 11, 11, 11, 11, 11, 11, 
  212.   11, 11, 11, 11, 11, 11, 11, 11, 11, 5, 
  213.   11, 11, 21, 28, 22, 29, 11, 29, 7, 6, 
  214.   7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 
  215.   11, 9, 11, 11, 11, 10, 11, 8, 11, 11, 
  216.   11, 5, 11, 11, 17, 25, 18, 27, 29, 29, 
  217.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  218.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  219.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  220.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  221.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  222.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  223.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  224.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  225.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  226.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  227.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  228.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  229.   29, 29, 29, 29, 29, 29, 29
  230. };
  231.  
  232.  
  233. static void act29()
  234.         error("unterminated action", zzline); zzmode(START);   
  235.         NLA = 1;
  236.     }
  237.  
  238.  
  239. static void act30()
  240.         if (func_action) fprintf(OUT,"}\n\n");
  241.         zzmode(START);
  242.         NLA = ACTION;
  243.     }
  244.  
  245.  
  246. static void act31()
  247.         putc(zzlextext[0], OUT); zzskip();   
  248.         NLA = 29;
  249.     }
  250.  
  251.  
  252. static void act32()
  253.         putc('>', OUT); zzskip();   
  254.         NLA = 30;
  255.     }
  256.  
  257.  
  258. static void act33()
  259.         putc('\\', OUT); zzskip();   
  260.         NLA = 31;
  261.     }
  262.  
  263.  
  264. static void act34()
  265.         putc(zzlextext[0], OUT); ++zzline; zzskip();   
  266.         NLA = 32;
  267.     }
  268.  
  269.  
  270. static void act35()
  271.         fprintf(OUT, "%s", &(zzlextext[0])); zzskip();   
  272.         NLA = 33;
  273.     }
  274.  
  275. static unsigned char shift1[257] = {
  276.   0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  277.   4, 3, 4, 4, 4, 4, 4, 4, 4, 4, 
  278.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  279.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  280.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  281.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  282.   4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 
  283.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  284.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  285.   4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 
  286.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  287.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  288.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  289.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  290.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  291.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  292.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  293.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  294.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  295.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  296.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  297.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  298.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  299.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  300.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  301.   4, 4, 4, 4, 4, 4, 4
  302. };
  303.  
  304. #define DfaStates    46
  305. typedef unsigned char DfaState;
  306.  
  307. static DfaState st0[31] = {
  308.   1, 2, 3, 4, 5, 6, 6, 6, 6, 6, 
  309.   6, 6, 6, 6, 6, 7, 8, 9, 10, 11, 
  310.   12, 13, 14, 15, 16, 17, 18, 19, 20, 6, 
  311.   46
  312. };
  313.  
  314. static DfaState st1[31] = {
  315.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  316.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  317.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  318.   46
  319. };
  320.  
  321. static DfaState st2[31] = {
  322.   46, 21, 46, 46, 46, 46, 46, 46, 46, 46, 
  323.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  324.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  325.   46
  326. };
  327.  
  328. static DfaState st3[31] = {
  329.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  330.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  331.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  332.   46
  333. };
  334.  
  335. static DfaState st4[31] = {
  336.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  337.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  338.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  339.   46
  340. };
  341.  
  342. static DfaState st5[31] = {
  343.   46, 46, 46, 46, 22, 46, 46, 46, 46, 46, 
  344.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  345.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  346.   46
  347. };
  348.  
  349. static DfaState st6[31] = {
  350.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  351.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  352.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  353.   46
  354. };
  355.  
  356. static DfaState st7[31] = {
  357.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  358.   46, 46, 46, 46, 46, 23, 46, 46, 46, 46, 
  359.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  360.   46
  361. };
  362.  
  363. static DfaState st8[31] = {
  364.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  365.   46, 46, 46, 46, 46, 46, 24, 46, 46, 46, 
  366.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  367.   46
  368. };
  369.  
  370. static DfaState st9[31] = {
  371.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  372.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  373.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  374.   46
  375. };
  376.  
  377. static DfaState st10[31] = {
  378.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  379.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  380.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  381.   46
  382. };
  383.  
  384. static DfaState st11[31] = {
  385.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  386.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  387.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  388.   46
  389. };
  390.  
  391. static DfaState st12[31] = {
  392.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  393.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  394.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  395.   46
  396. };
  397.  
  398. static DfaState st13[31] = {
  399.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  400.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  401.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  402.   46
  403. };
  404.  
  405. static DfaState st14[31] = {
  406.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  407.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  408.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  409.   46
  410. };
  411.  
  412. static DfaState st15[31] = {
  413.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  414.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  415.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  416.   46
  417. };
  418.  
  419. static DfaState st16[31] = {
  420.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  421.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  422.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  423.   46
  424. };
  425.  
  426. static DfaState st17[31] = {
  427.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  428.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  429.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  430.   46
  431. };
  432.  
  433. static DfaState st18[31] = {
  434.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  435.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  436.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  437.   46
  438. };
  439.  
  440. static DfaState st19[31] = {
  441.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  442.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  443.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  444.   46
  445. };
  446.  
  447. static DfaState st20[31] = {
  448.   46, 25, 25, 25, 25, 25, 26, 25, 27, 28, 
  449.   29, 25, 30, 31, 31, 25, 25, 25, 25, 25, 
  450.   25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 
  451.   46
  452. };
  453.  
  454. static DfaState st21[31] = {
  455.   46, 21, 46, 46, 46, 46, 46, 46, 46, 46, 
  456.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  457.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  458.   46
  459. };
  460.  
  461. static DfaState st22[31] = {
  462.   46, 46, 46, 46, 46, 32, 32, 32, 32, 32, 
  463.   32, 32, 46, 46, 46, 46, 46, 46, 46, 46, 
  464.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  465.   46
  466. };
  467.  
  468. static DfaState st23[31] = {
  469.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  470.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  471.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  472.   46
  473. };
  474.  
  475. static DfaState st24[31] = {
  476.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  477.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  478.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  479.   46
  480. };
  481.  
  482. static DfaState st25[31] = {
  483.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  484.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  485.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  486.   46
  487. };
  488.  
  489. static DfaState st26[31] = {
  490.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  491.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  492.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  493.   46
  494. };
  495.  
  496. static DfaState st27[31] = {
  497.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  498.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  499.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  500.   46
  501. };
  502.  
  503. static DfaState st28[31] = {
  504.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  505.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  506.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  507.   46
  508. };
  509.  
  510. static DfaState st29[31] = {
  511.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  512.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  513.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  514.   46
  515. };
  516.  
  517. static DfaState st30[31] = {
  518.   46, 46, 46, 46, 46, 33, 46, 46, 46, 46, 
  519.   46, 46, 34, 34, 46, 46, 46, 46, 46, 46, 
  520.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  521.   46
  522. };
  523.  
  524. static DfaState st31[31] = {
  525.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  526.   46, 46, 35, 35, 35, 46, 46, 46, 46, 46, 
  527.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  528.   46
  529. };
  530.  
  531. static DfaState st32[31] = {
  532.   46, 46, 46, 46, 46, 36, 36, 36, 36, 36, 
  533.   36, 36, 36, 36, 36, 46, 46, 46, 46, 46, 
  534.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  535.   46
  536. };
  537.  
  538. static DfaState st33[31] = {
  539.   46, 46, 46, 46, 46, 46, 37, 37, 46, 46, 
  540.   46, 46, 37, 37, 37, 46, 46, 46, 46, 46, 
  541.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  542.   46
  543. };
  544.  
  545. static DfaState st34[31] = {
  546.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  547.   46, 46, 34, 34, 46, 46, 46, 46, 46, 46, 
  548.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  549.   46
  550. };
  551.  
  552. static DfaState st35[31] = {
  553.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  554.   46, 46, 35, 35, 35, 46, 46, 46, 46, 46, 
  555.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  556.   46
  557. };
  558.  
  559. static DfaState st36[31] = {
  560.   46, 46, 46, 46, 46, 36, 36, 36, 36, 36, 
  561.   36, 36, 36, 36, 36, 46, 46, 46, 46, 46, 
  562.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  563.   46
  564. };
  565.  
  566. static DfaState st37[31] = {
  567.   46, 46, 46, 46, 46, 46, 37, 37, 46, 46, 
  568.   46, 46, 37, 37, 37, 46, 46, 46, 46, 46, 
  569.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  570.   46
  571. };
  572.  
  573. static DfaState st38[6] = {
  574.   39, 40, 41, 42, 43, 46
  575. };
  576.  
  577. static DfaState st39[6] = {
  578.   46, 46, 46, 46, 46, 46
  579. };
  580.  
  581. static DfaState st40[6] = {
  582.   46, 44, 46, 46, 46, 46
  583. };
  584.  
  585. static DfaState st41[6] = {
  586.   46, 45, 46, 46, 46, 46
  587. };
  588.  
  589. static DfaState st42[6] = {
  590.   46, 46, 46, 46, 46, 46
  591. };
  592.  
  593. static DfaState st43[6] = {
  594.   46, 46, 46, 46, 43, 46
  595. };
  596.  
  597. static DfaState st44[6] = {
  598.   46, 46, 46, 46, 46, 46
  599. };
  600.  
  601. static DfaState st45[6] = {
  602.   46, 46, 46, 46, 46, 46
  603. };
  604.  
  605.  
  606. DfaState *dfa[46] = {
  607.     st0,
  608.     st1,
  609.     st2,
  610.     st3,
  611.     st4,
  612.     st5,
  613.     st6,
  614.     st7,
  615.     st8,
  616.     st9,
  617.     st10,
  618.     st11,
  619.     st12,
  620.     st13,
  621.     st14,
  622.     st15,
  623.     st16,
  624.     st17,
  625.     st18,
  626.     st19,
  627.     st20,
  628.     st21,
  629.     st22,
  630.     st23,
  631.     st24,
  632.     st25,
  633.     st26,
  634.     st27,
  635.     st28,
  636.     st29,
  637.     st30,
  638.     st31,
  639.     st32,
  640.     st33,
  641.     st34,
  642.     st35,
  643.     st36,
  644.     st37,
  645.     st38,
  646.     st39,
  647.     st40,
  648.     st41,
  649.     st42,
  650.     st43,
  651.     st44,
  652.     st45
  653. };
  654.  
  655.  
  656. DfaState accepts[47] = {
  657.   0, 1, 2, 3, 4, 28, 28, 28, 28, 9, 
  658.   10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 
  659.   0, 2, 5, 7, 8, 27, 26, 23, 24, 25, 
  660.   20, 22, 6, 0, 20, 22, 6, 21, 0, 29, 
  661.   31, 33, 34, 35, 30, 32, 0
  662. };
  663.  
  664. void (*actions[36])() = {
  665.     zzerraction,
  666.     act1,
  667.     act2,
  668.     act3,
  669.     act4,
  670.     act5,
  671.     act6,
  672.     act7,
  673.     act8,
  674.     act9,
  675.     act10,
  676.     act11,
  677.     act12,
  678.     act13,
  679.     act14,
  680.     act15,
  681.     act16,
  682.     act17,
  683.     act18,
  684.     act19,
  685.     act20,
  686.     act21,
  687.     act22,
  688.     act23,
  689.     act24,
  690.     act25,
  691.     act26,
  692.     act27,
  693.     act28,
  694.     act29,
  695.     act30,
  696.     act31,
  697.     act32,
  698.     act33,
  699.     act34,
  700.     act35
  701. };
  702.  
  703. static DfaState dfa_base[] = {
  704.     0,
  705.     38
  706. };
  707.  
  708. static unsigned char *b_class_no[] = {
  709.     shift0,
  710.     shift1
  711. };
  712.  
  713.  
  714.  
  715. #define ZZSHIFT(c) (b_class_no[zzauto][1+c])
  716. #define MAX_MODE 2
  717. #include "dlgauto.h"
  718.