sql-parser-vlad 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ require File.dirname(__FILE__) + '/parser.rex.rb'
11
11
  module SQLParser
12
12
  class Parser < Racc::Parser
13
13
 
14
- module_eval(<<'...end parser.racc/module_eval...', 'parser.racc', 342)
14
+ module_eval(<<'...end parser.racc/module_eval...', 'parser.racc', 343)
15
15
 
16
16
  def self.parse(sql)
17
17
  new.scan_str(sql)
@@ -20,352 +20,364 @@ end
20
20
  ##### State transition tables begin ###
21
21
 
22
22
  racc_action_table = [
23
- 47, 97, 97, 227, 102, 31, 109, 76, 71, 238,
24
- 47, 229, 147, 230, 231, 239, 135, 7, 47, 103,
25
- 8, 105, 106, 31, 107, 108, 217, 218, 73, 148,
26
- 73, 139, 140, 74, 75, 194, 47, 21, 21, 21,
27
- 77, 232, 47, 91, 90, 50, 51, 21, 35, 48,
28
- 39, 41, 42, 43, 44, 21, 52, 149, 55, 48,
29
- 47, 50, 51, 50, 51, 31, 35, 48, 39, 41,
30
- 42, 43, 44, 21, 52, 150, 55, 73, 47, 21,
31
- 153, 50, 51, 31, 35, 48, 39, 41, 42, 43,
32
- 44, 48, 52, 63, 55, 174, 47, 21, 261, 262,
33
- 175, 31, 176, 177, 178, 50, 51, 179, 35, 48,
34
- 39, 41, 42, 43, 44, 21, 52, 180, 55, 115,
35
- 47, 182, 183, 50, 51, 31, 35, 48, 39, 41,
36
- 42, 43, 44, 21, 52, 69, 55, 63, 47, 63,
37
- 189, 50, 51, 31, 35, 48, 39, 41, 42, 43,
38
- 44, 190, 52, 69, 55, 194, 47, 21, 206, 209,
39
- 69, 31, 212, 213, 219, 50, 51, -134, 35, 48,
40
- 39, 41, 42, 43, 44, 21, 52, 92, 55, 226,
41
- 47, 89, 123, 50, 51, 31, 35, 48, 39, 41,
42
- 42, 43, 44, 21, 52, 88, 55, 87, -134, -134,
43
- -134, 50, 51, 234, 35, 48, 39, 41, 42, 43,
44
- 44, -153, 52, 47, 55, 86, 85, 21, 31, 84,
45
- 83, 82, 81, 8, 102, 50, 51, 125, 35, 48,
46
- 39, 41, 42, 43, 44, 47, 52, -90, 55, 103,
47
- 31, 105, 106, 70, 107, 108, 249, 250, 194, 251,
48
- 21, 209, 69, 234, 63, 57, 255, 56, 50, 51,
49
- 257, 35, 48, 39, 41, 42, 43, 44, 47, 52,
50
- 194, 55, 21, 31, 73, 12, 264, 11, 8, 266,
51
- 50, 51, 267, 35, 48, 39, 41, 42, 43, 44,
52
- 47, 52, 268, 55, 269, 31, 270, 9, 73, 73,
53
- 131, 13, 14, 15, 17, 21, 123, 136, 137, 101,
54
- 73, 144, 63, 50, 51, 146, 35, 48, 39, 41,
55
- 42, 43, 44, 47, 52, nil, 55, 21, 31, nil,
56
- nil, nil, nil, 8, nil, 50, 51, nil, 35, 48,
57
- 39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
58
- 232, 195, 196, nil, 197, 198, 199, nil, nil, nil,
59
- 21, 200, 201, 202, 203, 204, 205, nil, 50, 51,
23
+ 47, 99, 99, 58, 152, 31, 112, 78, 239, 105,
24
+ 47, 58, 58, 153, 240, 154, 138, 230, 47, 231,
25
+ 232, 93, 92, 233, 106, 228, 108, 109, 75, 110,
26
+ 111, 219, 220, 76, 77, 65, 47, 21, 21, 21,
27
+ 79, 233, 47, 65, 65, 50, 51, 21, 35, 48,
28
+ 39, 41, 42, 43, 44, 21, 52, 197, 55, 48,
29
+ 47, 50, 51, 50, 51, 158, 35, 48, 39, 41,
30
+ 42, 43, 44, 21, 52, 7, 55, 73, 8, 21,
31
+ 75, 50, 51, 157, 35, 48, 39, 41, 42, 43,
32
+ 44, 48, 52, 47, 55, -135, 162, 21, 158, 75,
33
+ 262, 263, 75, 8, 75, 50, 51, 178, 35, 48,
34
+ 39, 41, 42, 43, 44, 47, 52, 179, 55, 180,
35
+ 31, 181, 165, 142, 143, 182, -135, -135, -135, 162,
36
+ 21, 183, 184, 126, 186, 47, 187, 75, 50, 51,
37
+ 31, 35, 48, 39, 41, 42, 43, 44, 65, 52,
38
+ 118, 55, 21, 47, 193, 194, 71, 197, 31, 58,
39
+ 50, 51, 211, 35, 48, 39, 41, 42, 43, 44,
40
+ 71, 52, 21, 55, 71, 214, 215, 47, 221, 8,
41
+ 50, 51, 31, 35, 48, 39, 41, 42, 43, 44,
42
+ 21, 52, 94, 55, 126, 47, 91, 90, 50, 51,
43
+ 31, 35, 48, 39, 41, 42, 43, 44, 235, 52,
44
+ 89, 55, -154, 47, 21, 88, 87, 86, 31, 85,
45
+ 84, 83, 50, 51, -91, 35, 48, 39, 41, 42,
46
+ 43, 44, 21, 52, 250, 55, 251, 197, 252, 211,
47
+ 50, 51, 72, 35, 48, 39, 41, 42, 43, 44,
48
+ 21, 52, 47, 55, 235, 71, 57, 158, 50, 51,
49
+ 256, 35, 48, 39, 41, 42, 43, 44, 56, 52,
50
+ 47, 55, 258, 197, 75, 31, 12, 265, 11, 267,
51
+ 268, 165, 269, 270, 128, 271, 9, 140, 162, 21,
52
+ 47, 139, 144, 104, 134, 31, 148, 50, 51, 65,
53
+ 35, 48, 39, 41, 42, 43, 44, 21, 52, 150,
54
+ 55, 151, 47, nil, nil, 50, 51, 31, 35, 48,
55
+ 39, 41, 42, 43, 44, nil, 52, 21, 55, nil,
56
+ nil, nil, 47, nil, nil, 50, 51, 31, 35, 48,
57
+ 39, 41, 42, 43, 44, nil, 52, nil, 55, 21,
58
+ 47, nil, nil, nil, nil, 31, nil, 50, 51, nil,
59
+ 35, 48, 39, 41, 42, 43, 44, nil, 52, 21,
60
+ 55, nil, nil, nil, nil, nil, nil, 50, 51, nil,
61
+ 35, 48, 39, 41, 42, 43, 44, 21, 52, nil,
62
+ 55, nil, nil, nil, 105, 50, 51, nil, 35, 48,
63
+ 39, 41, 42, 43, 44, 47, 52, nil, 55, 106,
64
+ 31, 108, 109, nil, 110, 111, 13, 14, 15, 17,
65
+ nil, nil, nil, 47, nil, nil, 198, 199, 31, 200,
66
+ 201, 202, nil, 8, nil, nil, 203, 204, 205, 206,
67
+ 207, 208, 21, nil, nil, nil, nil, nil, nil, nil,
68
+ 50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
69
+ 21, 52, nil, 55, nil, nil, nil, nil, 50, 51,
60
70
  nil, 35, 48, 39, 41, 42, 43, 44, 47, 52,
61
- nil, 55, 21, 31, nil, nil, nil, nil, nil, nil,
62
- 50, 51, 17, 35, 48, 39, 41, 42, 43, 44,
63
- 47, 52, nil, 55, nil, 31, nil, nil, nil, nil,
64
- nil, nil, nil, nil, 17, 21, nil, nil, nil, nil,
71
+ nil, 55, 105, 31, nil, 103, nil, nil, 8, 104,
72
+ nil, nil, nil, nil, nil, nil, 47, 106, nil, 108,
73
+ 109, 31, 110, 111, nil, nil, nil, nil, nil, nil,
74
+ 17, nil, nil, nil, nil, 21, nil, nil, nil, nil,
65
75
  nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
66
- 42, 43, 44, 47, 52, nil, 55, 21, 31, nil,
67
- nil, nil, nil, nil, nil, 50, 51, 17, 35, 48,
68
- 39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
69
- 232, nil, nil, nil, nil, nil, nil, nil, nil, nil,
76
+ 42, 43, 44, 21, 52, nil, 55, nil, nil, nil,
77
+ nil, 50, 51, nil, 35, 48, 39, 41, 42, 43,
78
+ 44, 47, 52, nil, 55, nil, 31, nil, nil, nil,
79
+ nil, nil, nil, nil, nil, 17, nil, nil, nil, 47,
80
+ nil, nil, nil, nil, 31, nil, nil, nil, nil, nil,
81
+ nil, nil, nil, 17, nil, nil, nil, 47, 21, nil,
82
+ nil, nil, 233, nil, nil, nil, 50, 51, nil, 35,
83
+ 48, 39, 41, 42, 43, 44, 21, 52, nil, 55,
84
+ nil, 47, nil, nil, 50, 51, 233, 35, 48, 39,
85
+ 41, 42, 43, 44, 21, 52, nil, 55, nil, nil,
86
+ nil, nil, 50, 51, nil, 35, 48, 39, 41, 42,
87
+ 43, 44, 47, 52, nil, 55, nil, 158, 21, nil,
88
+ nil, nil, nil, nil, nil, nil, 50, 51, nil, 35,
89
+ 48, 39, 41, 42, 43, 44, nil, 52, 47, 55,
90
+ nil, 165, nil, 31, nil, nil, nil, nil, 162, 21,
91
+ nil, nil, nil, nil, nil, nil, nil, 50, 51, nil,
92
+ 35, 48, 39, 41, 42, 43, 44, 47, 52, nil,
93
+ 55, nil, 31, nil, nil, 21, nil, nil, nil, nil,
94
+ nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
95
+ 42, 43, 44, 47, 52, nil, 55, nil, 31, nil,
96
+ nil, nil, nil, nil, 21, nil, nil, nil, nil, nil,
97
+ nil, nil, nil, nil, nil, 35, 48, 39, 41, 42,
98
+ 43, 44, nil, 52, 47, 55, nil, nil, nil, 158,
70
99
  21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
71
- nil, 35, 48, 39, 41, 42, 43, 44, 47, 52,
72
- nil, 55, 21, 154, nil, nil, nil, nil, nil, nil,
73
- 50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
74
- 47, 52, nil, 55, nil, 232, nil, 161, nil, nil,
75
- nil, nil, nil, nil, 158, 21, nil, nil, nil, nil,
76
- 47, nil, nil, 50, 51, 31, 35, 48, 39, 41,
77
- 42, 43, 44, nil, 52, nil, 55, 21, nil, nil,
100
+ nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
101
+ 47, 55, nil, 165, nil, 233, nil, nil, nil, nil,
102
+ 162, 21, nil, nil, nil, nil, nil, nil, nil, 50,
103
+ 51, nil, 35, 48, 39, 41, 42, 43, 44, 47,
104
+ 52, nil, 55, nil, 233, nil, nil, 21, nil, nil,
78
105
  nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
79
- 39, 41, 42, 43, 44, 47, 52, 21, 55, nil,
80
- 154, nil, nil, nil, nil, 50, 51, nil, 35, 48,
81
106
  39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
82
- 31, nil, nil, nil, 161, nil, nil, nil, nil, nil,
83
- nil, 158, 21, 47, nil, nil, nil, nil, 31, nil,
84
- 50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
85
- nil, 52, 21, 55, nil, 47, nil, nil, nil, nil,
86
- 232, nil, nil, 35, 48, 39, 41, 42, 43, 44,
87
- 21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
88
- 232, 35, 48, 39, 41, 42, 43, 44, nil, 52,
89
- nil, 55, 21, 47, nil, nil, nil, nil, 232, nil,
107
+ 233, nil, nil, nil, nil, nil, 21, nil, nil, nil,
108
+ nil, nil, nil, nil, 50, 51, nil, 35, 48, 39,
109
+ 41, 42, 43, 44, 47, 52, nil, 55, nil, 233,
110
+ nil, nil, 21, nil, nil, nil, nil, nil, nil, nil,
90
111
  50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
91
- nil, 52, 21, 55, nil, nil, nil, 47, nil, nil,
92
- 50, 51, 232, 35, 48, 39, 41, 42, 43, 44,
93
- 21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
94
- 232, 35, 48, 39, 41, 42, 43, 44, nil, 52,
95
- nil, 55, nil, 47, 21, nil, nil, nil, 232, nil,
96
- nil, nil, 50, 51, nil, 35, 48, 39, 41, 42,
97
- 43, 44, 21, 52, nil, 55, nil, 47, nil, nil,
98
- 50, 51, 232, 35, 48, 39, 41, 42, 43, 44,
99
- 21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
100
- 232, 35, 48, 39, 41, 42, 43, 44, nil, 52,
101
- nil, 55, nil, nil, 21, nil, nil, nil, nil, nil,
102
- nil, nil, 50, 51, nil, 35, 48, 39, 41, 42,
103
- 43, 44, 21, 52, 47, 55, nil, nil, nil, 154,
112
+ 47, 52, nil, 55, nil, 233, nil, nil, nil, nil,
113
+ nil, 21, nil, nil, nil, nil, nil, nil, nil, 50,
114
+ 51, nil, 35, 48, 39, 41, 42, 43, 44, 47,
115
+ 52, nil, 55, nil, 233, nil, nil, 21, nil, nil,
116
+ nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
117
+ 39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
118
+ 233, nil, nil, nil, nil, nil, 21, nil, nil, nil,
119
+ nil, nil, nil, nil, 50, 51, nil, 35, 48, 39,
120
+ 41, 42, 43, 44, 47, 52, nil, 55, nil, 233,
121
+ nil, nil, 21, nil, nil, nil, nil, nil, nil, nil,
104
122
  50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
105
- nil, 52, nil, 55, nil, nil, nil, nil, nil, nil,
106
- 47, nil, nil, 161, nil, 154, nil, nil, nil, nil,
107
- 158, 21, nil, nil, nil, nil, nil, nil, nil, 50,
108
- 51, nil, 35, 48, 39, 41, 42, 43, 44, 161,
109
- 52, nil, 55, 47, nil, nil, 158, 21, 31, nil,
123
+ 47, 52, nil, 55, nil, 158, nil, nil, nil, nil,
124
+ nil, 21, nil, nil, nil, nil, nil, nil, nil, 50,
125
+ 51, nil, 35, 48, 39, 41, 42, 43, 44, 165,
126
+ 52, nil, 55, 47, nil, nil, 162, 21, 158, nil,
110
127
  nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
111
- 39, 41, 42, 43, 44, nil, 52, 47, 55, nil,
112
- nil, nil, 154, nil, nil, nil, nil, nil, nil, nil,
128
+ 39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
129
+ 31, nil, 165, nil, nil, nil, nil, nil, nil, 162,
113
130
  21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
114
131
  nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
115
- 47, 55, nil, 158, 21, 154, nil, nil, nil, nil,
116
- 8, nil, 50, 51, nil, 35, 48, 39, 41, 42,
117
- 43, 44, 47, 52, nil, 55, nil, 31, nil, 161,
118
- nil, nil, nil, nil, nil, nil, 158, 21, nil, nil,
119
- nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
120
- 39, 41, 42, 43, 44, 47, 52, nil, 55, 21,
121
- 154, nil, nil, nil, nil, nil, nil, 50, 51, nil,
122
- 35, 48, 39, 41, 42, 43, 44, nil, 52, nil,
123
- 55, nil, nil, nil, 161, nil, nil, nil, nil, nil,
124
- nil, 158, 21, nil, nil, nil, nil, nil, nil, nil,
132
+ nil, 55, 21, nil, nil, nil, nil, nil, nil, nil,
125
133
  50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
126
- nil, 52, 102, 55, nil, 100, nil, nil, nil, 101,
127
- nil, nil, nil, nil, nil, nil, nil, 103, nil, 105,
128
- 106, nil, 107, 108 ]
134
+ nil, 52, nil, 55 ]
129
135
 
130
136
  racc_action_check = [
131
- 83, 137, 57, 192, 187, 83, 59, 25, 20, 199,
132
- 190, 195, 104, 195, 195, 199, 89, 0, 85, 187,
133
- 0, 187, 187, 85, 187, 187, 187, 187, 59, 106,
134
- 20, 95, 95, 24, 24, 192, 255, 83, 137, 57,
135
- 25, 255, 251, 52, 52, 83, 83, 190, 83, 83,
136
- 83, 83, 83, 83, 83, 85, 83, 107, 83, 190,
137
- 70, 89, 89, 85, 85, 70, 85, 85, 85, 85,
138
- 85, 85, 85, 255, 85, 108, 85, 109, 100, 251,
139
- 114, 255, 255, 100, 255, 255, 255, 255, 255, 255,
140
- 255, 251, 255, 69, 255, 125, 74, 70, 250, 250,
141
- 126, 74, 127, 128, 129, 70, 70, 130, 70, 70,
142
- 70, 70, 70, 70, 70, 100, 70, 134, 70, 68,
143
- 75, 142, 143, 100, 100, 75, 100, 100, 100, 100,
144
- 100, 100, 100, 74, 100, 66, 100, 146, 76, 147,
145
- 152, 74, 74, 76, 74, 74, 74, 74, 74, 74,
146
- 74, 153, 74, 65, 74, 155, 77, 75, 158, 159,
147
- 64, 77, 184, 185, 188, 75, 75, 23, 75, 75,
148
- 75, 75, 75, 75, 75, 76, 75, 55, 75, 191,
149
- 86, 49, 193, 76, 76, 86, 76, 76, 76, 76,
150
- 76, 76, 76, 77, 76, 48, 76, 47, 23, 23,
151
- 23, 77, 77, 197, 77, 77, 77, 77, 77, 77,
152
- 77, 45, 77, 82, 77, 44, 43, 86, 82, 42,
153
- 41, 39, 36, 206, 116, 86, 86, 82, 86, 86,
154
- 86, 86, 86, 86, 86, 84, 86, 21, 86, 116,
155
- 84, 116, 116, 19, 116, 116, 218, 219, 221, 222,
156
- 82, 228, 16, 230, 12, 11, 233, 9, 82, 82,
157
- 238, 82, 82, 82, 82, 82, 82, 82, 234, 82,
158
- 248, 82, 84, 234, 249, 7, 252, 5, 234, 256,
159
- 84, 84, 258, 84, 84, 84, 84, 84, 84, 84,
160
- 8, 84, 259, 84, 261, 8, 262, 1, 81, 268,
161
- 87, 8, 8, 8, 8, 234, 80, 90, 93, 99,
162
- 71, 101, 102, 234, 234, 103, 234, 234, 234, 234,
163
- 234, 234, 234, 232, 234, nil, 234, 8, 232, nil,
164
- nil, nil, nil, 232, nil, 8, 8, nil, 8, 8,
165
- 8, 8, 8, 8, 8, 231, 8, nil, 8, nil,
166
- 231, 157, 157, nil, 157, 157, 157, nil, nil, nil,
167
- 232, 157, 157, 157, 157, 157, 157, nil, 232, 232,
168
- nil, 232, 232, 232, 232, 232, 232, 232, 13, 232,
169
- nil, 232, 231, 13, nil, nil, nil, nil, nil, nil,
170
- 231, 231, 13, 231, 231, 231, 231, 231, 231, 231,
171
- 14, 231, nil, 231, nil, 14, nil, nil, nil, nil,
172
- nil, nil, nil, nil, 14, 13, nil, nil, nil, nil,
173
- nil, nil, nil, 13, 13, nil, 13, 13, 13, 13,
174
- 13, 13, 13, 15, 13, nil, 13, 14, 15, nil,
175
- nil, nil, nil, nil, nil, 14, 14, 15, 14, 14,
176
- 14, 14, 14, 14, 14, 229, 14, nil, 14, nil,
177
- 229, nil, nil, nil, nil, nil, nil, nil, nil, nil,
178
- 15, nil, nil, nil, nil, nil, nil, nil, 15, 15,
179
- nil, 15, 15, 15, 15, 15, 15, 15, 217, 15,
180
- nil, 15, 229, 217, nil, nil, nil, nil, nil, nil,
181
- 229, 229, nil, 229, 229, 229, 229, 229, 229, 229,
182
- 264, 229, nil, 229, nil, 264, nil, 217, nil, nil,
183
- nil, nil, nil, nil, 217, 217, nil, nil, nil, nil,
184
- 213, nil, nil, 217, 217, 213, 217, 217, 217, 217,
185
- 217, 217, 217, nil, 217, nil, 217, 264, nil, nil,
186
- nil, nil, nil, nil, nil, 264, 264, nil, 264, 264,
187
- 264, 264, 264, 264, 264, 209, 264, 213, 264, nil,
188
- 209, nil, nil, nil, nil, 213, 213, nil, 213, 213,
189
- 213, 213, 213, 213, 213, 26, 213, nil, 213, nil,
190
- 26, nil, nil, nil, 209, nil, nil, nil, nil, nil,
191
- nil, 209, 209, 31, nil, nil, nil, nil, 31, nil,
192
- 209, 209, nil, 209, 209, 209, 209, 209, 209, 209,
193
- nil, 209, 26, 209, nil, 205, nil, nil, nil, nil,
194
- 205, nil, nil, 26, 26, 26, 26, 26, 26, 26,
195
- 31, 26, nil, 26, nil, 204, nil, nil, 31, 31,
196
- 204, 31, 31, 31, 31, 31, 31, 31, nil, 31,
197
- nil, 31, 205, 203, nil, nil, nil, nil, 203, nil,
198
- 205, 205, nil, 205, 205, 205, 205, 205, 205, 205,
199
- nil, 205, 204, 205, nil, nil, nil, 202, nil, nil,
200
- 204, 204, 202, 204, 204, 204, 204, 204, 204, 204,
201
- 203, 204, nil, 204, nil, 201, nil, nil, 203, 203,
202
- 201, 203, 203, 203, 203, 203, 203, 203, nil, 203,
203
- nil, 203, nil, 200, 202, nil, nil, nil, 200, nil,
204
- nil, nil, 202, 202, nil, 202, 202, 202, 202, 202,
205
- 202, 202, 201, 202, nil, 202, nil, 198, nil, nil,
206
- 201, 201, 198, 201, 201, 201, 201, 201, 201, 201,
207
- 200, 201, nil, 201, nil, 196, nil, nil, 200, 200,
208
- 196, 200, 200, 200, 200, 200, 200, 200, nil, 200,
209
- nil, 200, nil, nil, 198, nil, nil, nil, nil, nil,
210
- nil, nil, 198, 198, nil, 198, 198, 198, 198, 198,
211
- 198, 198, 196, 198, 194, 198, nil, nil, nil, 194,
212
- 196, 196, nil, 196, 196, 196, 196, 196, 196, 196,
213
- nil, 196, nil, 196, nil, nil, nil, nil, nil, nil,
214
- 189, nil, nil, 194, nil, 189, nil, nil, nil, nil,
215
- 194, 194, nil, nil, nil, nil, nil, nil, nil, 194,
216
- 194, nil, 194, 194, 194, 194, 194, 194, 194, 189,
217
- 194, nil, 194, 183, nil, nil, 189, 189, 183, nil,
218
- nil, nil, nil, nil, nil, 189, 189, nil, 189, 189,
219
- 189, 189, 189, 189, 189, nil, 189, 161, 189, nil,
220
- nil, nil, 161, nil, nil, nil, nil, nil, nil, nil,
221
- 183, nil, nil, nil, nil, nil, nil, nil, 183, 183,
222
- nil, 183, 183, 183, 183, 183, 183, 183, nil, 183,
223
- 154, 183, nil, 161, 161, 154, nil, nil, nil, nil,
224
- 154, nil, 161, 161, nil, 161, 161, 161, 161, 161,
225
- 161, 161, 144, 161, nil, 161, nil, 144, nil, 154,
226
- nil, nil, nil, nil, nil, nil, 154, 154, nil, nil,
227
- nil, nil, nil, nil, nil, 154, 154, nil, 154, 154,
228
- 154, 154, 154, 154, 154, 115, 154, nil, 154, 144,
229
- 115, nil, nil, nil, nil, nil, nil, 144, 144, nil,
230
- 144, 144, 144, 144, 144, 144, 144, nil, 144, nil,
231
- 144, nil, nil, nil, 115, nil, nil, nil, nil, nil,
232
- nil, 115, 115, nil, nil, nil, nil, nil, nil, nil,
233
- 115, 115, nil, 115, 115, 115, 115, 115, 115, 115,
234
- nil, 115, 58, 115, nil, 58, nil, nil, nil, 58,
235
- nil, nil, nil, nil, nil, nil, nil, 58, nil, 58,
236
- 58, nil, 58, 58 ]
137
+ 103, 140, 57, 12, 109, 103, 60, 25, 202, 191,
138
+ 252, 151, 71, 110, 202, 111, 91, 198, 265, 198,
139
+ 198, 52, 52, 265, 191, 195, 191, 191, 60, 191,
140
+ 191, 191, 191, 24, 24, 12, 256, 103, 140, 57,
141
+ 25, 256, 194, 151, 71, 103, 103, 252, 103, 103,
142
+ 103, 103, 103, 103, 103, 265, 103, 195, 103, 252,
143
+ 165, 91, 91, 265, 265, 165, 265, 265, 265, 265,
144
+ 265, 265, 265, 256, 265, 0, 265, 20, 0, 194,
145
+ 112, 256, 256, 117, 256, 256, 256, 256, 256, 256,
146
+ 256, 194, 256, 158, 256, 23, 165, 165, 158, 20,
147
+ 251, 251, 83, 158, 269, 165, 165, 128, 165, 165,
148
+ 165, 165, 165, 165, 165, 72, 165, 129, 165, 130,
149
+ 72, 131, 158, 97, 97, 132, 23, 23, 23, 158,
150
+ 158, 133, 137, 82, 146, 148, 147, 73, 158, 158,
151
+ 148, 158, 158, 158, 158, 158, 158, 158, 150, 158,
152
+ 70, 158, 72, 76, 156, 157, 68, 159, 76, 162,
153
+ 72, 72, 163, 72, 72, 72, 72, 72, 72, 72,
154
+ 67, 72, 148, 72, 66, 188, 189, 77, 192, 58,
155
+ 148, 148, 77, 148, 148, 148, 148, 148, 148, 148,
156
+ 76, 148, 55, 148, 196, 78, 49, 48, 76, 76,
157
+ 78, 76, 76, 76, 76, 76, 76, 76, 200, 76,
158
+ 47, 76, 45, 79, 77, 44, 43, 42, 79, 41,
159
+ 39, 36, 77, 77, 21, 77, 77, 77, 77, 77,
160
+ 77, 77, 78, 77, 220, 77, 221, 223, 224, 229,
161
+ 78, 78, 19, 78, 78, 78, 78, 78, 78, 78,
162
+ 79, 78, 118, 78, 231, 16, 11, 118, 79, 79,
163
+ 234, 79, 79, 79, 79, 79, 79, 79, 9, 79,
164
+ 84, 79, 239, 249, 250, 84, 7, 253, 5, 257,
165
+ 259, 118, 260, 262, 84, 263, 1, 95, 118, 118,
166
+ 85, 92, 100, 102, 89, 85, 104, 118, 118, 105,
167
+ 118, 118, 118, 118, 118, 118, 118, 84, 118, 106,
168
+ 118, 107, 86, nil, nil, 84, 84, 86, 84, 84,
169
+ 84, 84, 84, 84, 84, nil, 84, 85, 84, nil,
170
+ nil, nil, 87, nil, nil, 85, 85, 87, 85, 85,
171
+ 85, 85, 85, 85, 85, nil, 85, nil, 85, 86,
172
+ 88, nil, nil, nil, nil, 88, nil, 86, 86, nil,
173
+ 86, 86, 86, 86, 86, 86, 86, nil, 86, 87,
174
+ 86, nil, nil, nil, nil, nil, nil, 87, 87, nil,
175
+ 87, 87, 87, 87, 87, 87, 87, 88, 87, nil,
176
+ 87, nil, nil, nil, 119, 88, 88, nil, 88, 88,
177
+ 88, 88, 88, 88, 88, 8, 88, nil, 88, 119,
178
+ 8, 119, 119, nil, 119, 119, 8, 8, 8, 8,
179
+ nil, nil, nil, 235, nil, nil, 161, 161, 235, 161,
180
+ 161, 161, nil, 235, nil, nil, 161, 161, 161, 161,
181
+ 161, 161, 8, nil, nil, nil, nil, nil, nil, nil,
182
+ 8, 8, nil, 8, 8, 8, 8, 8, 8, 8,
183
+ 235, 8, nil, 8, nil, nil, nil, nil, 235, 235,
184
+ nil, 235, 235, 235, 235, 235, 235, 235, 233, 235,
185
+ nil, 235, 59, 233, nil, 59, nil, nil, 233, 59,
186
+ nil, nil, nil, nil, nil, nil, 13, 59, nil, 59,
187
+ 59, 13, 59, 59, nil, nil, nil, nil, nil, nil,
188
+ 13, nil, nil, nil, nil, 233, nil, nil, nil, nil,
189
+ nil, nil, nil, 233, 233, nil, 233, 233, 233, 233,
190
+ 233, 233, 233, 13, 233, nil, 233, nil, nil, nil,
191
+ nil, 13, 13, nil, 13, 13, 13, 13, 13, 13,
192
+ 13, 14, 13, nil, 13, nil, 14, nil, nil, nil,
193
+ nil, nil, nil, nil, nil, 14, nil, nil, nil, 15,
194
+ nil, nil, nil, nil, 15, nil, nil, nil, nil, nil,
195
+ nil, nil, nil, 15, nil, nil, nil, 232, 14, nil,
196
+ nil, nil, 232, nil, nil, nil, 14, 14, nil, 14,
197
+ 14, 14, 14, 14, 14, 14, 15, 14, nil, 14,
198
+ nil, 230, nil, nil, 15, 15, 230, 15, 15, 15,
199
+ 15, 15, 15, 15, 232, 15, nil, 15, nil, nil,
200
+ nil, nil, 232, 232, nil, 232, 232, 232, 232, 232,
201
+ 232, 232, 219, 232, nil, 232, nil, 219, 230, nil,
202
+ nil, nil, nil, nil, nil, nil, 230, 230, nil, 230,
203
+ 230, 230, 230, 230, 230, 230, nil, 230, 215, 230,
204
+ nil, 219, nil, 215, nil, nil, nil, nil, 219, 219,
205
+ nil, nil, nil, nil, nil, nil, nil, 219, 219, nil,
206
+ 219, 219, 219, 219, 219, 219, 219, 26, 219, nil,
207
+ 219, nil, 26, nil, nil, 215, nil, nil, nil, nil,
208
+ nil, nil, nil, 215, 215, nil, 215, 215, 215, 215,
209
+ 215, 215, 215, 31, 215, nil, 215, nil, 31, nil,
210
+ nil, nil, nil, nil, 26, nil, nil, nil, nil, nil,
211
+ nil, nil, nil, nil, nil, 26, 26, 26, 26, 26,
212
+ 26, 26, nil, 26, 211, 26, nil, nil, nil, 211,
213
+ 31, nil, nil, nil, nil, nil, nil, nil, 31, 31,
214
+ nil, 31, 31, 31, 31, 31, 31, 31, nil, 31,
215
+ 208, 31, nil, 211, nil, 208, nil, nil, nil, nil,
216
+ 211, 211, nil, nil, nil, nil, nil, nil, nil, 211,
217
+ 211, nil, 211, 211, 211, 211, 211, 211, 211, 207,
218
+ 211, nil, 211, nil, 207, nil, nil, 208, nil, nil,
219
+ nil, nil, nil, nil, nil, 208, 208, nil, 208, 208,
220
+ 208, 208, 208, 208, 208, 206, 208, nil, 208, nil,
221
+ 206, nil, nil, nil, nil, nil, 207, nil, nil, nil,
222
+ nil, nil, nil, nil, 207, 207, nil, 207, 207, 207,
223
+ 207, 207, 207, 207, 205, 207, nil, 207, nil, 205,
224
+ nil, nil, 206, nil, nil, nil, nil, nil, nil, nil,
225
+ 206, 206, nil, 206, 206, 206, 206, 206, 206, 206,
226
+ 204, 206, nil, 206, nil, 204, nil, nil, nil, nil,
227
+ nil, 205, nil, nil, nil, nil, nil, nil, nil, 205,
228
+ 205, nil, 205, 205, 205, 205, 205, 205, 205, 203,
229
+ 205, nil, 205, nil, 203, nil, nil, 204, nil, nil,
230
+ nil, nil, nil, nil, nil, 204, 204, nil, 204, 204,
231
+ 204, 204, 204, 204, 204, 201, 204, nil, 204, nil,
232
+ 201, nil, nil, nil, nil, nil, 203, nil, nil, nil,
233
+ nil, nil, nil, nil, 203, 203, nil, 203, 203, 203,
234
+ 203, 203, 203, 203, 199, 203, nil, 203, nil, 199,
235
+ nil, nil, 201, nil, nil, nil, nil, nil, nil, nil,
236
+ 201, 201, nil, 201, 201, 201, 201, 201, 201, 201,
237
+ 197, 201, nil, 201, nil, 197, nil, nil, nil, nil,
238
+ nil, 199, nil, nil, nil, nil, nil, nil, nil, 199,
239
+ 199, nil, 199, 199, 199, 199, 199, 199, 199, 197,
240
+ 199, nil, 199, 193, nil, nil, 197, 197, 193, nil,
241
+ nil, nil, nil, nil, nil, 197, 197, nil, 197, 197,
242
+ 197, 197, 197, 197, 197, 187, 197, nil, 197, nil,
243
+ 187, nil, 193, nil, nil, nil, nil, nil, nil, 193,
244
+ 193, nil, nil, nil, nil, nil, nil, nil, 193, 193,
245
+ nil, 193, 193, 193, 193, 193, 193, 193, nil, 193,
246
+ nil, 193, 187, nil, nil, nil, nil, nil, nil, nil,
247
+ 187, 187, nil, 187, 187, 187, 187, 187, 187, 187,
248
+ nil, 187, nil, 187 ]
237
249
 
238
250
  racc_action_pointer = [
239
- 5, 297, nil, nil, nil, 275, nil, 262, 285, 257,
240
- nil, 252, 212, 373, 395, 428, 231, nil, nil, 236,
241
- -12, 183, nil, 148, -17, -12, 580, nil, nil, nil,
242
- nil, 598, nil, nil, nil, nil, 168, nil, nil, 211,
243
- nil, 210, 209, 206, 205, 151, nil, 143, 190, 121,
244
- nil, nil, -18, nil, nil, 113, nil, -3, 1025, -14,
245
- nil, nil, nil, nil, 139, 132, 114, nil, 88, 51,
246
- 55, 268, nil, nil, 91, 115, 133, 151, nil, nil,
247
- 295, 256, 208, -5, 230, 13, 175, 295, nil, 11,
248
- 246, nil, nil, 301, nil, 23, nil, nil, nil, 295,
249
- 73, 301, 270, 292, -11, nil, 3, 31, 49, 35,
250
- nil, nil, nil, nil, 48, 970, 217, nil, nil, nil,
251
- nil, nil, nil, nil, nil, 84, 89, 91, 92, 93,
252
- 96, nil, nil, nil, 112, nil, nil, -4, nil, nil,
253
- nil, nil, 110, 115, 937, nil, 95, 97, nil, nil,
254
- nil, nil, 107, 148, 915, 112, nil, 317, 148, 123,
255
- nil, 882, nil, nil, nil, nil, nil, nil, nil, nil,
251
+ 63, 286, nil, nil, nil, 276, nil, 263, 400, 268,
252
+ nil, 253, -7, 491, 546, 564, 234, nil, nil, 235,
253
+ 57, 170, nil, 76, -17, -12, 692, nil, nil, nil,
254
+ nil, 718, nil, nil, nil, nil, 167, nil, nil, 210,
255
+ nil, 209, 207, 206, 205, 152, nil, 156, 192, 136,
256
+ nil, nil, -40, nil, nil, 128, nil, -3, 164, 475,
257
+ -14, nil, nil, nil, nil, nil, 153, 149, 135, nil,
258
+ 119, 2, 110, 95, nil, nil, 148, 172, 190, 208,
259
+ nil, nil, 122, 60, 265, 285, 307, 327, 345, 289,
260
+ nil, 11, 230, nil, nil, 280, nil, 115, nil, nil,
261
+ 281, nil, 279, -5, 286, 257, 286, 288, nil, -22,
262
+ -13, -11, 38, nil, nil, nil, nil, 51, 247, 387,
263
+ nil, nil, nil, nil, nil, nil, nil, nil, 96, 106,
264
+ 108, 110, 114, 120, nil, nil, nil, 127, nil, nil,
265
+ -4, nil, nil, nil, nil, nil, 123, 129, 130, nil,
266
+ 106, 1, nil, nil, nil, nil, 121, 152, 88, 114,
267
+ nil, 392, 149, 126, nil, 55, nil, nil, nil, nil,
256
268
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
257
- nil, nil, nil, 858, 151, 156, nil, -3, 160, 825,
258
- 5, 168, -8, 171, 799, -24, 760, 193, 742, -25,
259
- 718, 700, 682, 658, 640, 620, 208, nil, nil, 560,
260
- nil, nil, nil, 525, nil, nil, nil, 483, 236, 242,
261
- nil, 205, 242, nil, nil, nil, nil, nil, 215, 450,
262
- 243, 340, 318, 220, 263, nil, nil, nil, 220, nil,
263
- nil, nil, nil, nil, nil, nil, nil, nil, 227, 232,
264
- 92, 37, 240, nil, nil, 31, 268, nil, 271, 285,
265
- nil, 289, 291, nil, 505, nil, nil, nil, 257, nil,
266
- nil, nil, nil ]
269
+ nil, nil, nil, nil, nil, nil, nil, 1050, 164, 169,
270
+ nil, 2, 174, 1028, 37, 14, 183, 995, -18, 969,
271
+ 198, 940, -26, 914, 885, 859, 830, 804, 775, nil,
272
+ nil, 749, nil, nil, nil, 663, nil, nil, nil, 637,
273
+ 224, 231, nil, 194, 231, nil, nil, nil, nil, 203,
274
+ 606, 244, 582, 473, 224, 418, nil, nil, nil, 232,
275
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 230,
276
+ 232, 94, 5, 241, nil, nil, 31, 268, nil, 269,
277
+ 275, nil, 278, 280, nil, 13, nil, nil, nil, 62,
278
+ nil, nil, nil, nil ]
267
279
 
268
280
  racc_action_default = [
269
- -165, -165, -1, -2, -3, -5, -20, -165, -165, -165,
270
- -4, -165, -165, -165, -165, -165, -34, -35, -36, -38,
271
- -41, -159, -117, -118, -121, -124, -165, -126, -127, -128,
272
- -129, -165, -131, -132, -133, -135, -165, -137, -138, -165,
273
- -140, -165, -165, -165, -165, -146, -147, -151, -165, -165,
274
- -157, -158, -165, -162, -163, -165, 273, -165, -165, -46,
275
- -47, -49, -50, -90, -28, -30, -32, -33, -66, -165,
276
- -165, -165, -40, -159, -165, -165, -165, -165, -125, -134,
277
- -165, -165, -165, -165, -165, -165, -165, -149, -150, -165,
278
- -165, -161, -164, -6, -12, -16, -14, -15, -21, -165,
279
- -165, -165, -165, -165, -165, -54, -56, -58, -59, -165,
280
- -45, -27, -29, -31, -68, -165, -43, -37, -39, -119,
281
- -120, -122, -123, -130, -136, -165, -165, -165, -165, -165,
282
- -165, -148, -152, -154, -165, -156, -160, -165, -13, -17,
283
- -18, -22, -165, -25, -165, -51, -165, -165, -55, -57,
284
- -60, -44, -74, -165, -165, -67, -76, -165, -165, -93,
285
- -95, -165, -98, -99, -100, -102, -103, -104, -105, -106,
286
- -107, -114, -115, -116, -139, -141, -142, -143, -144, -145,
287
- -155, -11, -23, -165, -165, -84, -52, -165, -7, -165,
288
- -165, -165, -165, -116, -165, -165, -165, -165, -165, -165,
289
- -165, -165, -165, -165, -165, -165, -165, -48, -89, -165,
290
- -97, -24, -26, -165, -53, -61, -62, -165, -165, -165,
291
- -42, -75, -69, -71, -72, -73, -19, -101, -94, -165,
292
- -165, -165, -165, -165, -165, -80, -81, -86, -165, -88,
293
- -108, -109, -110, -111, -112, -113, -96, -83, -63, -165,
294
- -8, -165, -165, -79, -85, -165, -165, -87, -165, -65,
295
- -92, -165, -165, -70, -165, -78, -82, -64, -165, -9,
296
- -10, -77, -91 ]
281
+ -166, -166, -1, -2, -3, -5, -20, -166, -166, -166,
282
+ -4, -166, -166, -166, -166, -166, -34, -35, -36, -38,
283
+ -41, -160, -118, -119, -122, -125, -166, -127, -128, -129,
284
+ -130, -166, -132, -133, -134, -136, -166, -138, -139, -166,
285
+ -141, -166, -166, -166, -166, -147, -148, -152, -166, -166,
286
+ -158, -159, -166, -163, -164, -166, 274, -166, -166, -166,
287
+ -46, -47, -48, -50, -51, -91, -28, -30, -32, -33,
288
+ -67, -166, -166, -166, -40, -160, -166, -166, -166, -166,
289
+ -126, -135, -166, -166, -166, -166, -166, -166, -166, -150,
290
+ -151, -166, -166, -162, -165, -6, -12, -16, -14, -15,
291
+ -166, -21, -166, -166, -166, -166, -166, -166, -55, -57,
292
+ -59, -60, -166, -45, -27, -29, -31, -69, -166, -43,
293
+ -37, -39, -120, -121, -123, -124, -131, -137, -166, -166,
294
+ -166, -166, -166, -166, -149, -153, -155, -166, -157, -161,
295
+ -166, -13, -17, -18, -19, -22, -166, -25, -166, -52,
296
+ -166, -166, -56, -58, -61, -44, -75, -166, -166, -68,
297
+ -77, -166, -166, -94, -96, -166, -99, -100, -101, -103,
298
+ -104, -105, -106, -107, -108, -115, -116, -117, -140, -142,
299
+ -143, -144, -145, -146, -156, -11, -23, -166, -166, -85,
300
+ -53, -166, -7, -166, -166, -166, -117, -166, -166, -166,
301
+ -166, -166, -166, -166, -166, -166, -166, -166, -166, -49,
302
+ -90, -166, -98, -24, -26, -166, -54, -62, -63, -166,
303
+ -166, -166, -42, -76, -70, -72, -73, -74, -102, -95,
304
+ -166, -166, -166, -166, -166, -166, -81, -82, -87, -166,
305
+ -89, -109, -110, -111, -112, -113, -114, -97, -84, -64,
306
+ -166, -8, -166, -166, -80, -86, -166, -166, -88, -166,
307
+ -66, -93, -166, -166, -71, -166, -79, -83, -65, -166,
308
+ -9, -10, -78, -92 ]
297
309
 
298
310
  racc_goto_table = [
299
- 72, 20, 96, 58, 184, 59, 20, 20, 20, 155,
300
- 94, 224, 235, 142, 207, 98, 79, 119, 120, 223,
301
- 67, 16, 121, 122, 80, 99, 64, 65, 66, 138,
302
- 114, 152, 188, 220, 208, 214, 215, 216, 93, 110,
303
- 258, 259, 222, 10, 5, 253, 4, 3, 192, 228,
304
- 246, 118, 210, 207, 1, 2, 141, 133, 134, 78,
305
- 116, 124, 59, 20, 79, 79, 79, 79, 111, 112,
306
- 113, 132, 224, 247, 117, 126, 127, 128, 129, 130,
307
- 263, nil, 96, 221, nil, nil, 207, nil, nil, 151,
308
- 181, nil, nil, 143, 256, 145, 211, 233, nil, 237,
309
- nil, 240, 241, 242, 243, 244, 245, nil, nil, nil,
310
- nil, 248, nil, nil, nil, nil, nil, nil, nil, nil,
311
+ 74, 20, 98, 61, 188, 60, 20, 20, 20, 59,
312
+ 146, 159, 96, 101, 225, 226, 236, 122, 123, 124,
313
+ 125, 102, 141, 117, 82, 156, 192, 234, 222, 238,
314
+ 210, 241, 242, 243, 244, 245, 246, 81, 16, 216,
315
+ 113, 217, 218, 66, 67, 68, 95, 254, 259, 69,
316
+ 260, 195, 224, 121, 10, 5, 145, 4, 253, 3,
317
+ 255, 229, 61, 127, 60, 20, 247, 212, 119, 1,
318
+ 2, 248, 264, 226, 136, 137, 80, 129, 130, 131,
319
+ 132, 133, 135, 120, 266, 98, 223, 81, 81, 81,
320
+ 81, 257, 155, 272, 213, 185, 147, nil, 149, 114,
321
+ 115, 116, nil, nil, nil, nil, nil, nil, nil, nil,
322
+ nil, nil, 249, nil, nil, nil, nil, nil, nil, nil,
311
323
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
312
- 252, nil, 254, nil, nil, 225, nil, 185, 187, 186,
313
- 59, nil, nil, nil, nil, nil, nil, 193, nil, nil,
314
- nil, nil, nil, nil, nil, nil, 265, nil, nil, nil,
315
- nil, nil, nil, nil, nil, 271, nil, nil, nil, nil,
316
- nil, nil, nil, nil, nil, nil, 143, nil, nil, nil,
324
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 227,
325
+ nil, 189, 61, 190, 60, nil, nil, nil, 191, nil,
326
+ nil, 196, nil, 209, nil, nil, nil, nil, nil, nil,
317
327
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
318
- nil, nil, nil, nil, nil, nil, 225, nil, nil, nil,
319
- nil, nil, nil, nil, nil, nil, 185, nil, nil, nil,
320
328
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
321
- nil, nil, nil, nil, nil, 80, nil, 185, nil, 260,
329
+ 147, nil, nil, nil, nil, nil, nil, nil, nil, nil,
330
+ nil, 209, nil, nil, nil, nil, nil, 227, nil, nil,
331
+ nil, nil, nil, nil, nil, nil, nil, nil, 189, nil,
322
332
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
323
- nil, nil, nil, nil, nil, nil, nil, nil, 272 ]
333
+ nil, nil, 209, nil, nil, nil, 82, nil, 189, nil,
334
+ 261, nil, nil, nil, nil, nil, nil, nil, nil, nil,
335
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 273 ]
324
336
 
325
337
  racc_goto_check = [
326
- 25, 19, 12, 15, 20, 30, 19, 19, 19, 39,
327
- 9, 44, 49, 18, 13, 16, 61, 60, 60, 43,
328
- 22, 21, 62, 62, 19, 17, 21, 21, 21, 11,
329
- 27, 28, 29, 8, 32, 36, 37, 38, 7, 25,
330
- 40, 41, 42, 6, 5, 49, 4, 3, 39, 53,
331
- 54, 25, 55, 13, 1, 2, 16, 76, 64, 65,
332
- 15, 25, 30, 19, 61, 61, 61, 61, 22, 22,
333
- 22, 75, 44, 20, 23, 19, 19, 19, 19, 19,
334
- 43, nil, 12, 39, nil, nil, 13, nil, nil, 25,
335
- 9, nil, nil, 19, 20, 30, 18, 47, nil, 47,
336
- nil, 47, 47, 47, 47, 47, 47, nil, nil, nil,
337
- nil, 39, nil, nil, nil, nil, nil, nil, nil, nil,
338
+ 25, 19, 12, 13, 20, 30, 19, 19, 19, 15,
339
+ 18, 39, 9, 16, 43, 44, 49, 60, 60, 62,
340
+ 62, 17, 11, 27, 19, 28, 29, 47, 8, 47,
341
+ 32, 47, 47, 47, 47, 47, 47, 61, 21, 36,
342
+ 25, 37, 38, 21, 21, 21, 7, 49, 40, 22,
343
+ 41, 39, 42, 25, 6, 5, 16, 4, 47, 3,
344
+ 47, 53, 13, 25, 30, 19, 54, 55, 15, 1,
345
+ 2, 20, 43, 44, 76, 64, 65, 19, 19, 19,
346
+ 19, 19, 75, 23, 47, 12, 39, 61, 61, 61,
347
+ 61, 20, 25, 47, 18, 9, 19, nil, 30, 22,
348
+ 22, 22, nil, nil, nil, nil, nil, nil, nil, nil,
349
+ nil, nil, 39, nil, nil, nil, nil, nil, nil, nil,
338
350
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
339
- 47, nil, 47, nil, nil, 12, nil, 19, 15, 30,
340
- 30, nil, nil, nil, nil, nil, nil, 19, nil, nil,
341
- nil, nil, nil, nil, nil, nil, 47, nil, nil, nil,
342
- nil, nil, nil, nil, nil, 47, nil, nil, nil, nil,
343
- nil, nil, nil, nil, nil, nil, 19, nil, nil, nil,
351
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 12,
352
+ nil, 19, 13, 30, 30, nil, nil, nil, 15, nil,
353
+ nil, 19, nil, 13, nil, nil, nil, nil, nil, nil,
344
354
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
345
- nil, nil, nil, nil, nil, nil, 12, nil, nil, nil,
346
- nil, nil, nil, nil, nil, nil, 19, nil, nil, nil,
347
355
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
348
- nil, nil, nil, nil, nil, 19, nil, 19, nil, 25,
356
+ 19, nil, nil, nil, nil, nil, nil, nil, nil, nil,
357
+ nil, 13, nil, nil, nil, nil, nil, 12, nil, nil,
358
+ nil, nil, nil, nil, nil, nil, nil, nil, 19, nil,
349
359
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
350
- nil, nil, nil, nil, nil, nil, nil, nil, 25 ]
360
+ nil, nil, 13, nil, nil, nil, 19, nil, 19, nil,
361
+ 25, nil, nil, nil, nil, nil, nil, nil, nil, nil,
362
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 25 ]
351
363
 
352
364
  racc_goto_pointer = [
353
- nil, 54, 55, 47, 46, 44, 38, -19, -155, -47,
354
- nil, -66, -55, -144, nil, -9, -43, -33, -87, -7,
355
- -140, 13, 4, 4, nil, -20, nil, -38, -83, -120,
356
- -7, nil, -124, nil, nil, nil, -152, -151, -150, -106,
357
- -209, -208, -148, -171, -179, nil, nil, -99, nil, -185,
358
- nil, nil, nil, -145, -159, -109, nil, nil, nil, nil,
359
- -57, -10, -54, nil, -31, 33, nil, nil, nil, nil,
360
- nil, nil, nil, nil, nil, -18, -32, nil, nil ]
365
+ nil, 69, 70, 59, 57, 55, 49, -11, -164, -45,
366
+ nil, -75, -55, -9, nil, -3, -46, -38, -93, -7,
367
+ -144, 30, 33, 11, nil, -20, nil, -47, -92, -130,
368
+ -7, nil, -132, nil, nil, nil, -152, -150, -149, -107,
369
+ -202, -200, -142, -180, -179, nil, nil, -172, nil, -184,
370
+ nil, nil, nil, -136, -145, -98, nil, nil, nil, nil,
371
+ -59, 11, -59, nil, -16, 50, nil, nil, nil, nil,
372
+ nil, nil, nil, nil, nil, -9, -17, nil, nil ]
361
373
 
362
374
  racc_goto_default = [
363
- nil, nil, nil, nil, nil, 191, nil, nil, nil, nil,
364
- 95, nil, 29, 156, 6, nil, nil, nil, nil, 173,
365
- nil, nil, nil, 18, 19, 37, 68, nil, nil, nil,
366
- 38, 60, 236, 61, 62, 104, nil, nil, nil, nil,
367
- nil, nil, nil, nil, 45, 172, 166, 157, 167, nil,
368
- 168, 169, 170, 159, 160, 162, 163, 164, 165, 171,
375
+ nil, nil, nil, nil, nil, 100, nil, nil, nil, nil,
376
+ 97, nil, 29, 160, 6, nil, nil, nil, nil, 177,
377
+ nil, nil, nil, 18, 19, 37, 70, nil, nil, nil,
378
+ 38, 62, 237, 63, 64, 107, nil, nil, nil, nil,
379
+ nil, nil, nil, nil, 45, 176, 170, 161, 171, nil,
380
+ 172, 173, 174, 163, 164, 166, 167, 168, 169, 175,
369
381
  22, 23, 24, 25, 26, 27, 28, 30, 32, 33,
370
382
  34, 36, 40, 46, 49, nil, nil, 53, 54 ]
371
383
 
@@ -418,127 +430,128 @@ racc_reduce_table = [
418
430
  2, 80, :_reduce_45,
419
431
  1, 80, :_reduce_none,
420
432
  1, 80, :_reduce_none,
433
+ 1, 80, :_reduce_none,
421
434
  1, 97, :_reduce_none,
422
435
  1, 96, :_reduce_none,
423
436
  1, 96, :_reduce_none,
424
- 3, 98, :_reduce_51,
425
- 4, 98, :_reduce_52,
426
- 5, 99, :_reduce_53,
427
- 1, 100, :_reduce_54,
428
- 2, 100, :_reduce_55,
429
- 1, 100, :_reduce_56,
430
- 2, 100, :_reduce_57,
431
- 1, 100, :_reduce_58,
437
+ 3, 98, :_reduce_52,
438
+ 4, 98, :_reduce_53,
439
+ 5, 99, :_reduce_54,
440
+ 1, 100, :_reduce_55,
441
+ 2, 100, :_reduce_56,
442
+ 1, 100, :_reduce_57,
443
+ 2, 100, :_reduce_58,
432
444
  1, 100, :_reduce_59,
433
- 2, 100, :_reduce_60,
445
+ 1, 100, :_reduce_60,
446
+ 2, 100, :_reduce_61,
434
447
  1, 101, :_reduce_none,
435
448
  1, 101, :_reduce_none,
436
- 2, 102, :_reduce_63,
437
- 4, 103, :_reduce_64,
449
+ 2, 102, :_reduce_64,
450
+ 4, 103, :_reduce_65,
438
451
  1, 105, :_reduce_none,
439
452
  0, 92, :_reduce_none,
440
- 2, 92, :_reduce_67,
453
+ 2, 92, :_reduce_68,
441
454
  0, 93, :_reduce_none,
442
- 3, 93, :_reduce_69,
443
- 3, 107, :_reduce_70,
455
+ 3, 93, :_reduce_70,
456
+ 3, 107, :_reduce_71,
444
457
  1, 107, :_reduce_none,
445
458
  1, 108, :_reduce_none,
446
459
  1, 108, :_reduce_none,
447
460
  0, 94, :_reduce_none,
448
- 2, 94, :_reduce_75,
461
+ 2, 94, :_reduce_76,
449
462
  1, 110, :_reduce_none,
450
- 6, 111, :_reduce_77,
451
- 5, 111, :_reduce_78,
452
- 4, 113, :_reduce_79,
453
- 3, 113, :_reduce_80,
463
+ 6, 111, :_reduce_78,
464
+ 5, 111, :_reduce_79,
465
+ 4, 113, :_reduce_80,
466
+ 3, 113, :_reduce_81,
454
467
  1, 114, :_reduce_none,
455
- 3, 114, :_reduce_82,
456
- 3, 85, :_reduce_83,
468
+ 3, 114, :_reduce_83,
469
+ 3, 85, :_reduce_84,
457
470
  1, 85, :_reduce_none,
458
- 4, 115, :_reduce_85,
459
- 3, 115, :_reduce_86,
460
- 4, 116, :_reduce_87,
461
- 3, 116, :_reduce_88,
462
- 2, 117, :_reduce_89,
463
- 1, 95, :_reduce_90,
464
- 3, 106, :_reduce_91,
471
+ 4, 115, :_reduce_86,
472
+ 3, 115, :_reduce_87,
473
+ 4, 116, :_reduce_88,
474
+ 3, 116, :_reduce_89,
475
+ 2, 117, :_reduce_90,
476
+ 1, 95, :_reduce_91,
477
+ 3, 106, :_reduce_92,
465
478
  1, 106, :_reduce_none,
466
479
  1, 104, :_reduce_none,
467
- 3, 104, :_reduce_94,
480
+ 3, 104, :_reduce_95,
468
481
  1, 118, :_reduce_none,
469
- 3, 118, :_reduce_96,
470
- 2, 119, :_reduce_97,
482
+ 3, 118, :_reduce_97,
483
+ 2, 119, :_reduce_98,
471
484
  1, 119, :_reduce_none,
472
485
  1, 120, :_reduce_none,
473
486
  1, 121, :_reduce_none,
474
- 3, 121, :_reduce_101,
487
+ 3, 121, :_reduce_102,
475
488
  1, 122, :_reduce_none,
476
489
  1, 122, :_reduce_none,
477
490
  1, 122, :_reduce_none,
478
491
  1, 122, :_reduce_none,
479
492
  1, 122, :_reduce_none,
480
493
  1, 122, :_reduce_none,
481
- 3, 123, :_reduce_108,
482
494
  3, 123, :_reduce_109,
483
495
  3, 123, :_reduce_110,
484
496
  3, 123, :_reduce_111,
485
497
  3, 123, :_reduce_112,
486
498
  3, 123, :_reduce_113,
499
+ 3, 123, :_reduce_114,
487
500
  1, 112, :_reduce_none,
488
501
  1, 112, :_reduce_none,
489
502
  1, 124, :_reduce_none,
490
503
  1, 84, :_reduce_none,
491
504
  1, 84, :_reduce_none,
492
- 3, 125, :_reduce_119,
493
505
  3, 125, :_reduce_120,
506
+ 3, 125, :_reduce_121,
494
507
  1, 125, :_reduce_none,
495
- 3, 127, :_reduce_122,
496
508
  3, 127, :_reduce_123,
509
+ 3, 127, :_reduce_124,
497
510
  1, 127, :_reduce_none,
498
- 2, 128, :_reduce_125,
511
+ 2, 128, :_reduce_126,
499
512
  1, 128, :_reduce_none,
500
513
  1, 130, :_reduce_none,
501
514
  1, 130, :_reduce_none,
502
515
  1, 130, :_reduce_none,
503
- 3, 130, :_reduce_130,
516
+ 3, 130, :_reduce_131,
504
517
  1, 131, :_reduce_none,
505
518
  1, 131, :_reduce_none,
506
519
  1, 133, :_reduce_none,
507
520
  1, 133, :_reduce_none,
508
- 1, 134, :_reduce_135,
509
- 3, 77, :_reduce_136,
521
+ 1, 134, :_reduce_136,
522
+ 3, 77, :_reduce_137,
510
523
  1, 77, :_reduce_none,
511
524
  1, 136, :_reduce_none,
512
- 4, 132, :_reduce_139,
525
+ 4, 132, :_reduce_140,
513
526
  1, 132, :_reduce_none,
514
- 4, 137, :_reduce_141,
515
527
  4, 137, :_reduce_142,
516
528
  4, 137, :_reduce_143,
517
529
  4, 137, :_reduce_144,
518
530
  4, 137, :_reduce_145,
531
+ 4, 137, :_reduce_146,
519
532
  1, 135, :_reduce_none,
520
533
  1, 135, :_reduce_none,
521
- 3, 109, :_reduce_148,
522
- 2, 109, :_reduce_149,
534
+ 3, 109, :_reduce_149,
523
535
  2, 109, :_reduce_150,
524
- 1, 109, :_reduce_151,
525
- 3, 138, :_reduce_152,
536
+ 2, 109, :_reduce_151,
537
+ 1, 109, :_reduce_152,
538
+ 3, 138, :_reduce_153,
526
539
  1, 139, :_reduce_none,
527
540
  1, 140, :_reduce_none,
528
- 2, 141, :_reduce_155,
529
- 1, 141, :_reduce_156,
530
- 1, 129, :_reduce_157,
541
+ 2, 141, :_reduce_156,
542
+ 1, 141, :_reduce_157,
531
543
  1, 129, :_reduce_158,
532
- 1, 90, :_reduce_159,
533
- 3, 126, :_reduce_160,
534
- 2, 126, :_reduce_161,
544
+ 1, 129, :_reduce_159,
545
+ 1, 90, :_reduce_160,
546
+ 3, 126, :_reduce_161,
547
+ 2, 126, :_reduce_162,
535
548
  1, 126, :_reduce_none,
536
549
  1, 142, :_reduce_none,
537
- 2, 143, :_reduce_164 ]
550
+ 2, 143, :_reduce_165 ]
538
551
 
539
- racc_reduce_n = 165
552
+ racc_reduce_n = 166
540
553
 
541
- racc_shift_n = 273
554
+ racc_shift_n = 274
542
555
 
543
556
  racc_token_table = {
544
557
  false => 0,
@@ -1049,275 +1062,275 @@ module_eval(<<'.,.,', 'parser.racc', 95)
1049
1062
 
1050
1063
  # reduce 50 omitted
1051
1064
 
1052
- module_eval(<<'.,.,', 'parser.racc', 107)
1053
- def _reduce_51(val, _values, result)
1054
- result = SQLParser::Statement::CrossJoin.new(val[0], val[2])
1055
- result
1056
- end
1057
- .,.,
1065
+ # reduce 51 omitted
1058
1066
 
1059
1067
  module_eval(<<'.,.,', 'parser.racc', 108)
1060
1068
  def _reduce_52(val, _values, result)
1061
- result = SQLParser::Statement::CrossJoin.new(val[0], val[3])
1069
+ result = SQLParser::Statement::CrossJoin.new(val[0], val[2])
1062
1070
  result
1063
1071
  end
1064
1072
  .,.,
1065
1073
 
1066
- module_eval(<<'.,.,', 'parser.racc', 111)
1074
+ module_eval(<<'.,.,', 'parser.racc', 109)
1067
1075
  def _reduce_53(val, _values, result)
1068
- result = val[1].new(val[0], val[3], val[4])
1076
+ result = SQLParser::Statement::CrossJoin.new(val[0], val[3])
1069
1077
  result
1070
1078
  end
1071
1079
  .,.,
1072
1080
 
1073
- module_eval(<<'.,.,', 'parser.racc', 114)
1081
+ module_eval(<<'.,.,', 'parser.racc', 112)
1074
1082
  def _reduce_54(val, _values, result)
1075
- result = SQLParser::Statement::InnerJoin
1083
+ result = val[1].new(val[0], val[3], val[4])
1076
1084
  result
1077
1085
  end
1078
1086
  .,.,
1079
1087
 
1080
1088
  module_eval(<<'.,.,', 'parser.racc', 115)
1081
1089
  def _reduce_55(val, _values, result)
1082
- result = SQLParser::Statement::LeftOuterJoin
1090
+ result = SQLParser::Statement::InnerJoin
1083
1091
  result
1084
1092
  end
1085
1093
  .,.,
1086
1094
 
1087
1095
  module_eval(<<'.,.,', 'parser.racc', 116)
1088
1096
  def _reduce_56(val, _values, result)
1089
- result = SQLParser::Statement::LeftJoin
1097
+ result = SQLParser::Statement::LeftOuterJoin
1090
1098
  result
1091
1099
  end
1092
1100
  .,.,
1093
1101
 
1094
1102
  module_eval(<<'.,.,', 'parser.racc', 117)
1095
1103
  def _reduce_57(val, _values, result)
1096
- result = SQLParser::Statement::RightOuterJoin
1104
+ result = SQLParser::Statement::LeftJoin
1097
1105
  result
1098
1106
  end
1099
1107
  .,.,
1100
1108
 
1101
1109
  module_eval(<<'.,.,', 'parser.racc', 118)
1102
1110
  def _reduce_58(val, _values, result)
1103
- result = SQLParser::Statement::RightJoin
1111
+ result = SQLParser::Statement::RightOuterJoin
1104
1112
  result
1105
1113
  end
1106
1114
  .,.,
1107
1115
 
1108
1116
  module_eval(<<'.,.,', 'parser.racc', 119)
1109
1117
  def _reduce_59(val, _values, result)
1110
- result = SQLParser::Statement::FullJoin
1118
+ result = SQLParser::Statement::RightJoin
1111
1119
  result
1112
1120
  end
1113
1121
  .,.,
1114
1122
 
1115
1123
  module_eval(<<'.,.,', 'parser.racc', 120)
1116
1124
  def _reduce_60(val, _values, result)
1117
- result = SQLParser::Statement::FullOuterJoin
1125
+ result = SQLParser::Statement::FullJoin
1118
1126
  result
1119
1127
  end
1120
1128
  .,.,
1121
1129
 
1122
- # reduce 61 omitted
1130
+ module_eval(<<'.,.,', 'parser.racc', 121)
1131
+ def _reduce_61(val, _values, result)
1132
+ result = SQLParser::Statement::FullOuterJoin
1133
+ result
1134
+ end
1135
+ .,.,
1123
1136
 
1124
1137
  # reduce 62 omitted
1125
1138
 
1126
- module_eval(<<'.,.,', 'parser.racc', 127)
1127
- def _reduce_63(val, _values, result)
1139
+ # reduce 63 omitted
1140
+
1141
+ module_eval(<<'.,.,', 'parser.racc', 128)
1142
+ def _reduce_64(val, _values, result)
1128
1143
  result = SQLParser::Statement::On.new(val[1])
1129
1144
  result
1130
1145
  end
1131
1146
  .,.,
1132
1147
 
1133
- module_eval(<<'.,.,', 'parser.racc', 130)
1134
- def _reduce_64(val, _values, result)
1148
+ module_eval(<<'.,.,', 'parser.racc', 131)
1149
+ def _reduce_65(val, _values, result)
1135
1150
  result = SQLParser::Statement::Using.new(val[2])
1136
1151
  result
1137
1152
  end
1138
1153
  .,.,
1139
1154
 
1140
- # reduce 65 omitted
1141
-
1142
1155
  # reduce 66 omitted
1143
1156
 
1144
- module_eval(<<'.,.,', 'parser.racc', 137)
1145
- def _reduce_67(val, _values, result)
1157
+ # reduce 67 omitted
1158
+
1159
+ module_eval(<<'.,.,', 'parser.racc', 138)
1160
+ def _reduce_68(val, _values, result)
1146
1161
  result = SQLParser::Statement::WhereClause.new(val[1])
1147
1162
  result
1148
1163
  end
1149
1164
  .,.,
1150
1165
 
1151
- # reduce 68 omitted
1166
+ # reduce 69 omitted
1152
1167
 
1153
- module_eval(<<'.,.,', 'parser.racc', 141)
1154
- def _reduce_69(val, _values, result)
1168
+ module_eval(<<'.,.,', 'parser.racc', 142)
1169
+ def _reduce_70(val, _values, result)
1155
1170
  result = SQLParser::Statement::GroupByClause.new(val[2])
1156
1171
  result
1157
1172
  end
1158
1173
  .,.,
1159
1174
 
1160
- module_eval(<<'.,.,', 'parser.racc', 144)
1161
- def _reduce_70(val, _values, result)
1175
+ module_eval(<<'.,.,', 'parser.racc', 145)
1176
+ def _reduce_71(val, _values, result)
1162
1177
  result = Array(val[0]) + Array(val[2])
1163
1178
  result
1164
1179
  end
1165
1180
  .,.,
1166
1181
 
1167
- # reduce 71 omitted
1168
-
1169
1182
  # reduce 72 omitted
1170
1183
 
1171
1184
  # reduce 73 omitted
1172
1185
 
1173
1186
  # reduce 74 omitted
1174
1187
 
1175
- module_eval(<<'.,.,', 'parser.racc', 153)
1176
- def _reduce_75(val, _values, result)
1188
+ # reduce 75 omitted
1189
+
1190
+ module_eval(<<'.,.,', 'parser.racc', 154)
1191
+ def _reduce_76(val, _values, result)
1177
1192
  result = SQLParser::Statement::HavingClause.new(val[1])
1178
1193
  result
1179
1194
  end
1180
1195
  .,.,
1181
1196
 
1182
- # reduce 76 omitted
1197
+ # reduce 77 omitted
1183
1198
 
1184
- module_eval(<<'.,.,', 'parser.racc', 160)
1185
- def _reduce_77(val, _values, result)
1199
+ module_eval(<<'.,.,', 'parser.racc', 161)
1200
+ def _reduce_78(val, _values, result)
1186
1201
  result = SQLParser::Statement::Not.new(SQLParser::Statement::Between.new(val[0], val[3], val[5]))
1187
1202
  result
1188
1203
  end
1189
1204
  .,.,
1190
1205
 
1191
- module_eval(<<'.,.,', 'parser.racc', 161)
1192
- def _reduce_78(val, _values, result)
1206
+ module_eval(<<'.,.,', 'parser.racc', 162)
1207
+ def _reduce_79(val, _values, result)
1193
1208
  result = SQLParser::Statement::Between.new(val[0], val[2], val[4])
1194
1209
  result
1195
1210
  end
1196
1211
  .,.,
1197
1212
 
1198
- module_eval(<<'.,.,', 'parser.racc', 164)
1199
- def _reduce_79(val, _values, result)
1213
+ module_eval(<<'.,.,', 'parser.racc', 165)
1214
+ def _reduce_80(val, _values, result)
1200
1215
  result = SQLParser::Statement::Not.new(SQLParser::Statement::In.new(val[0], val[3]))
1201
1216
  result
1202
1217
  end
1203
1218
  .,.,
1204
1219
 
1205
- module_eval(<<'.,.,', 'parser.racc', 165)
1206
- def _reduce_80(val, _values, result)
1220
+ module_eval(<<'.,.,', 'parser.racc', 166)
1221
+ def _reduce_81(val, _values, result)
1207
1222
  result = SQLParser::Statement::In.new(val[0], val[2])
1208
1223
  result
1209
1224
  end
1210
1225
  .,.,
1211
1226
 
1212
- # reduce 81 omitted
1227
+ # reduce 82 omitted
1213
1228
 
1214
- module_eval(<<'.,.,', 'parser.racc', 169)
1215
- def _reduce_82(val, _values, result)
1229
+ module_eval(<<'.,.,', 'parser.racc', 170)
1230
+ def _reduce_83(val, _values, result)
1216
1231
  result = SQLParser::Statement::InValueList.new(val[1])
1217
1232
  result
1218
1233
  end
1219
1234
  .,.,
1220
1235
 
1221
- module_eval(<<'.,.,', 'parser.racc', 172)
1222
- def _reduce_83(val, _values, result)
1236
+ module_eval(<<'.,.,', 'parser.racc', 173)
1237
+ def _reduce_84(val, _values, result)
1223
1238
  result = Array(val[0]) + Array(val[2])
1224
1239
  result
1225
1240
  end
1226
1241
  .,.,
1227
1242
 
1228
- # reduce 84 omitted
1243
+ # reduce 85 omitted
1229
1244
 
1230
- module_eval(<<'.,.,', 'parser.racc', 179)
1231
- def _reduce_85(val, _values, result)
1245
+ module_eval(<<'.,.,', 'parser.racc', 180)
1246
+ def _reduce_86(val, _values, result)
1232
1247
  result = SQLParser::Statement::Not.new(SQLParser::Statement::Like.new(val[0], val[3]))
1233
1248
  result
1234
1249
  end
1235
1250
  .,.,
1236
1251
 
1237
- module_eval(<<'.,.,', 'parser.racc', 180)
1238
- def _reduce_86(val, _values, result)
1252
+ module_eval(<<'.,.,', 'parser.racc', 181)
1253
+ def _reduce_87(val, _values, result)
1239
1254
  result = SQLParser::Statement::Like.new(val[0], val[2])
1240
1255
  result
1241
1256
  end
1242
1257
  .,.,
1243
1258
 
1244
- module_eval(<<'.,.,', 'parser.racc', 183)
1245
- def _reduce_87(val, _values, result)
1259
+ module_eval(<<'.,.,', 'parser.racc', 184)
1260
+ def _reduce_88(val, _values, result)
1246
1261
  result = SQLParser::Statement::Not.new(SQLParser::Statement::Is.new(val[0], SQLParser::Statement::Null.new))
1247
1262
  result
1248
1263
  end
1249
1264
  .,.,
1250
1265
 
1251
- module_eval(<<'.,.,', 'parser.racc', 184)
1252
- def _reduce_88(val, _values, result)
1266
+ module_eval(<<'.,.,', 'parser.racc', 185)
1267
+ def _reduce_89(val, _values, result)
1253
1268
  result = SQLParser::Statement::Is.new(val[0], SQLParser::Statement::Null.new)
1254
1269
  result
1255
1270
  end
1256
1271
  .,.,
1257
1272
 
1258
- module_eval(<<'.,.,', 'parser.racc', 187)
1259
- def _reduce_89(val, _values, result)
1273
+ module_eval(<<'.,.,', 'parser.racc', 188)
1274
+ def _reduce_90(val, _values, result)
1260
1275
  result = SQLParser::Statement::Exists.new(val[1])
1261
1276
  result
1262
1277
  end
1263
1278
  .,.,
1264
1279
 
1265
- module_eval(<<'.,.,', 'parser.racc', 191)
1266
- def _reduce_90(val, _values, result)
1280
+ module_eval(<<'.,.,', 'parser.racc', 192)
1281
+ def _reduce_91(val, _values, result)
1267
1282
  result = SQLParser::Statement::Table.new(val[0])
1268
1283
  result
1269
1284
  end
1270
1285
  .,.,
1271
1286
 
1272
- module_eval(<<'.,.,', 'parser.racc', 194)
1273
- def _reduce_91(val, _values, result)
1287
+ module_eval(<<'.,.,', 'parser.racc', 195)
1288
+ def _reduce_92(val, _values, result)
1274
1289
  result = Array(val[0]) + Array(val[2])
1275
1290
  result
1276
1291
  end
1277
1292
  .,.,
1278
1293
 
1279
- # reduce 92 omitted
1280
-
1281
1294
  # reduce 93 omitted
1282
1295
 
1283
- module_eval(<<'.,.,', 'parser.racc', 200)
1284
- def _reduce_94(val, _values, result)
1296
+ # reduce 94 omitted
1297
+
1298
+ module_eval(<<'.,.,', 'parser.racc', 201)
1299
+ def _reduce_95(val, _values, result)
1285
1300
  result = SQLParser::Statement::Or.new(val[0], val[2])
1286
1301
  result
1287
1302
  end
1288
1303
  .,.,
1289
1304
 
1290
- # reduce 95 omitted
1305
+ # reduce 96 omitted
1291
1306
 
1292
- module_eval(<<'.,.,', 'parser.racc', 204)
1293
- def _reduce_96(val, _values, result)
1307
+ module_eval(<<'.,.,', 'parser.racc', 205)
1308
+ def _reduce_97(val, _values, result)
1294
1309
  result = SQLParser::Statement::And.new(val[0], val[2])
1295
1310
  result
1296
1311
  end
1297
1312
  .,.,
1298
1313
 
1299
- module_eval(<<'.,.,', 'parser.racc', 207)
1300
- def _reduce_97(val, _values, result)
1314
+ module_eval(<<'.,.,', 'parser.racc', 208)
1315
+ def _reduce_98(val, _values, result)
1301
1316
  result = SQLParser::Statement::Not.new(val[1])
1302
1317
  result
1303
1318
  end
1304
1319
  .,.,
1305
1320
 
1306
- # reduce 98 omitted
1307
-
1308
1321
  # reduce 99 omitted
1309
1322
 
1310
1323
  # reduce 100 omitted
1311
1324
 
1312
- module_eval(<<'.,.,', 'parser.racc', 215)
1313
- def _reduce_101(val, _values, result)
1325
+ # reduce 101 omitted
1326
+
1327
+ module_eval(<<'.,.,', 'parser.racc', 216)
1328
+ def _reduce_102(val, _values, result)
1314
1329
  result = val[1]
1315
1330
  result
1316
1331
  end
1317
1332
  .,.,
1318
1333
 
1319
- # reduce 102 omitted
1320
-
1321
1334
  # reduce 103 omitted
1322
1335
 
1323
1336
  # reduce 104 omitted
@@ -1328,49 +1341,49 @@ module_eval(<<'.,.,', 'parser.racc', 215)
1328
1341
 
1329
1342
  # reduce 107 omitted
1330
1343
 
1331
- module_eval(<<'.,.,', 'parser.racc', 226)
1332
- def _reduce_108(val, _values, result)
1333
- result = SQLParser::Statement::Equals.new(val[0], val[2])
1334
- result
1335
- end
1336
- .,.,
1344
+ # reduce 108 omitted
1337
1345
 
1338
1346
  module_eval(<<'.,.,', 'parser.racc', 227)
1339
1347
  def _reduce_109(val, _values, result)
1340
- result = SQLParser::Statement::Not.new(SQLParser::Statement::Equals.new(val[0], val[2]))
1348
+ result = SQLParser::Statement::Equals.new(val[0], val[2])
1341
1349
  result
1342
1350
  end
1343
1351
  .,.,
1344
1352
 
1345
1353
  module_eval(<<'.,.,', 'parser.racc', 228)
1346
1354
  def _reduce_110(val, _values, result)
1347
- result = SQLParser::Statement::Less.new(val[0], val[2])
1355
+ result = SQLParser::Statement::Not.new(SQLParser::Statement::Equals.new(val[0], val[2]))
1348
1356
  result
1349
1357
  end
1350
1358
  .,.,
1351
1359
 
1352
1360
  module_eval(<<'.,.,', 'parser.racc', 229)
1353
1361
  def _reduce_111(val, _values, result)
1354
- result = SQLParser::Statement::Greater.new(val[0], val[2])
1362
+ result = SQLParser::Statement::Less.new(val[0], val[2])
1355
1363
  result
1356
1364
  end
1357
1365
  .,.,
1358
1366
 
1359
1367
  module_eval(<<'.,.,', 'parser.racc', 230)
1360
1368
  def _reduce_112(val, _values, result)
1361
- result = SQLParser::Statement::LessOrEquals.new(val[0], val[2])
1369
+ result = SQLParser::Statement::Greater.new(val[0], val[2])
1362
1370
  result
1363
1371
  end
1364
1372
  .,.,
1365
1373
 
1366
1374
  module_eval(<<'.,.,', 'parser.racc', 231)
1367
1375
  def _reduce_113(val, _values, result)
1368
- result = SQLParser::Statement::GreaterOrEquals.new(val[0], val[2])
1376
+ result = SQLParser::Statement::LessOrEquals.new(val[0], val[2])
1369
1377
  result
1370
1378
  end
1371
1379
  .,.,
1372
1380
 
1373
- # reduce 114 omitted
1381
+ module_eval(<<'.,.,', 'parser.racc', 232)
1382
+ def _reduce_114(val, _values, result)
1383
+ result = SQLParser::Statement::GreaterOrEquals.new(val[0], val[2])
1384
+ result
1385
+ end
1386
+ .,.,
1374
1387
 
1375
1388
  # reduce 115 omitted
1376
1389
 
@@ -1380,228 +1393,230 @@ module_eval(<<'.,.,', 'parser.racc', 231)
1380
1393
 
1381
1394
  # reduce 118 omitted
1382
1395
 
1383
- module_eval(<<'.,.,', 'parser.racc', 245)
1384
- def _reduce_119(val, _values, result)
1396
+ # reduce 119 omitted
1397
+
1398
+ module_eval(<<'.,.,', 'parser.racc', 246)
1399
+ def _reduce_120(val, _values, result)
1385
1400
  result = SQLParser::Statement::Add.new(val[0], val[2])
1386
1401
  result
1387
1402
  end
1388
1403
  .,.,
1389
1404
 
1390
- module_eval(<<'.,.,', 'parser.racc', 246)
1391
- def _reduce_120(val, _values, result)
1405
+ module_eval(<<'.,.,', 'parser.racc', 247)
1406
+ def _reduce_121(val, _values, result)
1392
1407
  result = SQLParser::Statement::Subtract.new(val[0], val[2])
1393
1408
  result
1394
1409
  end
1395
1410
  .,.,
1396
1411
 
1397
- # reduce 121 omitted
1412
+ # reduce 122 omitted
1398
1413
 
1399
- module_eval(<<'.,.,', 'parser.racc', 250)
1400
- def _reduce_122(val, _values, result)
1414
+ module_eval(<<'.,.,', 'parser.racc', 251)
1415
+ def _reduce_123(val, _values, result)
1401
1416
  result = SQLParser::Statement::Multiply.new(val[0], val[2])
1402
1417
  result
1403
1418
  end
1404
1419
  .,.,
1405
1420
 
1406
- module_eval(<<'.,.,', 'parser.racc', 251)
1407
- def _reduce_123(val, _values, result)
1421
+ module_eval(<<'.,.,', 'parser.racc', 252)
1422
+ def _reduce_124(val, _values, result)
1408
1423
  result = SQLParser::Statement::Divide.new(val[0], val[2])
1409
1424
  result
1410
1425
  end
1411
1426
  .,.,
1412
1427
 
1413
- # reduce 124 omitted
1428
+ # reduce 125 omitted
1414
1429
 
1415
- module_eval(<<'.,.,', 'parser.racc', 255)
1416
- def _reduce_125(val, _values, result)
1430
+ module_eval(<<'.,.,', 'parser.racc', 256)
1431
+ def _reduce_126(val, _values, result)
1417
1432
  result = val[0].new(val[1])
1418
1433
  result
1419
1434
  end
1420
1435
  .,.,
1421
1436
 
1422
- # reduce 126 omitted
1423
-
1424
1437
  # reduce 127 omitted
1425
1438
 
1426
1439
  # reduce 128 omitted
1427
1440
 
1428
1441
  # reduce 129 omitted
1429
1442
 
1430
- module_eval(<<'.,.,', 'parser.racc', 262)
1431
- def _reduce_130(val, _values, result)
1443
+ # reduce 130 omitted
1444
+
1445
+ module_eval(<<'.,.,', 'parser.racc', 263)
1446
+ def _reduce_131(val, _values, result)
1432
1447
  result = val[1]
1433
1448
  result
1434
1449
  end
1435
1450
  .,.,
1436
1451
 
1437
- # reduce 131 omitted
1438
-
1439
1452
  # reduce 132 omitted
1440
1453
 
1441
1454
  # reduce 133 omitted
1442
1455
 
1443
1456
  # reduce 134 omitted
1444
1457
 
1445
- module_eval(<<'.,.,', 'parser.racc', 273)
1446
- def _reduce_135(val, _values, result)
1458
+ # reduce 135 omitted
1459
+
1460
+ module_eval(<<'.,.,', 'parser.racc', 274)
1461
+ def _reduce_136(val, _values, result)
1447
1462
  result = SQLParser::Statement::CurrentUser.new
1448
1463
  result
1449
1464
  end
1450
1465
  .,.,
1451
1466
 
1452
- module_eval(<<'.,.,', 'parser.racc', 276)
1453
- def _reduce_136(val, _values, result)
1467
+ module_eval(<<'.,.,', 'parser.racc', 277)
1468
+ def _reduce_137(val, _values, result)
1454
1469
  result = SQLParser::Statement::QualifiedColumn.new(val[0], val[2])
1455
1470
  result
1456
1471
  end
1457
1472
  .,.,
1458
1473
 
1459
- # reduce 137 omitted
1460
-
1461
1474
  # reduce 138 omitted
1462
1475
 
1463
- module_eval(<<'.,.,', 'parser.racc', 283)
1464
- def _reduce_139(val, _values, result)
1476
+ # reduce 139 omitted
1477
+
1478
+ module_eval(<<'.,.,', 'parser.racc', 284)
1479
+ def _reduce_140(val, _values, result)
1465
1480
  result = SQLParser::Statement::Count.new(SQLParser::Statement::All.new)
1466
1481
  result
1467
1482
  end
1468
1483
  .,.,
1469
1484
 
1470
- # reduce 140 omitted
1471
-
1472
- module_eval(<<'.,.,', 'parser.racc', 287)
1473
- def _reduce_141(val, _values, result)
1474
- result = SQLParser::Statement::Count.new(val[2])
1475
- result
1476
- end
1477
- .,.,
1485
+ # reduce 141 omitted
1478
1486
 
1479
1487
  module_eval(<<'.,.,', 'parser.racc', 288)
1480
1488
  def _reduce_142(val, _values, result)
1481
- result = SQLParser::Statement::Average.new(val[2])
1489
+ result = SQLParser::Statement::Count.new(val[2])
1482
1490
  result
1483
1491
  end
1484
1492
  .,.,
1485
1493
 
1486
1494
  module_eval(<<'.,.,', 'parser.racc', 289)
1487
1495
  def _reduce_143(val, _values, result)
1488
- result = SQLParser::Statement::Maximum.new(val[2])
1496
+ result = SQLParser::Statement::Average.new(val[2])
1489
1497
  result
1490
1498
  end
1491
1499
  .,.,
1492
1500
 
1493
1501
  module_eval(<<'.,.,', 'parser.racc', 290)
1494
1502
  def _reduce_144(val, _values, result)
1495
- result = SQLParser::Statement::Minimum.new(val[2])
1503
+ result = SQLParser::Statement::Maximum.new(val[2])
1496
1504
  result
1497
1505
  end
1498
1506
  .,.,
1499
1507
 
1500
1508
  module_eval(<<'.,.,', 'parser.racc', 291)
1501
1509
  def _reduce_145(val, _values, result)
1502
- result = SQLParser::Statement::Sum.new(val[2])
1510
+ result = SQLParser::Statement::Minimum.new(val[2])
1503
1511
  result
1504
1512
  end
1505
1513
  .,.,
1506
1514
 
1507
- # reduce 146 omitted
1508
-
1509
- # reduce 147 omitted
1510
-
1511
- module_eval(<<'.,.,', 'parser.racc', 299)
1512
- def _reduce_148(val, _values, result)
1513
- result = SQLParser::Statement::Float.new("#{val[0]}.#{val[2]}".to_f)
1515
+ module_eval(<<'.,.,', 'parser.racc', 292)
1516
+ def _reduce_146(val, _values, result)
1517
+ result = SQLParser::Statement::Sum.new(val[2])
1514
1518
  result
1515
1519
  end
1516
1520
  .,.,
1517
1521
 
1522
+ # reduce 147 omitted
1523
+
1524
+ # reduce 148 omitted
1525
+
1518
1526
  module_eval(<<'.,.,', 'parser.racc', 300)
1519
1527
  def _reduce_149(val, _values, result)
1520
- result = SQLParser::Statement::Float.new(val[0])
1528
+ result = SQLParser::Statement::Float.new("#{val[0]}.#{val[2]}".to_f)
1521
1529
  result
1522
1530
  end
1523
1531
  .,.,
1524
1532
 
1525
1533
  module_eval(<<'.,.,', 'parser.racc', 301)
1526
1534
  def _reduce_150(val, _values, result)
1527
- result = SQLParser::Statement::Float.new("0.#{val[1]}".to_f)
1535
+ result = SQLParser::Statement::Float.new(val[0])
1528
1536
  result
1529
1537
  end
1530
1538
  .,.,
1531
1539
 
1532
1540
  module_eval(<<'.,.,', 'parser.racc', 302)
1533
1541
  def _reduce_151(val, _values, result)
1534
- result = SQLParser::Statement::Integer.new(val[0])
1542
+ result = SQLParser::Statement::Float.new("0.#{val[1]}".to_f)
1535
1543
  result
1536
1544
  end
1537
1545
  .,.,
1538
1546
 
1539
- module_eval(<<'.,.,', 'parser.racc', 305)
1547
+ module_eval(<<'.,.,', 'parser.racc', 303)
1540
1548
  def _reduce_152(val, _values, result)
1541
- result = SQLParser::Statement::ApproximateFloat.new(val[0], val[2])
1549
+ result = SQLParser::Statement::Integer.new(val[0])
1542
1550
  result
1543
1551
  end
1544
1552
  .,.,
1545
1553
 
1546
- # reduce 153 omitted
1547
-
1548
- # reduce 154 omitted
1549
-
1550
- module_eval(<<'.,.,', 'parser.racc', 314)
1551
- def _reduce_155(val, _values, result)
1552
- result = val[0].new(SQLParser::Statement::Integer.new(val[1]))
1554
+ module_eval(<<'.,.,', 'parser.racc', 306)
1555
+ def _reduce_153(val, _values, result)
1556
+ result = SQLParser::Statement::ApproximateFloat.new(val[0], val[2])
1553
1557
  result
1554
1558
  end
1555
1559
  .,.,
1556
1560
 
1561
+ # reduce 154 omitted
1562
+
1563
+ # reduce 155 omitted
1564
+
1557
1565
  module_eval(<<'.,.,', 'parser.racc', 315)
1558
1566
  def _reduce_156(val, _values, result)
1559
- result = SQLParser::Statement::Integer.new(val[0])
1567
+ result = val[0].new(SQLParser::Statement::Integer.new(val[1]))
1560
1568
  result
1561
1569
  end
1562
1570
  .,.,
1563
1571
 
1564
- module_eval(<<'.,.,', 'parser.racc', 318)
1572
+ module_eval(<<'.,.,', 'parser.racc', 316)
1565
1573
  def _reduce_157(val, _values, result)
1566
- result = SQLParser::Statement::UnaryPlus
1574
+ result = SQLParser::Statement::Integer.new(val[0])
1567
1575
  result
1568
1576
  end
1569
1577
  .,.,
1570
1578
 
1571
1579
  module_eval(<<'.,.,', 'parser.racc', 319)
1572
1580
  def _reduce_158(val, _values, result)
1573
- result = SQLParser::Statement::UnaryMinus
1581
+ result = SQLParser::Statement::UnaryPlus
1574
1582
  result
1575
1583
  end
1576
1584
  .,.,
1577
1585
 
1578
- module_eval(<<'.,.,', 'parser.racc', 323)
1586
+ module_eval(<<'.,.,', 'parser.racc', 320)
1579
1587
  def _reduce_159(val, _values, result)
1580
- result = SQLParser::Statement::Column.new(val[0])
1588
+ result = SQLParser::Statement::UnaryMinus
1581
1589
  result
1582
1590
  end
1583
1591
  .,.,
1584
1592
 
1585
- module_eval(<<'.,.,', 'parser.racc', 327)
1593
+ module_eval(<<'.,.,', 'parser.racc', 324)
1586
1594
  def _reduce_160(val, _values, result)
1587
- result = SQLParser::Statement::String.new(val[1])
1595
+ result = SQLParser::Statement::Column.new(val[0])
1588
1596
  result
1589
1597
  end
1590
1598
  .,.,
1591
1599
 
1592
1600
  module_eval(<<'.,.,', 'parser.racc', 328)
1593
1601
  def _reduce_161(val, _values, result)
1594
- result = SQLParser::Statement::String.new('')
1602
+ result = SQLParser::Statement::String.new(val[1])
1595
1603
  result
1596
1604
  end
1597
1605
  .,.,
1598
1606
 
1599
- # reduce 162 omitted
1607
+ module_eval(<<'.,.,', 'parser.racc', 329)
1608
+ def _reduce_162(val, _values, result)
1609
+ result = SQLParser::Statement::String.new('')
1610
+ result
1611
+ end
1612
+ .,.,
1600
1613
 
1601
1614
  # reduce 163 omitted
1602
1615
 
1603
- module_eval(<<'.,.,', 'parser.racc', 335)
1604
- def _reduce_164(val, _values, result)
1616
+ # reduce 164 omitted
1617
+
1618
+ module_eval(<<'.,.,', 'parser.racc', 336)
1619
+ def _reduce_165(val, _values, result)
1605
1620
  result = SQLParser::Statement::Date.new(val[1])
1606
1621
  result
1607
1622
  end