home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.7z / ftp.whtech.com / emulators / v9t9 / linux / sources / V9t9 / source / command.y.output < prev    next >
Encoding:
Text File  |  2006-10-19  |  46.3 KB  |  2,048 lines

  1.  
  2.  
  3. Terminals which are not used:
  4.  
  5.    NEG
  6.  
  7.  
  8. State 1 contains 5 shift/reduce conflicts.
  9. State 9 contains 1 shift/reduce conflict.
  10. State 12 contains 1 shift/reduce conflict.
  11. State 15 contains 2 reduce/reduce conflicts.
  12. State 22 contains 1 shift/reduce conflict.
  13. State 31 contains 1 shift/reduce conflict.
  14. State 44 contains 1 shift/reduce conflict.
  15. State 69 contains 1 shift/reduce conflict.
  16. State 85 contains 1 shift/reduce conflict.
  17. State 86 contains 1 shift/reduce conflict.
  18. State 92 contains 1 shift/reduce conflict.
  19. State 96 contains 1 shift/reduce conflict.
  20.  
  21. Grammar
  22. rule 1    input ->        /* empty */
  23. rule 2    input -> input line
  24. rule 3    eol -> ';'
  25. rule 4    eol -> '\n'
  26. rule 5    line ->        /* empty */
  27. rule 6    line -> assignstmt
  28. rule 7    line -> printstmt
  29. rule 8    line -> eol
  30. rule 9    printstmt -> PRINT printexprlist
  31. rule 10   printexprlist ->        /* empty */
  32. rule 11   printexprlist -> printexprlist expr
  33. rule 12   expr -> assign
  34. rule 13   id -> IDSTRING
  35. rule 14   assignstmt -> id '=' comma
  36. rule 15   assignstmt -> assignline
  37. rule 16   assignline -> id expr expr expr expr expr expr
  38. rule 17   assignline -> id expr expr expr expr expr
  39. rule 18   assignline -> id expr expr expr expr
  40. rule 19   assignline -> id expr expr expr
  41. rule 20   assignline -> id expr expr
  42. rule 21   assignline -> id expr
  43. rule 22   assignline -> id
  44. rule 23   comma -> cond
  45. rule 24   comma -> comma ',' cond
  46. rule 25   assign -> id '=' assign
  47. rule 26   assign -> cond
  48. rule 27   cond -> logcond
  49. rule 28   cond -> logcond '?' expr ':' cond
  50. rule 29   logcond -> binlogcond
  51. rule 30   logcond -> logcond COMPAND binlogcond
  52. rule 31   logcond -> logcond COMPOR binlogcond
  53. rule 32   logcond -> logcond COMPXOR binlogcond
  54. rule 33   binlogcond -> compeq
  55. rule 34   binlogcond -> binlogcond '&' compeq
  56. rule 35   binlogcond -> binlogcond '|' compeq
  57. rule 36   binlogcond -> binlogcond '^' compeq
  58. rule 37   compeq -> comp
  59. rule 38   compeq -> compeq COMPEQ comp
  60. rule 39   compeq -> compeq COMPNE comp
  61. rule 40   comp -> shift
  62. rule 41   comp -> comp COMPLE shift
  63. rule 42   comp -> comp COMPGE shift
  64. rule 43   comp -> comp '>' shift
  65. rule 44   comp -> comp '<' shift
  66. rule 45   shift -> factor
  67. rule 46   shift -> shift LSHIFT factor
  68. rule 47   shift -> shift RSHIFT factor
  69. rule 48   factor -> term
  70. rule 49   factor -> factor '+' term
  71. rule 50   factor -> factor '-' term
  72. rule 51   term -> unary
  73. rule 52   term -> term '*' unary
  74. rule 53   term -> term '/' unary
  75. rule 54   unary -> atom
  76. rule 55   unary -> '-' unary
  77. rule 56   unary -> '!' unary
  78. rule 57   unary -> '~' unary
  79. rule 58   atom -> ERR
  80. rule 59   atom -> NUM
  81. rule 60   atom -> STRING
  82. rule 61   atom -> IDSTRING
  83. rule 62   atom -> id '(' expr ')'
  84. rule 63   atom -> id '(' expr ',' expr ')'
  85. rule 64   atom -> id '(' expr ',' expr ',' expr ')'
  86. rule 65   atom -> id '(' expr ',' expr ',' expr ',' expr ')'
  87. rule 66   atom -> id '(' expr ',' expr ',' expr ',' expr ',' expr ')'
  88. rule 67   atom -> id '(' expr ',' expr ',' expr ',' expr ',' expr ',' expr ')'
  89. rule 68   atom -> '(' id ')'
  90. rule 69   atom -> '(' expr ')'
  91.  
  92. Terminals, with rules where they appear
  93.  
  94. $ (-1)
  95. '\n' (10) 4
  96. '!' (33) 56
  97. '&' (38) 34
  98. '(' (40) 62 63 64 65 66 67 68 69
  99. ')' (41) 62 63 64 65 66 67 68 69
  100. '*' (42) 52
  101. '+' (43) 49
  102. ',' (44) 24 63 64 65 66 67
  103. '-' (45) 50 55
  104. '/' (47) 53
  105. ':' (58) 28
  106. ';' (59) 3
  107. '<' (60) 44
  108. '=' (61) 14 25
  109. '>' (62) 43
  110. '?' (63) 28
  111. '^' (94) 36
  112. '|' (124) 35
  113. '~' (126) 57
  114. error (256)
  115. NUM (257) 59
  116. STRING (258) 60
  117. IDSTRING (259) 13 61
  118. ERR (260) 58
  119. LSHIFT (261) 46
  120. RSHIFT (262) 47
  121. COMPLE (263) 41
  122. COMPGE (264) 42
  123. COMPEQ (265) 38
  124. COMPNE (266) 39
  125. COMPAND (267) 30
  126. COMPOR (268) 31
  127. COMPXOR (269) 32
  128. PRINT (270) 9
  129. NEG (271)
  130.  
  131. Nonterminals, with rules where they appear
  132.  
  133. input (37)
  134.     on left: 1 2, on right: 2
  135. eol (38)
  136.     on left: 3 4, on right: 8
  137. line (39)
  138.     on left: 5 6 7 8, on right: 2
  139. printstmt (40)
  140.     on left: 9, on right: 7
  141. printexprlist (41)
  142.     on left: 10 11, on right: 9 11
  143. expr (42)
  144.     on left: 12, on right: 11 16 17 18 19 20 21 28 62 63 64 65 66 67
  145.     69
  146. id (43)
  147.     on left: 13, on right: 14 16 17 18 19 20 21 22 25 62 63 64 65 66
  148.     67 68
  149. assignstmt (44)
  150.     on left: 14 15, on right: 6
  151. assignline (45)
  152.     on left: 16 17 18 19 20 21 22, on right: 15
  153. comma (46)
  154.     on left: 23 24, on right: 14 24
  155. assign (47)
  156.     on left: 25 26, on right: 12 25
  157. cond (48)
  158.     on left: 27 28, on right: 23 24 26 28
  159. logcond (49)
  160.     on left: 29 30 31 32, on right: 27 28 30 31 32
  161. binlogcond (50)
  162.     on left: 33 34 35 36, on right: 29 30 31 32 34 35 36
  163. compeq (51)
  164.     on left: 37 38 39, on right: 33 34 35 36 38 39
  165. comp (52)
  166.     on left: 40 41 42 43 44, on right: 37 38 39 41 42 43 44
  167. shift (53)
  168.     on left: 45 46 47, on right: 40 41 42 43 44 46 47
  169. factor (54)
  170.     on left: 48 49 50, on right: 45 46 47 49 50
  171. term (55)
  172.     on left: 51 52 53, on right: 48 49 50 52 53
  173. unary (56)
  174.     on left: 54 55 56 57, on right: 51 52 53 55 56 57
  175. atom (57)
  176.     on left: 58 59 60 61 62 63 64 65 66 67 68 69, on right: 54
  177.  
  178.  
  179. state 0
  180.  
  181.     $default    reduce using rule 1 (input)
  182.  
  183.     input    go to state 1
  184.  
  185.  
  186.  
  187. state 1
  188.  
  189.     input  ->  input . line   (rule 2)
  190.  
  191.     $       go to state 113
  192.     IDSTRING    shift, and go to state 2
  193.     PRINT    shift, and go to state 3
  194.     ';'     shift, and go to state 4
  195.     '\n'    shift, and go to state 5
  196.  
  197.     $       [reduce using rule 5 (line)]
  198.     IDSTRING    [reduce using rule 5 (line)]
  199.     PRINT    [reduce using rule 5 (line)]
  200.     ';'     [reduce using rule 5 (line)]
  201.     '\n'    [reduce using rule 5 (line)]
  202.     $default    reduce using rule 5 (line)
  203.  
  204.     eol     go to state 6
  205.     line    go to state 7
  206.     printstmt    go to state 8
  207.     id      go to state 9
  208.     assignstmt    go to state 10
  209.     assignline    go to state 11
  210.  
  211.  
  212.  
  213. state 2
  214.  
  215.     id  ->  IDSTRING .   (rule 13)
  216.  
  217.     $default    reduce using rule 13 (id)
  218.  
  219.  
  220.  
  221. state 3
  222.  
  223.     printstmt  ->  PRINT . printexprlist   (rule 9)
  224.  
  225.     $default    reduce using rule 10 (printexprlist)
  226.  
  227.     printexprlist    go to state 12
  228.  
  229.  
  230.  
  231. state 4
  232.  
  233.     eol  ->  ';' .   (rule 3)
  234.  
  235.     $default    reduce using rule 3 (eol)
  236.  
  237.  
  238.  
  239. state 5
  240.  
  241.     eol  ->  '\n' .   (rule 4)
  242.  
  243.     $default    reduce using rule 4 (eol)
  244.  
  245.  
  246.  
  247. state 6
  248.  
  249.     line  ->  eol .   (rule 8)
  250.  
  251.     $default    reduce using rule 8 (line)
  252.  
  253.  
  254.  
  255. state 7
  256.  
  257.     input  ->  input line .   (rule 2)
  258.  
  259.     $default    reduce using rule 2 (input)
  260.  
  261.  
  262.  
  263. state 8
  264.  
  265.     line  ->  printstmt .   (rule 7)
  266.  
  267.     $default    reduce using rule 7 (line)
  268.  
  269.  
  270.  
  271. state 9
  272.  
  273.     assignstmt  ->  id . '=' comma   (rule 14)
  274.     assignline  ->  id . expr expr expr expr expr expr   (rule 16)
  275.     assignline  ->  id . expr expr expr expr expr   (rule 17)
  276.     assignline  ->  id . expr expr expr expr   (rule 18)
  277.     assignline  ->  id . expr expr expr   (rule 19)
  278.     assignline  ->  id . expr expr   (rule 20)
  279.     assignline  ->  id . expr   (rule 21)
  280.     assignline  ->  id .   (rule 22)
  281.  
  282.     NUM     shift, and go to state 13
  283.     STRING    shift, and go to state 14
  284.     IDSTRING    shift, and go to state 15
  285.     ERR     shift, and go to state 16
  286.     '='     shift, and go to state 17
  287.     '-'     shift, and go to state 18
  288.     '!'     shift, and go to state 19
  289.     '~'     shift, and go to state 20
  290.     '('     shift, and go to state 21
  291.  
  292.     IDSTRING    [reduce using rule 22 (assignline)]
  293.     $default    reduce using rule 22 (assignline)
  294.  
  295.     expr    go to state 22
  296.     id      go to state 23
  297.     assign    go to state 24
  298.     cond    go to state 25
  299.     logcond    go to state 26
  300.     binlogcond    go to state 27
  301.     compeq    go to state 28
  302.     comp    go to state 29
  303.     shift    go to state 30
  304.     factor    go to state 31
  305.     term    go to state 32
  306.     unary    go to state 33
  307.     atom    go to state 34
  308.  
  309.  
  310.  
  311. state 10
  312.  
  313.     line  ->  assignstmt .   (rule 6)
  314.  
  315.     $default    reduce using rule 6 (line)
  316.  
  317.  
  318.  
  319. state 11
  320.  
  321.     assignstmt  ->  assignline .   (rule 15)
  322.  
  323.     $default    reduce using rule 15 (assignstmt)
  324.  
  325.  
  326.  
  327. state 12
  328.  
  329.     printstmt  ->  PRINT printexprlist .   (rule 9)
  330.     printexprlist  ->  printexprlist . expr   (rule 11)
  331.  
  332.     NUM     shift, and go to state 13
  333.     STRING    shift, and go to state 14
  334.     IDSTRING    shift, and go to state 15
  335.     ERR     shift, and go to state 16
  336.     '-'     shift, and go to state 18
  337.     '!'     shift, and go to state 19
  338.     '~'     shift, and go to state 20
  339.     '('     shift, and go to state 21
  340.  
  341.     IDSTRING    [reduce using rule 9 (printstmt)]
  342.     $default    reduce using rule 9 (printstmt)
  343.  
  344.     expr    go to state 35
  345.     id      go to state 23
  346.     assign    go to state 24
  347.     cond    go to state 25
  348.     logcond    go to state 26
  349.     binlogcond    go to state 27
  350.     compeq    go to state 28
  351.     comp    go to state 29
  352.     shift    go to state 30
  353.     factor    go to state 31
  354.     term    go to state 32
  355.     unary    go to state 33
  356.     atom    go to state 34
  357.  
  358.  
  359.  
  360. state 13
  361.  
  362.     atom  ->  NUM .   (rule 59)
  363.  
  364.     $default    reduce using rule 59 (atom)
  365.  
  366.  
  367.  
  368. state 14
  369.  
  370.     atom  ->  STRING .   (rule 60)
  371.  
  372.     $default    reduce using rule 60 (atom)
  373.  
  374.  
  375.  
  376. state 15
  377.  
  378.     id  ->  IDSTRING .   (rule 13)
  379.     atom  ->  IDSTRING .   (rule 61)
  380.  
  381.     '='     reduce using rule 13 (id)
  382.     '('     reduce using rule 13 (id)
  383.     '('     [reduce using rule 61 (atom)]
  384.     ')'     reduce using rule 13 (id)
  385.     ')'     [reduce using rule 61 (atom)]
  386.     $default    reduce using rule 61 (atom)
  387.  
  388.  
  389.  
  390. state 16
  391.  
  392.     atom  ->  ERR .   (rule 58)
  393.  
  394.     $default    reduce using rule 58 (atom)
  395.  
  396.  
  397.  
  398. state 17
  399.  
  400.     assignstmt  ->  id '=' . comma   (rule 14)
  401.  
  402.     NUM     shift, and go to state 13
  403.     STRING    shift, and go to state 14
  404.     IDSTRING    shift, and go to state 15
  405.     ERR     shift, and go to state 16
  406.     '-'     shift, and go to state 18
  407.     '!'     shift, and go to state 19
  408.     '~'     shift, and go to state 20
  409.     '('     shift, and go to state 21
  410.  
  411.     id      go to state 36
  412.     comma    go to state 37
  413.     cond    go to state 38
  414.     logcond    go to state 26
  415.     binlogcond    go to state 27
  416.     compeq    go to state 28
  417.     comp    go to state 29
  418.     shift    go to state 30
  419.     factor    go to state 31
  420.     term    go to state 32
  421.     unary    go to state 33
  422.     atom    go to state 34
  423.  
  424.  
  425.  
  426. state 18
  427.  
  428.     unary  ->  '-' . unary   (rule 55)
  429.  
  430.     NUM     shift, and go to state 13
  431.     STRING    shift, and go to state 14
  432.     IDSTRING    shift, and go to state 15
  433.     ERR     shift, and go to state 16
  434.     '-'     shift, and go to state 18
  435.     '!'     shift, and go to state 19
  436.     '~'     shift, and go to state 20
  437.     '('     shift, and go to state 21
  438.  
  439.     id      go to state 36
  440.     unary    go to state 39
  441.     atom    go to state 34
  442.  
  443.  
  444.  
  445. state 19
  446.  
  447.     unary  ->  '!' . unary   (rule 56)
  448.  
  449.     NUM     shift, and go to state 13
  450.     STRING    shift, and go to state 14
  451.     IDSTRING    shift, and go to state 15
  452.     ERR     shift, and go to state 16
  453.     '-'     shift, and go to state 18
  454.     '!'     shift, and go to state 19
  455.     '~'     shift, and go to state 20
  456.     '('     shift, and go to state 21
  457.  
  458.     id      go to state 36
  459.     unary    go to state 40
  460.     atom    go to state 34
  461.  
  462.  
  463.  
  464. state 20
  465.  
  466.     unary  ->  '~' . unary   (rule 57)
  467.  
  468.     NUM     shift, and go to state 13
  469.     STRING    shift, and go to state 14
  470.     IDSTRING    shift, and go to state 15
  471.     ERR     shift, and go to state 16
  472.     '-'     shift, and go to state 18
  473.     '!'     shift, and go to state 19
  474.     '~'     shift, and go to state 20
  475.     '('     shift, and go to state 21
  476.  
  477.     id      go to state 36
  478.     unary    go to state 41
  479.     atom    go to state 34
  480.  
  481.  
  482.  
  483. state 21
  484.  
  485.     atom  ->  '(' . id ')'   (rule 68)
  486.     atom  ->  '(' . expr ')'   (rule 69)
  487.  
  488.     NUM     shift, and go to state 13
  489.     STRING    shift, and go to state 14
  490.     IDSTRING    shift, and go to state 15
  491.     ERR     shift, and go to state 16
  492.     '-'     shift, and go to state 18
  493.     '!'     shift, and go to state 19
  494.     '~'     shift, and go to state 20
  495.     '('     shift, and go to state 21
  496.  
  497.     expr    go to state 42
  498.     id      go to state 43
  499.     assign    go to state 24
  500.     cond    go to state 25
  501.     logcond    go to state 26
  502.     binlogcond    go to state 27
  503.     compeq    go to state 28
  504.     comp    go to state 29
  505.     shift    go to state 30
  506.     factor    go to state 31
  507.     term    go to state 32
  508.     unary    go to state 33
  509.     atom    go to state 34
  510.  
  511.  
  512.  
  513. state 22
  514.  
  515.     assignline  ->  id expr . expr expr expr expr expr   (rule 16)
  516.     assignline  ->  id expr . expr expr expr expr   (rule 17)
  517.     assignline  ->  id expr . expr expr expr   (rule 18)
  518.     assignline  ->  id expr . expr expr   (rule 19)
  519.     assignline  ->  id expr . expr   (rule 20)
  520.     assignline  ->  id expr .   (rule 21)
  521.  
  522.     NUM     shift, and go to state 13
  523.     STRING    shift, and go to state 14
  524.     IDSTRING    shift, and go to state 15
  525.     ERR     shift, and go to state 16
  526.     '-'     shift, and go to state 18
  527.     '!'     shift, and go to state 19
  528.     '~'     shift, and go to state 20
  529.     '('     shift, and go to state 21
  530.  
  531.     IDSTRING    [reduce using rule 21 (assignline)]
  532.     $default    reduce using rule 21 (assignline)
  533.  
  534.     expr    go to state 44
  535.     id      go to state 23
  536.     assign    go to state 24
  537.     cond    go to state 25
  538.     logcond    go to state 26
  539.     binlogcond    go to state 27
  540.     compeq    go to state 28
  541.     comp    go to state 29
  542.     shift    go to state 30
  543.     factor    go to state 31
  544.     term    go to state 32
  545.     unary    go to state 33
  546.     atom    go to state 34
  547.  
  548.  
  549.  
  550. state 23
  551.  
  552.     assign  ->  id . '=' assign   (rule 25)
  553.     atom  ->  id . '(' expr ')'   (rule 62)
  554.     atom  ->  id . '(' expr ',' expr ')'   (rule 63)
  555.     atom  ->  id . '(' expr ',' expr ',' expr ')'   (rule 64)
  556.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ')'   (rule 65)
  557.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 66)
  558.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 67)
  559.  
  560.     '='     shift, and go to state 45
  561.     '('     shift, and go to state 46
  562.  
  563.  
  564.  
  565. state 24
  566.  
  567.     expr  ->  assign .   (rule 12)
  568.  
  569.     $default    reduce using rule 12 (expr)
  570.  
  571.  
  572.  
  573. state 25
  574.  
  575.     assign  ->  cond .   (rule 26)
  576.  
  577.     $default    reduce using rule 26 (assign)
  578.  
  579.  
  580.  
  581. state 26
  582.  
  583.     cond  ->  logcond .   (rule 27)
  584.     cond  ->  logcond . '?' expr ':' cond   (rule 28)
  585.     logcond  ->  logcond . COMPAND binlogcond   (rule 30)
  586.     logcond  ->  logcond . COMPOR binlogcond   (rule 31)
  587.     logcond  ->  logcond . COMPXOR binlogcond   (rule 32)
  588.  
  589.     COMPAND    shift, and go to state 47
  590.     COMPOR    shift, and go to state 48
  591.     COMPXOR    shift, and go to state 49
  592.     '?'     shift, and go to state 50
  593.  
  594.     $default    reduce using rule 27 (cond)
  595.  
  596.  
  597.  
  598. state 27
  599.  
  600.     logcond  ->  binlogcond .   (rule 29)
  601.     binlogcond  ->  binlogcond . '&' compeq   (rule 34)
  602.     binlogcond  ->  binlogcond . '|' compeq   (rule 35)
  603.     binlogcond  ->  binlogcond . '^' compeq   (rule 36)
  604.  
  605.     '&'     shift, and go to state 51
  606.     '|'     shift, and go to state 52
  607.     '^'     shift, and go to state 53
  608.  
  609.     $default    reduce using rule 29 (logcond)
  610.  
  611.  
  612.  
  613. state 28
  614.  
  615.     binlogcond  ->  compeq .   (rule 33)
  616.     compeq  ->  compeq . COMPEQ comp   (rule 38)
  617.     compeq  ->  compeq . COMPNE comp   (rule 39)
  618.  
  619.     COMPEQ    shift, and go to state 54
  620.     COMPNE    shift, and go to state 55
  621.  
  622.     $default    reduce using rule 33 (binlogcond)
  623.  
  624.  
  625.  
  626. state 29
  627.  
  628.     compeq  ->  comp .   (rule 37)
  629.     comp  ->  comp . COMPLE shift   (rule 41)
  630.     comp  ->  comp . COMPGE shift   (rule 42)
  631.     comp  ->  comp . '>' shift   (rule 43)
  632.     comp  ->  comp . '<' shift   (rule 44)
  633.  
  634.     COMPLE    shift, and go to state 56
  635.     COMPGE    shift, and go to state 57
  636.     '>'     shift, and go to state 58
  637.     '<'     shift, and go to state 59
  638.  
  639.     $default    reduce using rule 37 (compeq)
  640.  
  641.  
  642.  
  643. state 30
  644.  
  645.     comp  ->  shift .   (rule 40)
  646.     shift  ->  shift . LSHIFT factor   (rule 46)
  647.     shift  ->  shift . RSHIFT factor   (rule 47)
  648.  
  649.     LSHIFT    shift, and go to state 60
  650.     RSHIFT    shift, and go to state 61
  651.  
  652.     $default    reduce using rule 40 (comp)
  653.  
  654.  
  655.  
  656. state 31
  657.  
  658.     shift  ->  factor .   (rule 45)
  659.     factor  ->  factor . '+' term   (rule 49)
  660.     factor  ->  factor . '-' term   (rule 50)
  661.  
  662.     '-'     shift, and go to state 62
  663.     '+'     shift, and go to state 63
  664.  
  665.     '-'     [reduce using rule 45 (shift)]
  666.     $default    reduce using rule 45 (shift)
  667.  
  668.  
  669.  
  670. state 32
  671.  
  672.     factor  ->  term .   (rule 48)
  673.     term  ->  term . '*' unary   (rule 52)
  674.     term  ->  term . '/' unary   (rule 53)
  675.  
  676.     '*'     shift, and go to state 64
  677.     '/'     shift, and go to state 65
  678.  
  679.     $default    reduce using rule 48 (factor)
  680.  
  681.  
  682.  
  683. state 33
  684.  
  685.     term  ->  unary .   (rule 51)
  686.  
  687.     $default    reduce using rule 51 (term)
  688.  
  689.  
  690.  
  691. state 34
  692.  
  693.     unary  ->  atom .   (rule 54)
  694.  
  695.     $default    reduce using rule 54 (unary)
  696.  
  697.  
  698.  
  699. state 35
  700.  
  701.     printexprlist  ->  printexprlist expr .   (rule 11)
  702.  
  703.     $default    reduce using rule 11 (printexprlist)
  704.  
  705.  
  706.  
  707. state 36
  708.  
  709.     atom  ->  id . '(' expr ')'   (rule 62)
  710.     atom  ->  id . '(' expr ',' expr ')'   (rule 63)
  711.     atom  ->  id . '(' expr ',' expr ',' expr ')'   (rule 64)
  712.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ')'   (rule 65)
  713.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 66)
  714.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 67)
  715.  
  716.     '('     shift, and go to state 46
  717.  
  718.  
  719.  
  720. state 37
  721.  
  722.     assignstmt  ->  id '=' comma .   (rule 14)
  723.     comma  ->  comma . ',' cond   (rule 24)
  724.  
  725.     ','     shift, and go to state 66
  726.  
  727.     $default    reduce using rule 14 (assignstmt)
  728.  
  729.  
  730.  
  731. state 38
  732.  
  733.     comma  ->  cond .   (rule 23)
  734.  
  735.     $default    reduce using rule 23 (comma)
  736.  
  737.  
  738.  
  739. state 39
  740.  
  741.     unary  ->  '-' unary .   (rule 55)
  742.  
  743.     $default    reduce using rule 55 (unary)
  744.  
  745.  
  746.  
  747. state 40
  748.  
  749.     unary  ->  '!' unary .   (rule 56)
  750.  
  751.     $default    reduce using rule 56 (unary)
  752.  
  753.  
  754.  
  755. state 41
  756.  
  757.     unary  ->  '~' unary .   (rule 57)
  758.  
  759.     $default    reduce using rule 57 (unary)
  760.  
  761.  
  762.  
  763. state 42
  764.  
  765.     atom  ->  '(' expr . ')'   (rule 69)
  766.  
  767.     ')'     shift, and go to state 67
  768.  
  769.  
  770.  
  771. state 43
  772.  
  773.     assign  ->  id . '=' assign   (rule 25)
  774.     atom  ->  id . '(' expr ')'   (rule 62)
  775.     atom  ->  id . '(' expr ',' expr ')'   (rule 63)
  776.     atom  ->  id . '(' expr ',' expr ',' expr ')'   (rule 64)
  777.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ')'   (rule 65)
  778.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 66)
  779.     atom  ->  id . '(' expr ',' expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 67)
  780.     atom  ->  '(' id . ')'   (rule 68)
  781.  
  782.     '='     shift, and go to state 45
  783.     '('     shift, and go to state 46
  784.     ')'     shift, and go to state 68
  785.  
  786.  
  787.  
  788. state 44
  789.  
  790.     assignline  ->  id expr expr . expr expr expr expr   (rule 16)
  791.     assignline  ->  id expr expr . expr expr expr   (rule 17)
  792.     assignline  ->  id expr expr . expr expr   (rule 18)
  793.     assignline  ->  id expr expr . expr   (rule 19)
  794.     assignline  ->  id expr expr .   (rule 20)
  795.  
  796.     NUM     shift, and go to state 13
  797.     STRING    shift, and go to state 14
  798.     IDSTRING    shift, and go to state 15
  799.     ERR     shift, and go to state 16
  800.     '-'     shift, and go to state 18
  801.     '!'     shift, and go to state 19
  802.     '~'     shift, and go to state 20
  803.     '('     shift, and go to state 21
  804.  
  805.     IDSTRING    [reduce using rule 20 (assignline)]
  806.     $default    reduce using rule 20 (assignline)
  807.  
  808.     expr    go to state 69
  809.     id      go to state 23
  810.     assign    go to state 24
  811.     cond    go to state 25
  812.     logcond    go to state 26
  813.     binlogcond    go to state 27
  814.     compeq    go to state 28
  815.     comp    go to state 29
  816.     shift    go to state 30
  817.     factor    go to state 31
  818.     term    go to state 32
  819.     unary    go to state 33
  820.     atom    go to state 34
  821.  
  822.  
  823.  
  824. state 45
  825.  
  826.     assign  ->  id '=' . assign   (rule 25)
  827.  
  828.     NUM     shift, and go to state 13
  829.     STRING    shift, and go to state 14
  830.     IDSTRING    shift, and go to state 15
  831.     ERR     shift, and go to state 16
  832.     '-'     shift, and go to state 18
  833.     '!'     shift, and go to state 19
  834.     '~'     shift, and go to state 20
  835.     '('     shift, and go to state 21
  836.  
  837.     id      go to state 23
  838.     assign    go to state 70
  839.     cond    go to state 25
  840.     logcond    go to state 26
  841.     binlogcond    go to state 27
  842.     compeq    go to state 28
  843.     comp    go to state 29
  844.     shift    go to state 30
  845.     factor    go to state 31
  846.     term    go to state 32
  847.     unary    go to state 33
  848.     atom    go to state 34
  849.  
  850.  
  851.  
  852. state 46
  853.  
  854.     atom  ->  id '(' . expr ')'   (rule 62)
  855.     atom  ->  id '(' . expr ',' expr ')'   (rule 63)
  856.     atom  ->  id '(' . expr ',' expr ',' expr ')'   (rule 64)
  857.     atom  ->  id '(' . expr ',' expr ',' expr ',' expr ')'   (rule 65)
  858.     atom  ->  id '(' . expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 66)
  859.     atom  ->  id '(' . expr ',' expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 67)
  860.  
  861.     NUM     shift, and go to state 13
  862.     STRING    shift, and go to state 14
  863.     IDSTRING    shift, and go to state 15
  864.     ERR     shift, and go to state 16
  865.     '-'     shift, and go to state 18
  866.     '!'     shift, and go to state 19
  867.     '~'     shift, and go to state 20
  868.     '('     shift, and go to state 21
  869.  
  870.     expr    go to state 71
  871.     id      go to state 23
  872.     assign    go to state 24
  873.     cond    go to state 25
  874.     logcond    go to state 26
  875.     binlogcond    go to state 27
  876.     compeq    go to state 28
  877.     comp    go to state 29
  878.     shift    go to state 30
  879.     factor    go to state 31
  880.     term    go to state 32
  881.     unary    go to state 33
  882.     atom    go to state 34
  883.  
  884.  
  885.  
  886. state 47
  887.  
  888.     logcond  ->  logcond COMPAND . binlogcond   (rule 30)
  889.  
  890.     NUM     shift, and go to state 13
  891.     STRING    shift, and go to state 14
  892.     IDSTRING    shift, and go to state 15
  893.     ERR     shift, and go to state 16
  894.     '-'     shift, and go to state 18
  895.     '!'     shift, and go to state 19
  896.     '~'     shift, and go to state 20
  897.     '('     shift, and go to state 21
  898.  
  899.     id      go to state 36
  900.     binlogcond    go to state 72
  901.     compeq    go to state 28
  902.     comp    go to state 29
  903.     shift    go to state 30
  904.     factor    go to state 31
  905.     term    go to state 32
  906.     unary    go to state 33
  907.     atom    go to state 34
  908.  
  909.  
  910.  
  911. state 48
  912.  
  913.     logcond  ->  logcond COMPOR . binlogcond   (rule 31)
  914.  
  915.     NUM     shift, and go to state 13
  916.     STRING    shift, and go to state 14
  917.     IDSTRING    shift, and go to state 15
  918.     ERR     shift, and go to state 16
  919.     '-'     shift, and go to state 18
  920.     '!'     shift, and go to state 19
  921.     '~'     shift, and go to state 20
  922.     '('     shift, and go to state 21
  923.  
  924.     id      go to state 36
  925.     binlogcond    go to state 73
  926.     compeq    go to state 28
  927.     comp    go to state 29
  928.     shift    go to state 30
  929.     factor    go to state 31
  930.     term    go to state 32
  931.     unary    go to state 33
  932.     atom    go to state 34
  933.  
  934.  
  935.  
  936. state 49
  937.  
  938.     logcond  ->  logcond COMPXOR . binlogcond   (rule 32)
  939.  
  940.     NUM     shift, and go to state 13
  941.     STRING    shift, and go to state 14
  942.     IDSTRING    shift, and go to state 15
  943.     ERR     shift, and go to state 16
  944.     '-'     shift, and go to state 18
  945.     '!'     shift, and go to state 19
  946.     '~'     shift, and go to state 20
  947.     '('     shift, and go to state 21
  948.  
  949.     id      go to state 36
  950.     binlogcond    go to state 74
  951.     compeq    go to state 28
  952.     comp    go to state 29
  953.     shift    go to state 30
  954.     factor    go to state 31
  955.     term    go to state 32
  956.     unary    go to state 33
  957.     atom    go to state 34
  958.  
  959.  
  960.  
  961. state 50
  962.  
  963.     cond  ->  logcond '?' . expr ':' cond   (rule 28)
  964.  
  965.     NUM     shift, and go to state 13
  966.     STRING    shift, and go to state 14
  967.     IDSTRING    shift, and go to state 15
  968.     ERR     shift, and go to state 16
  969.     '-'     shift, and go to state 18
  970.     '!'     shift, and go to state 19
  971.     '~'     shift, and go to state 20
  972.     '('     shift, and go to state 21
  973.  
  974.     expr    go to state 75
  975.     id      go to state 23
  976.     assign    go to state 24
  977.     cond    go to state 25
  978.     logcond    go to state 26
  979.     binlogcond    go to state 27
  980.     compeq    go to state 28
  981.     comp    go to state 29
  982.     shift    go to state 30
  983.     factor    go to state 31
  984.     term    go to state 32
  985.     unary    go to state 33
  986.     atom    go to state 34
  987.  
  988.  
  989.  
  990. state 51
  991.  
  992.     binlogcond  ->  binlogcond '&' . compeq   (rule 34)
  993.  
  994.     NUM     shift, and go to state 13
  995.     STRING    shift, and go to state 14
  996.     IDSTRING    shift, and go to state 15
  997.     ERR     shift, and go to state 16
  998.     '-'     shift, and go to state 18
  999.     '!'     shift, and go to state 19
  1000.     '~'     shift, and go to state 20
  1001.     '('     shift, and go to state 21
  1002.  
  1003.     id      go to state 36
  1004.     compeq    go to state 76
  1005.     comp    go to state 29
  1006.     shift    go to state 30
  1007.     factor    go to state 31
  1008.     term    go to state 32
  1009.     unary    go to state 33
  1010.     atom    go to state 34
  1011.  
  1012.  
  1013.  
  1014. state 52
  1015.  
  1016.     binlogcond  ->  binlogcond '|' . compeq   (rule 35)
  1017.  
  1018.     NUM     shift, and go to state 13
  1019.     STRING    shift, and go to state 14
  1020.     IDSTRING    shift, and go to state 15
  1021.     ERR     shift, and go to state 16
  1022.     '-'     shift, and go to state 18
  1023.     '!'     shift, and go to state 19
  1024.     '~'     shift, and go to state 20
  1025.     '('     shift, and go to state 21
  1026.  
  1027.     id      go to state 36
  1028.     compeq    go to state 77
  1029.     comp    go to state 29
  1030.     shift    go to state 30
  1031.     factor    go to state 31
  1032.     term    go to state 32
  1033.     unary    go to state 33
  1034.     atom    go to state 34
  1035.  
  1036.  
  1037.  
  1038. state 53
  1039.  
  1040.     binlogcond  ->  binlogcond '^' . compeq   (rule 36)
  1041.  
  1042.     NUM     shift, and go to state 13
  1043.     STRING    shift, and go to state 14
  1044.     IDSTRING    shift, and go to state 15
  1045.     ERR     shift, and go to state 16
  1046.     '-'     shift, and go to state 18
  1047.     '!'     shift, and go to state 19
  1048.     '~'     shift, and go to state 20
  1049.     '('     shift, and go to state 21
  1050.  
  1051.     id      go to state 36
  1052.     compeq    go to state 78
  1053.     comp    go to state 29
  1054.     shift    go to state 30
  1055.     factor    go to state 31
  1056.     term    go to state 32
  1057.     unary    go to state 33
  1058.     atom    go to state 34
  1059.  
  1060.  
  1061.  
  1062. state 54
  1063.  
  1064.     compeq  ->  compeq COMPEQ . comp   (rule 38)
  1065.  
  1066.     NUM     shift, and go to state 13
  1067.     STRING    shift, and go to state 14
  1068.     IDSTRING    shift, and go to state 15
  1069.     ERR     shift, and go to state 16
  1070.     '-'     shift, and go to state 18
  1071.     '!'     shift, and go to state 19
  1072.     '~'     shift, and go to state 20
  1073.     '('     shift, and go to state 21
  1074.  
  1075.     id      go to state 36
  1076.     comp    go to state 79
  1077.     shift    go to state 30
  1078.     factor    go to state 31
  1079.     term    go to state 32
  1080.     unary    go to state 33
  1081.     atom    go to state 34
  1082.  
  1083.  
  1084.  
  1085. state 55
  1086.  
  1087.     compeq  ->  compeq COMPNE . comp   (rule 39)
  1088.  
  1089.     NUM     shift, and go to state 13
  1090.     STRING    shift, and go to state 14
  1091.     IDSTRING    shift, and go to state 15
  1092.     ERR     shift, and go to state 16
  1093.     '-'     shift, and go to state 18
  1094.     '!'     shift, and go to state 19
  1095.     '~'     shift, and go to state 20
  1096.     '('     shift, and go to state 21
  1097.  
  1098.     id      go to state 36
  1099.     comp    go to state 80
  1100.     shift    go to state 30
  1101.     factor    go to state 31
  1102.     term    go to state 32
  1103.     unary    go to state 33
  1104.     atom    go to state 34
  1105.  
  1106.  
  1107.  
  1108. state 56
  1109.  
  1110.     comp  ->  comp COMPLE . shift   (rule 41)
  1111.  
  1112.     NUM     shift, and go to state 13
  1113.     STRING    shift, and go to state 14
  1114.     IDSTRING    shift, and go to state 15
  1115.     ERR     shift, and go to state 16
  1116.     '-'     shift, and go to state 18
  1117.     '!'     shift, and go to state 19
  1118.     '~'     shift, and go to state 20
  1119.     '('     shift, and go to state 21
  1120.  
  1121.     id      go to state 36
  1122.     shift    go to state 81
  1123.     factor    go to state 31
  1124.     term    go to state 32
  1125.     unary    go to state 33
  1126.     atom    go to state 34
  1127.  
  1128.  
  1129.  
  1130. state 57
  1131.  
  1132.     comp  ->  comp COMPGE . shift   (rule 42)
  1133.  
  1134.     NUM     shift, and go to state 13
  1135.     STRING    shift, and go to state 14
  1136.     IDSTRING    shift, and go to state 15
  1137.     ERR     shift, and go to state 16
  1138.     '-'     shift, and go to state 18
  1139.     '!'     shift, and go to state 19
  1140.     '~'     shift, and go to state 20
  1141.     '('     shift, and go to state 21
  1142.  
  1143.     id      go to state 36
  1144.     shift    go to state 82
  1145.     factor    go to state 31
  1146.     term    go to state 32
  1147.     unary    go to state 33
  1148.     atom    go to state 34
  1149.  
  1150.  
  1151.  
  1152. state 58
  1153.  
  1154.     comp  ->  comp '>' . shift   (rule 43)
  1155.  
  1156.     NUM     shift, and go to state 13
  1157.     STRING    shift, and go to state 14
  1158.     IDSTRING    shift, and go to state 15
  1159.     ERR     shift, and go to state 16
  1160.     '-'     shift, and go to state 18
  1161.     '!'     shift, and go to state 19
  1162.     '~'     shift, and go to state 20
  1163.     '('     shift, and go to state 21
  1164.  
  1165.     id      go to state 36
  1166.     shift    go to state 83
  1167.     factor    go to state 31
  1168.     term    go to state 32
  1169.     unary    go to state 33
  1170.     atom    go to state 34
  1171.  
  1172.  
  1173.  
  1174. state 59
  1175.  
  1176.     comp  ->  comp '<' . shift   (rule 44)
  1177.  
  1178.     NUM     shift, and go to state 13
  1179.     STRING    shift, and go to state 14
  1180.     IDSTRING    shift, and go to state 15
  1181.     ERR     shift, and go to state 16
  1182.     '-'     shift, and go to state 18
  1183.     '!'     shift, and go to state 19
  1184.     '~'     shift, and go to state 20
  1185.     '('     shift, and go to state 21
  1186.  
  1187.     id      go to state 36
  1188.     shift    go to state 84
  1189.     factor    go to state 31
  1190.     term    go to state 32
  1191.     unary    go to state 33
  1192.     atom    go to state 34
  1193.  
  1194.  
  1195.  
  1196. state 60
  1197.  
  1198.     shift  ->  shift LSHIFT . factor   (rule 46)
  1199.  
  1200.     NUM     shift, and go to state 13
  1201.     STRING    shift, and go to state 14
  1202.     IDSTRING    shift, and go to state 15
  1203.     ERR     shift, and go to state 16
  1204.     '-'     shift, and go to state 18
  1205.     '!'     shift, and go to state 19
  1206.     '~'     shift, and go to state 20
  1207.     '('     shift, and go to state 21
  1208.  
  1209.     id      go to state 36
  1210.     factor    go to state 85
  1211.     term    go to state 32
  1212.     unary    go to state 33
  1213.     atom    go to state 34
  1214.  
  1215.  
  1216.  
  1217. state 61
  1218.  
  1219.     shift  ->  shift RSHIFT . factor   (rule 47)
  1220.  
  1221.     NUM     shift, and go to state 13
  1222.     STRING    shift, and go to state 14
  1223.     IDSTRING    shift, and go to state 15
  1224.     ERR     shift, and go to state 16
  1225.     '-'     shift, and go to state 18
  1226.     '!'     shift, and go to state 19
  1227.     '~'     shift, and go to state 20
  1228.     '('     shift, and go to state 21
  1229.  
  1230.     id      go to state 36
  1231.     factor    go to state 86
  1232.     term    go to state 32
  1233.     unary    go to state 33
  1234.     atom    go to state 34
  1235.  
  1236.  
  1237.  
  1238. state 62
  1239.  
  1240.     factor  ->  factor '-' . term   (rule 50)
  1241.  
  1242.     NUM     shift, and go to state 13
  1243.     STRING    shift, and go to state 14
  1244.     IDSTRING    shift, and go to state 15
  1245.     ERR     shift, and go to state 16
  1246.     '-'     shift, and go to state 18
  1247.     '!'     shift, and go to state 19
  1248.     '~'     shift, and go to state 20
  1249.     '('     shift, and go to state 21
  1250.  
  1251.     id      go to state 36
  1252.     term    go to state 87
  1253.     unary    go to state 33
  1254.     atom    go to state 34
  1255.  
  1256.  
  1257.  
  1258. state 63
  1259.  
  1260.     factor  ->  factor '+' . term   (rule 49)
  1261.  
  1262.     NUM     shift, and go to state 13
  1263.     STRING    shift, and go to state 14
  1264.     IDSTRING    shift, and go to state 15
  1265.     ERR     shift, and go to state 16
  1266.     '-'     shift, and go to state 18
  1267.     '!'     shift, and go to state 19
  1268.     '~'     shift, and go to state 20
  1269.     '('     shift, and go to state 21
  1270.  
  1271.     id      go to state 36
  1272.     term    go to state 88
  1273.     unary    go to state 33
  1274.     atom    go to state 34
  1275.  
  1276.  
  1277.  
  1278. state 64
  1279.  
  1280.     term  ->  term '*' . unary   (rule 52)
  1281.  
  1282.     NUM     shift, and go to state 13
  1283.     STRING    shift, and go to state 14
  1284.     IDSTRING    shift, and go to state 15
  1285.     ERR     shift, and go to state 16
  1286.     '-'     shift, and go to state 18
  1287.     '!'     shift, and go to state 19
  1288.     '~'     shift, and go to state 20
  1289.     '('     shift, and go to state 21
  1290.  
  1291.     id      go to state 36
  1292.     unary    go to state 89
  1293.     atom    go to state 34
  1294.  
  1295.  
  1296.  
  1297. state 65
  1298.  
  1299.     term  ->  term '/' . unary   (rule 53)
  1300.  
  1301.     NUM     shift, and go to state 13
  1302.     STRING    shift, and go to state 14
  1303.     IDSTRING    shift, and go to state 15
  1304.     ERR     shift, and go to state 16
  1305.     '-'     shift, and go to state 18
  1306.     '!'     shift, and go to state 19
  1307.     '~'     shift, and go to state 20
  1308.     '('     shift, and go to state 21
  1309.  
  1310.     id      go to state 36
  1311.     unary    go to state 90
  1312.     atom    go to state 34
  1313.  
  1314.  
  1315.  
  1316. state 66
  1317.  
  1318.     comma  ->  comma ',' . cond   (rule 24)
  1319.  
  1320.     NUM     shift, and go to state 13
  1321.     STRING    shift, and go to state 14
  1322.     IDSTRING    shift, and go to state 15
  1323.     ERR     shift, and go to state 16
  1324.     '-'     shift, and go to state 18
  1325.     '!'     shift, and go to state 19
  1326.     '~'     shift, and go to state 20
  1327.     '('     shift, and go to state 21
  1328.  
  1329.     id      go to state 36
  1330.     cond    go to state 91
  1331.     logcond    go to state 26
  1332.     binlogcond    go to state 27
  1333.     compeq    go to state 28
  1334.     comp    go to state 29
  1335.     shift    go to state 30
  1336.     factor    go to state 31
  1337.     term    go to state 32
  1338.     unary    go to state 33
  1339.     atom    go to state 34
  1340.  
  1341.  
  1342.  
  1343. state 67
  1344.  
  1345.     atom  ->  '(' expr ')' .   (rule 69)
  1346.  
  1347.     $default    reduce using rule 69 (atom)
  1348.  
  1349.  
  1350.  
  1351. state 68
  1352.  
  1353.     atom  ->  '(' id ')' .   (rule 68)
  1354.  
  1355.     $default    reduce using rule 68 (atom)
  1356.  
  1357.  
  1358.  
  1359. state 69
  1360.  
  1361.     assignline  ->  id expr expr expr . expr expr expr   (rule 16)
  1362.     assignline  ->  id expr expr expr . expr expr   (rule 17)
  1363.     assignline  ->  id expr expr expr . expr   (rule 18)
  1364.     assignline  ->  id expr expr expr .   (rule 19)
  1365.  
  1366.     NUM     shift, and go to state 13
  1367.     STRING    shift, and go to state 14
  1368.     IDSTRING    shift, and go to state 15
  1369.     ERR     shift, and go to state 16
  1370.     '-'     shift, and go to state 18
  1371.     '!'     shift, and go to state 19
  1372.     '~'     shift, and go to state 20
  1373.     '('     shift, and go to state 21
  1374.  
  1375.     IDSTRING    [reduce using rule 19 (assignline)]
  1376.     $default    reduce using rule 19 (assignline)
  1377.  
  1378.     expr    go to state 92
  1379.     id      go to state 23
  1380.     assign    go to state 24
  1381.     cond    go to state 25
  1382.     logcond    go to state 26
  1383.     binlogcond    go to state 27
  1384.     compeq    go to state 28
  1385.     comp    go to state 29
  1386.     shift    go to state 30
  1387.     factor    go to state 31
  1388.     term    go to state 32
  1389.     unary    go to state 33
  1390.     atom    go to state 34
  1391.  
  1392.  
  1393.  
  1394. state 70
  1395.  
  1396.     assign  ->  id '=' assign .   (rule 25)
  1397.  
  1398.     $default    reduce using rule 25 (assign)
  1399.  
  1400.  
  1401.  
  1402. state 71
  1403.  
  1404.     atom  ->  id '(' expr . ')'   (rule 62)
  1405.     atom  ->  id '(' expr . ',' expr ')'   (rule 63)
  1406.     atom  ->  id '(' expr . ',' expr ',' expr ')'   (rule 64)
  1407.     atom  ->  id '(' expr . ',' expr ',' expr ',' expr ')'   (rule 65)
  1408.     atom  ->  id '(' expr . ',' expr ',' expr ',' expr ',' expr ')'   (rule 66)
  1409.     atom  ->  id '(' expr . ',' expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 67)
  1410.  
  1411.     ','     shift, and go to state 93
  1412.     ')'     shift, and go to state 94
  1413.  
  1414.  
  1415.  
  1416. state 72
  1417.  
  1418.     logcond  ->  logcond COMPAND binlogcond .   (rule 30)
  1419.     binlogcond  ->  binlogcond . '&' compeq   (rule 34)
  1420.     binlogcond  ->  binlogcond . '|' compeq   (rule 35)
  1421.     binlogcond  ->  binlogcond . '^' compeq   (rule 36)
  1422.  
  1423.     '&'     shift, and go to state 51
  1424.     '|'     shift, and go to state 52
  1425.     '^'     shift, and go to state 53
  1426.  
  1427.     $default    reduce using rule 30 (logcond)
  1428.  
  1429.  
  1430.  
  1431. state 73
  1432.  
  1433.     logcond  ->  logcond COMPOR binlogcond .   (rule 31)
  1434.     binlogcond  ->  binlogcond . '&' compeq   (rule 34)
  1435.     binlogcond  ->  binlogcond . '|' compeq   (rule 35)
  1436.     binlogcond  ->  binlogcond . '^' compeq   (rule 36)
  1437.  
  1438.     '&'     shift, and go to state 51
  1439.     '|'     shift, and go to state 52
  1440.     '^'     shift, and go to state 53
  1441.  
  1442.     $default    reduce using rule 31 (logcond)
  1443.  
  1444.  
  1445.  
  1446. state 74
  1447.  
  1448.     logcond  ->  logcond COMPXOR binlogcond .   (rule 32)
  1449.     binlogcond  ->  binlogcond . '&' compeq   (rule 34)
  1450.     binlogcond  ->  binlogcond . '|' compeq   (rule 35)
  1451.     binlogcond  ->  binlogcond . '^' compeq   (rule 36)
  1452.  
  1453.     '&'     shift, and go to state 51
  1454.     '|'     shift, and go to state 52
  1455.     '^'     shift, and go to state 53
  1456.  
  1457.     $default    reduce using rule 32 (logcond)
  1458.  
  1459.  
  1460.  
  1461. state 75
  1462.  
  1463.     cond  ->  logcond '?' expr . ':' cond   (rule 28)
  1464.  
  1465.     ':'     shift, and go to state 95
  1466.  
  1467.  
  1468.  
  1469. state 76
  1470.  
  1471.     binlogcond  ->  binlogcond '&' compeq .   (rule 34)
  1472.     compeq  ->  compeq . COMPEQ comp   (rule 38)
  1473.     compeq  ->  compeq . COMPNE comp   (rule 39)
  1474.  
  1475.     COMPEQ    shift, and go to state 54
  1476.     COMPNE    shift, and go to state 55
  1477.  
  1478.     $default    reduce using rule 34 (binlogcond)
  1479.  
  1480.  
  1481.  
  1482. state 77
  1483.  
  1484.     binlogcond  ->  binlogcond '|' compeq .   (rule 35)
  1485.     compeq  ->  compeq . COMPEQ comp   (rule 38)
  1486.     compeq  ->  compeq . COMPNE comp   (rule 39)
  1487.  
  1488.     COMPEQ    shift, and go to state 54
  1489.     COMPNE    shift, and go to state 55
  1490.  
  1491.     $default    reduce using rule 35 (binlogcond)
  1492.  
  1493.  
  1494.  
  1495. state 78
  1496.  
  1497.     binlogcond  ->  binlogcond '^' compeq .   (rule 36)
  1498.     compeq  ->  compeq . COMPEQ comp   (rule 38)
  1499.     compeq  ->  compeq . COMPNE comp   (rule 39)
  1500.  
  1501.     COMPEQ    shift, and go to state 54
  1502.     COMPNE    shift, and go to state 55
  1503.  
  1504.     $default    reduce using rule 36 (binlogcond)
  1505.  
  1506.  
  1507.  
  1508. state 79
  1509.  
  1510.     compeq  ->  compeq COMPEQ comp .   (rule 38)
  1511.     comp  ->  comp . COMPLE shift   (rule 41)
  1512.     comp  ->  comp . COMPGE shift   (rule 42)
  1513.     comp  ->  comp . '>' shift   (rule 43)
  1514.     comp  ->  comp . '<' shift   (rule 44)
  1515.  
  1516.     COMPLE    shift, and go to state 56
  1517.     COMPGE    shift, and go to state 57
  1518.     '>'     shift, and go to state 58
  1519.     '<'     shift, and go to state 59
  1520.  
  1521.     $default    reduce using rule 38 (compeq)
  1522.  
  1523.  
  1524.  
  1525. state 80
  1526.  
  1527.     compeq  ->  compeq COMPNE comp .   (rule 39)
  1528.     comp  ->  comp . COMPLE shift   (rule 41)
  1529.     comp  ->  comp . COMPGE shift   (rule 42)
  1530.     comp  ->  comp . '>' shift   (rule 43)
  1531.     comp  ->  comp . '<' shift   (rule 44)
  1532.  
  1533.     COMPLE    shift, and go to state 56
  1534.     COMPGE    shift, and go to state 57
  1535.     '>'     shift, and go to state 58
  1536.     '<'     shift, and go to state 59
  1537.  
  1538.     $default    reduce using rule 39 (compeq)
  1539.  
  1540.  
  1541.  
  1542. state 81
  1543.  
  1544.     comp  ->  comp COMPLE shift .   (rule 41)
  1545.     shift  ->  shift . LSHIFT factor   (rule 46)
  1546.     shift  ->  shift . RSHIFT factor   (rule 47)
  1547.  
  1548.     LSHIFT    shift, and go to state 60
  1549.     RSHIFT    shift, and go to state 61
  1550.  
  1551.     $default    reduce using rule 41 (comp)
  1552.  
  1553.  
  1554.  
  1555. state 82
  1556.  
  1557.     comp  ->  comp COMPGE shift .   (rule 42)
  1558.     shift  ->  shift . LSHIFT factor   (rule 46)
  1559.     shift  ->  shift . RSHIFT factor   (rule 47)
  1560.  
  1561.     LSHIFT    shift, and go to state 60
  1562.     RSHIFT    shift, and go to state 61
  1563.  
  1564.     $default    reduce using rule 42 (comp)
  1565.  
  1566.  
  1567.  
  1568. state 83
  1569.  
  1570.     comp  ->  comp '>' shift .   (rule 43)
  1571.     shift  ->  shift . LSHIFT factor   (rule 46)
  1572.     shift  ->  shift . RSHIFT factor   (rule 47)
  1573.  
  1574.     LSHIFT    shift, and go to state 60
  1575.     RSHIFT    shift, and go to state 61
  1576.  
  1577.     $default    reduce using rule 43 (comp)
  1578.  
  1579.  
  1580.  
  1581. state 84
  1582.  
  1583.     comp  ->  comp '<' shift .   (rule 44)
  1584.     shift  ->  shift . LSHIFT factor   (rule 46)
  1585.     shift  ->  shift . RSHIFT factor   (rule 47)
  1586.  
  1587.     LSHIFT    shift, and go to state 60
  1588.     RSHIFT    shift, and go to state 61
  1589.  
  1590.     $default    reduce using rule 44 (comp)
  1591.  
  1592.  
  1593.  
  1594. state 85
  1595.  
  1596.     shift  ->  shift LSHIFT factor .   (rule 46)
  1597.     factor  ->  factor . '+' term   (rule 49)
  1598.     factor  ->  factor . '-' term   (rule 50)
  1599.  
  1600.     '-'     shift, and go to state 62
  1601.     '+'     shift, and go to state 63
  1602.  
  1603.     '-'     [reduce using rule 46 (shift)]
  1604.     $default    reduce using rule 46 (shift)
  1605.  
  1606.  
  1607.  
  1608. state 86
  1609.  
  1610.     shift  ->  shift RSHIFT factor .   (rule 47)
  1611.     factor  ->  factor . '+' term   (rule 49)
  1612.     factor  ->  factor . '-' term   (rule 50)
  1613.  
  1614.     '-'     shift, and go to state 62
  1615.     '+'     shift, and go to state 63
  1616.  
  1617.     '-'     [reduce using rule 47 (shift)]
  1618.     $default    reduce using rule 47 (shift)
  1619.  
  1620.  
  1621.  
  1622. state 87
  1623.  
  1624.     factor  ->  factor '-' term .   (rule 50)
  1625.     term  ->  term . '*' unary   (rule 52)
  1626.     term  ->  term . '/' unary   (rule 53)
  1627.  
  1628.     '*'     shift, and go to state 64
  1629.     '/'     shift, and go to state 65
  1630.  
  1631.     $default    reduce using rule 50 (factor)
  1632.  
  1633.  
  1634.  
  1635. state 88
  1636.  
  1637.     factor  ->  factor '+' term .   (rule 49)
  1638.     term  ->  term . '*' unary   (rule 52)
  1639.     term  ->  term . '/' unary   (rule 53)
  1640.  
  1641.     '*'     shift, and go to state 64
  1642.     '/'     shift, and go to state 65
  1643.  
  1644.     $default    reduce using rule 49 (factor)
  1645.  
  1646.  
  1647.  
  1648. state 89
  1649.  
  1650.     term  ->  term '*' unary .   (rule 52)
  1651.  
  1652.     $default    reduce using rule 52 (term)
  1653.  
  1654.  
  1655.  
  1656. state 90
  1657.  
  1658.     term  ->  term '/' unary .   (rule 53)
  1659.  
  1660.     $default    reduce using rule 53 (term)
  1661.  
  1662.  
  1663.  
  1664. state 91
  1665.  
  1666.     comma  ->  comma ',' cond .   (rule 24)
  1667.  
  1668.     $default    reduce using rule 24 (comma)
  1669.  
  1670.  
  1671.  
  1672. state 92
  1673.  
  1674.     assignline  ->  id expr expr expr expr . expr expr   (rule 16)
  1675.     assignline  ->  id expr expr expr expr . expr   (rule 17)
  1676.     assignline  ->  id expr expr expr expr .   (rule 18)
  1677.  
  1678.     NUM     shift, and go to state 13
  1679.     STRING    shift, and go to state 14
  1680.     IDSTRING    shift, and go to state 15
  1681.     ERR     shift, and go to state 16
  1682.     '-'     shift, and go to state 18
  1683.     '!'     shift, and go to state 19
  1684.     '~'     shift, and go to state 20
  1685.     '('     shift, and go to state 21
  1686.  
  1687.     IDSTRING    [reduce using rule 18 (assignline)]
  1688.     $default    reduce using rule 18 (assignline)
  1689.  
  1690.     expr    go to state 96
  1691.     id      go to state 23
  1692.     assign    go to state 24
  1693.     cond    go to state 25
  1694.     logcond    go to state 26
  1695.     binlogcond    go to state 27
  1696.     compeq    go to state 28
  1697.     comp    go to state 29
  1698.     shift    go to state 30
  1699.     factor    go to state 31
  1700.     term    go to state 32
  1701.     unary    go to state 33
  1702.     atom    go to state 34
  1703.  
  1704.  
  1705.  
  1706. state 93
  1707.  
  1708.     atom  ->  id '(' expr ',' . expr ')'   (rule 63)
  1709.     atom  ->  id '(' expr ',' . expr ',' expr ')'   (rule 64)
  1710.     atom  ->  id '(' expr ',' . expr ',' expr ',' expr ')'   (rule 65)
  1711.     atom  ->  id '(' expr ',' . expr ',' expr ',' expr ',' expr ')'   (rule 66)
  1712.     atom  ->  id '(' expr ',' . expr ',' expr ',' expr ',' expr ',' expr ')'   (rule 67)
  1713.  
  1714.     NUM     shift, and go to state 13
  1715.     STRING    shift, and go to state 14
  1716.     IDSTRING    shift, and go to state 15
  1717.     ERR     shift, and go to state 16
  1718.     '-'     shift, and go to state 18
  1719.     '!'     shift, and go to state 19
  1720.     '~'     shift, and go to state 20
  1721.     '('     shift, and go to state 21
  1722.  
  1723.     expr    go to state 97
  1724.     id      go to state 23
  1725.     assign    go to state 24
  1726.     cond    go to state 25
  1727.     logcond    go to state 26
  1728.     binlogcond    go to state 27
  1729.     compeq    go to state 28
  1730.     comp    go to state 29
  1731.     shift    go to state 30
  1732.     factor    go to state 31
  1733.     term    go to state 32
  1734.     unary    go to state 33
  1735.     atom    go to state 34
  1736.  
  1737.  
  1738.  
  1739. state 94
  1740.  
  1741.     atom  ->  id '(' expr ')' .   (rule 62)
  1742.  
  1743.     $default    reduce using rule 62 (atom)
  1744.  
  1745.  
  1746.  
  1747. state 95
  1748.  
  1749.     cond  ->  logcond '?' expr ':' . cond   (rule 28)
  1750.  
  1751.     NUM     shift, and go to state 13
  1752.     STRING    shift, and go to state 14
  1753.     IDSTRING    shift, and go to state 15
  1754.     ERR     shift, and go to state 16
  1755.     '-'     shift, and go to state 18
  1756.     '!'     shift, and go to state 19
  1757.     '~'     shift, and go to state 20
  1758.     '('     shift, and go to state 21
  1759.  
  1760.     id      go to state 36
  1761.     cond    go to state 98
  1762.     logcond    go to state 26
  1763.     binlogcond    go to state 27
  1764.     compeq    go to state 28
  1765.     comp    go to state 29
  1766.     shift    go to state 30
  1767.     factor    go to state 31
  1768.     term    go to state 32
  1769.     unary    go to state 33
  1770.     atom    go to state 34
  1771.  
  1772.  
  1773.  
  1774. state 96
  1775.  
  1776.     assignline  ->  id expr expr expr expr expr . expr   (rule 16)
  1777.     assignline  ->  id expr expr expr expr expr .   (rule 17)
  1778.  
  1779.     NUM     shift, and go to state 13
  1780.     STRING    shift, and go to state 14
  1781.     IDSTRING    shift, and go to state 15
  1782.     ERR     shift, and go to state 16
  1783.     '-'     shift, and go to state 18
  1784.     '!'     shift, and go to state 19
  1785.     '~'     shift, and go to state 20
  1786.     '('     shift, and go to state 21
  1787.  
  1788.     IDSTRING    [reduce using rule 17 (assignline)]
  1789.     $default    reduce using rule 17 (assignline)
  1790.  
  1791.     expr    go to state 99
  1792.     id      go to state 23
  1793.     assign    go to state 24
  1794.     cond    go to state 25
  1795.     logcond    go to state 26
  1796.     binlogcond    go to state 27
  1797.     compeq    go to state 28
  1798.     comp    go to state 29
  1799.     shift    go to state 30
  1800.     factor    go to state 31
  1801.     term    go to state 32
  1802.     unary    go to state 33
  1803.     atom    go to state 34
  1804.  
  1805.  
  1806.  
  1807. state 97
  1808.  
  1809.     atom  ->  id '(' expr ',' expr . ')'   (rule 63)
  1810.     atom  ->  id '(' expr ',' expr . ',' expr ')'   (rule 64)
  1811.     atom  ->  id '(' expr ',' expr . ',' expr ',' expr ')'   (rule 65)
  1812.     atom  ->  id '(' expr ',' expr . ',' expr ',' expr ',' expr ')'   (rule 66)
  1813.     atom  ->  id '(' expr ',' expr . ',' expr ',' expr ',' expr ',' expr ')'   (rule 67)
  1814.  
  1815.     ','     shift, and go to state 100
  1816.     ')'     shift, and go to state 101
  1817.  
  1818.  
  1819.  
  1820. state 98
  1821.  
  1822.     cond  ->  logcond '?' expr ':' cond .   (rule 28)
  1823.  
  1824.     $default    reduce using rule 28 (cond)
  1825.  
  1826.  
  1827.  
  1828. state 99
  1829.  
  1830.     assignline  ->  id expr expr expr expr expr expr .   (rule 16)
  1831.  
  1832.     $default    reduce using rule 16 (assignline)
  1833.  
  1834.  
  1835.  
  1836. state 100
  1837.  
  1838.     atom  ->  id '(' expr ',' expr ',' . expr ')'   (rule 64)
  1839.     atom  ->  id '(' expr ',' expr ',' . expr ',' expr ')'   (rule 65)
  1840.     atom  ->  id '(' expr ',' expr ',' . expr ',' expr ',' expr ')'   (rule 66)
  1841.     atom  ->  id '(' expr ',' expr ',' . expr ',' expr ',' expr ',' expr ')'   (rule 67)
  1842.  
  1843.     NUM     shift, and go to state 13
  1844.     STRING    shift, and go to state 14
  1845.     IDSTRING    shift, and go to state 15
  1846.     ERR     shift, and go to state 16
  1847.     '-'     shift, and go to state 18
  1848.     '!'     shift, and go to state 19
  1849.     '~'     shift, and go to state 20
  1850.     '('     shift, and go to state 21
  1851.  
  1852.     expr    go to state 102
  1853.     id      go to state 23
  1854.     assign    go to state 24
  1855.     cond    go to state 25
  1856.     logcond    go to state 26
  1857.     binlogcond    go to state 27
  1858.     compeq    go to state 28
  1859.     comp    go to state 29
  1860.     shift    go to state 30
  1861.     factor    go to state 31
  1862.     term    go to state 32
  1863.     unary    go to state 33
  1864.     atom    go to state 34
  1865.  
  1866.  
  1867.  
  1868. state 101
  1869.  
  1870.     atom  ->  id '(' expr ',' expr ')' .   (rule 63)
  1871.  
  1872.     $default    reduce using rule 63 (atom)
  1873.  
  1874.  
  1875.  
  1876. state 102
  1877.  
  1878.     atom  ->  id '(' expr ',' expr ',' expr . ')'   (rule 64)
  1879.     atom  ->  id '(' expr ',' expr ',' expr . ',' expr ')'   (rule 65)
  1880.     atom  ->  id '(' expr ',' expr ',' expr . ',' expr ',' expr ')'   (rule 66)
  1881.     atom  ->  id '(' expr ',' expr ',' expr . ',' expr ',' expr ',' expr ')'   (rule 67)
  1882.  
  1883.     ','     shift, and go to state 103
  1884.     ')'     shift, and go to state 104
  1885.  
  1886.  
  1887.  
  1888. state 103
  1889.  
  1890.     atom  ->  id '(' expr ',' expr ',' expr ',' . expr ')'   (rule 65)
  1891.     atom  ->  id '(' expr ',' expr ',' expr ',' . expr ',' expr ')'   (rule 66)
  1892.     atom  ->  id '(' expr ',' expr ',' expr ',' . expr ',' expr ',' expr ')'   (rule 67)
  1893.  
  1894.     NUM     shift, and go to state 13
  1895.     STRING    shift, and go to state 14
  1896.     IDSTRING    shift, and go to state 15
  1897.     ERR     shift, and go to state 16
  1898.     '-'     shift, and go to state 18
  1899.     '!'     shift, and go to state 19
  1900.     '~'     shift, and go to state 20
  1901.     '('     shift, and go to state 21
  1902.  
  1903.     expr    go to state 105
  1904.     id      go to state 23
  1905.     assign    go to state 24
  1906.     cond    go to state 25
  1907.     logcond    go to state 26
  1908.     binlogcond    go to state 27
  1909.     compeq    go to state 28
  1910.     comp    go to state 29
  1911.     shift    go to state 30
  1912.     factor    go to state 31
  1913.     term    go to state 32
  1914.     unary    go to state 33
  1915.     atom    go to state 34
  1916.  
  1917.  
  1918.  
  1919. state 104
  1920.  
  1921.     atom  ->  id '(' expr ',' expr ',' expr ')' .   (rule 64)
  1922.  
  1923.     $default    reduce using rule 64 (atom)
  1924.  
  1925.  
  1926.  
  1927. state 105
  1928.  
  1929.     atom  ->  id '(' expr ',' expr ',' expr ',' expr . ')'   (rule 65)
  1930.     atom  ->  id '(' expr ',' expr ',' expr ',' expr . ',' expr ')'   (rule 66)
  1931.     atom  ->  id '(' expr ',' expr ',' expr ',' expr . ',' expr ',' expr ')'   (rule 67)
  1932.  
  1933.     ','     shift, and go to state 106
  1934.     ')'     shift, and go to state 107
  1935.  
  1936.  
  1937.  
  1938. state 106
  1939.  
  1940.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ',' . expr ')'   (rule 66)
  1941.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ',' . expr ',' expr ')'   (rule 67)
  1942.  
  1943.     NUM     shift, and go to state 13
  1944.     STRING    shift, and go to state 14
  1945.     IDSTRING    shift, and go to state 15
  1946.     ERR     shift, and go to state 16
  1947.     '-'     shift, and go to state 18
  1948.     '!'     shift, and go to state 19
  1949.     '~'     shift, and go to state 20
  1950.     '('     shift, and go to state 21
  1951.  
  1952.     expr    go to state 108
  1953.     id      go to state 23
  1954.     assign    go to state 24
  1955.     cond    go to state 25
  1956.     logcond    go to state 26
  1957.     binlogcond    go to state 27
  1958.     compeq    go to state 28
  1959.     comp    go to state 29
  1960.     shift    go to state 30
  1961.     factor    go to state 31
  1962.     term    go to state 32
  1963.     unary    go to state 33
  1964.     atom    go to state 34
  1965.  
  1966.  
  1967.  
  1968. state 107
  1969.  
  1970.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ')' .   (rule 65)
  1971.  
  1972.     $default    reduce using rule 65 (atom)
  1973.  
  1974.  
  1975.  
  1976. state 108
  1977.  
  1978.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ',' expr . ')'   (rule 66)
  1979.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ',' expr . ',' expr ')'   (rule 67)
  1980.  
  1981.     ','     shift, and go to state 109
  1982.     ')'     shift, and go to state 110
  1983.  
  1984.  
  1985.  
  1986. state 109
  1987.  
  1988.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ',' expr ',' . expr ')'   (rule 67)
  1989.  
  1990.     NUM     shift, and go to state 13
  1991.     STRING    shift, and go to state 14
  1992.     IDSTRING    shift, and go to state 15
  1993.     ERR     shift, and go to state 16
  1994.     '-'     shift, and go to state 18
  1995.     '!'     shift, and go to state 19
  1996.     '~'     shift, and go to state 20
  1997.     '('     shift, and go to state 21
  1998.  
  1999.     expr    go to state 111
  2000.     id      go to state 23
  2001.     assign    go to state 24
  2002.     cond    go to state 25
  2003.     logcond    go to state 26
  2004.     binlogcond    go to state 27
  2005.     compeq    go to state 28
  2006.     comp    go to state 29
  2007.     shift    go to state 30
  2008.     factor    go to state 31
  2009.     term    go to state 32
  2010.     unary    go to state 33
  2011.     atom    go to state 34
  2012.  
  2013.  
  2014.  
  2015. state 110
  2016.  
  2017.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ',' expr ')' .   (rule 66)
  2018.  
  2019.     $default    reduce using rule 66 (atom)
  2020.  
  2021.  
  2022.  
  2023. state 111
  2024.  
  2025.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ',' expr ',' expr . ')'   (rule 67)
  2026.  
  2027.     ')'     shift, and go to state 112
  2028.  
  2029.  
  2030.  
  2031. state 112
  2032.  
  2033.     atom  ->  id '(' expr ',' expr ',' expr ',' expr ',' expr ',' expr ')' .   (rule 67)
  2034.  
  2035.     $default    reduce using rule 67 (atom)
  2036.  
  2037.  
  2038.  
  2039. state 113
  2040.  
  2041.     $       go to state 114
  2042.  
  2043.  
  2044.  
  2045. state 114
  2046.  
  2047.     $default    accept
  2048.