sql-parser-vlad 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sql-parser/parser.racc +2 -2
- data/lib/sql-parser/parser.racc.rb +277 -291
- data/lib/sql-parser/parser.rex.rb +1 -1
- data/lib/sql-parser/parser.tab.rb +277 -291
- data/lib/sql-parser/version.rb +1 -1
- metadata +1 -1
@@ -277,7 +277,7 @@ class SQLParser::Parser < Racc::Parser
|
|
277
277
|
when (text = @ss.scan(/\'/i))
|
278
278
|
action { @state = nil; [:quote, text] }
|
279
279
|
|
280
|
-
when (text = @ss.scan(
|
280
|
+
when (text = @ss.scan(/[^']*(?=\')/i))
|
281
281
|
action { [:character_string_literal, text.gsub("''", "'")] }
|
282
282
|
|
283
283
|
else
|
@@ -22,250 +22,236 @@ end
|
|
22
22
|
racc_action_table = [
|
23
23
|
47, -136, 100, 100, 153, 160, 113, 79, 73, 241,
|
24
24
|
47, 47, 58, 7, 154, 242, 8, 140, 232, 47,
|
25
|
-
233, 234,
|
25
|
+
233, 234, 155, 52, 235, 55, 58, 156, 75, 167,
|
26
26
|
75, 75, -136, -136, -136, -136, 164, 21, 47, 21,
|
27
27
|
21, 80, 159, 235, 65, 50, 51, 21, 21, 35,
|
28
|
-
48, 39, 41, 42, 43, 44, 21, 52,
|
29
|
-
48, 48, 50, 51, 50, 51, 58,
|
28
|
+
48, 39, 41, 42, 43, 44, 21, 52, 65, 55,
|
29
|
+
48, 48, 50, 51, 50, 51, 58, 230, 35, 48,
|
30
30
|
39, 41, 42, 43, 44, 21, 52, 47, 55, 76,
|
31
|
-
77, 78, 160, 50, 51,
|
32
|
-
41, 42, 43, 44,
|
33
|
-
106, 94, 93,
|
34
|
-
|
35
|
-
111, 112, 50, 51,
|
36
|
-
42, 43, 44, 167, 52, 75, 55, 47,
|
37
|
-
164, 21, 31, 128,
|
38
|
-
51, 71,
|
39
|
-
|
40
|
-
204,
|
41
|
-
210,
|
42
|
-
42, 43, 44,
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
50, 51, 31,
|
48
|
-
44,
|
49
|
-
|
50
|
-
41, 42, 43, 44, 21, 52,
|
51
|
-
|
52
|
-
42, 43, 44, 21, 52,
|
53
|
-
|
54
|
-
43, 44,
|
55
|
-
nil, nil,
|
31
|
+
77, 78, 160, 50, 51, 264, 265, 35, 48, 39,
|
32
|
+
41, 42, 43, 44, 52, 52, 55, 55, 65, 199,
|
33
|
+
106, 94, 93, 141, 47, 136, 167, 144, 145, 160,
|
34
|
+
180, 181, 182, 164, 21, 107, 183, 109, 110, 184,
|
35
|
+
111, 112, 50, 51, 185, 186, 35, 48, 39, 41,
|
36
|
+
42, 43, 44, 167, 52, 75, 55, 47, 188, 189,
|
37
|
+
164, 21, 31, 128, 65, 75, 195, 196, 119, 50,
|
38
|
+
51, 199, 71, 35, 48, 39, 41, 42, 43, 44,
|
39
|
+
58, 52, 47, 55, 213, 200, 201, 160, 202, 203,
|
40
|
+
204, 71, 71, 216, 21, 205, 206, 207, 208, 209,
|
41
|
+
210, 217, 50, 51, 8, 223, 35, 48, 39, 41,
|
42
|
+
42, 43, 44, 95, 52, 47, 55, 92, 164, 21,
|
43
|
+
160, 128, 91, 75, 90, 8, 237, 50, 51, -155,
|
44
|
+
89, 35, 48, 39, 41, 42, 43, 44, 47, 52,
|
45
|
+
88, 55, 146, 31, 167, 86, 85, 84, -91, 72,
|
46
|
+
252, 164, 21, 253, 199, 254, 213, 47, 71, 237,
|
47
|
+
50, 51, 31, 57, 35, 48, 39, 41, 42, 43,
|
48
|
+
44, 258, 52, 56, 55, 21, 47, 260, 199, 75,
|
49
|
+
12, 31, 267, 50, 51, 11, 269, 35, 48, 39,
|
50
|
+
41, 42, 43, 44, 21, 52, 270, 55, 271, 47,
|
51
|
+
272, 273, 50, 51, 31, 9, 35, 48, 39, 41,
|
52
|
+
42, 43, 44, 21, 52, 87, 55, 105, 47, 142,
|
53
|
+
150, 50, 51, 31, 65, 35, 48, 39, 41, 42,
|
54
|
+
43, 44, 152, 52, nil, 55, 21, 47, nil, nil,
|
55
|
+
nil, nil, 31, nil, 50, 51, nil, nil, 35, 48,
|
56
56
|
39, 41, 42, 43, 44, 21, 52, nil, 55, nil,
|
57
|
-
|
58
|
-
41, 42, 43, 44,
|
59
|
-
|
60
|
-
|
61
|
-
nil, nil, nil,
|
62
|
-
164, 21, 47, nil, nil, nil, nil, 31, nil, 50,
|
63
|
-
51, nil, nil, 35, 48, 39, 41, 42, 43, 44,
|
64
|
-
21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
|
65
|
-
31, nil, 35, 48, 39, 41, 42, 43, 44, 21,
|
66
|
-
52, nil, 55, nil, 47, nil, nil, 50, 51, 31,
|
67
|
-
nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
68
|
-
nil, 55, 21, 47, nil, nil, nil, nil, 31, nil,
|
69
|
-
50, 51, nil, nil, 35, 48, 39, 41, 42, 43,
|
70
|
-
44, 21, 52, nil, 55, nil, 47, nil, nil, 50,
|
71
|
-
51, 31, nil, 35, 48, 39, 41, 42, 43, 44,
|
72
|
-
21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
|
73
|
-
31, nil, 35, 48, 39, 41, 42, 43, 44, nil,
|
74
|
-
52, nil, 55, 21, nil, nil, nil, nil, nil, nil,
|
75
|
-
nil, 50, 51, nil, nil, 35, 48, 39, 41, 42,
|
76
|
-
43, 44, 21, 52, nil, 55, nil, nil, nil, nil,
|
77
|
-
50, 51, nil, nil, 35, 48, 39, 41, 42, 43,
|
78
|
-
44, 47, 52, nil, 55, nil, 31, nil, nil, nil,
|
79
|
-
nil, nil, 13, 14, 15, 17, 106, nil, nil, 104,
|
80
|
-
47, nil, nil, 105, nil, 31, nil, nil, nil, nil,
|
81
|
-
8, 107, nil, 109, 110, nil, 111, 112, 21, 47,
|
82
|
-
nil, nil, nil, nil, 31, nil, 50, 51, nil, 8,
|
83
|
-
35, 48, 39, 41, 42, 43, 44, 21, 52, nil,
|
84
|
-
55, nil, nil, nil, nil, 50, 51, nil, nil, 35,
|
57
|
+
47, nil, nil, 50, 51, 31, nil, 35, 48, 39,
|
58
|
+
41, 42, 43, 44, 21, 52, nil, 55, nil, 47,
|
59
|
+
nil, nil, 50, 51, 31, nil, 35, 48, 39, 41,
|
60
|
+
42, 43, 44, 130, 52, nil, 55, 21, 47, nil,
|
61
|
+
nil, nil, nil, 31, nil, 50, 51, nil, nil, 35,
|
85
62
|
48, 39, 41, 42, 43, 44, 21, 52, nil, 55,
|
86
63
|
nil, 47, nil, nil, 50, 51, 31, nil, 35, 48,
|
87
|
-
39, 41, 42, 43, 44,
|
88
|
-
47, nil, nil,
|
89
|
-
|
90
|
-
nil, nil, nil,
|
64
|
+
39, 41, 42, 43, 44, 21, 52, nil, 55, nil,
|
65
|
+
47, nil, nil, 50, 51, 31, nil, 35, 48, 39,
|
66
|
+
41, 42, 43, 44, nil, 52, nil, 55, 21, 47,
|
67
|
+
nil, nil, nil, nil, 31, nil, 50, 51, nil, nil,
|
91
68
|
35, 48, 39, 41, 42, 43, 44, 21, 52, nil,
|
92
69
|
55, nil, 47, nil, nil, 50, 51, 31, nil, 35,
|
93
|
-
48, 39, 41, 42, 43, 44,
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
nil, 35, 48, 39, 41, 42, 43, 44,
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
70
|
+
48, 39, 41, 42, 43, 44, 21, 52, nil, 55,
|
71
|
+
nil, nil, nil, nil, 50, 51, nil, nil, 35, 48,
|
72
|
+
39, 41, 42, 43, 44, nil, 52, nil, 55, 21,
|
73
|
+
nil, nil, nil, nil, nil, nil, nil, 50, 51, nil,
|
74
|
+
nil, 35, 48, 39, 41, 42, 43, 44, 47, 52,
|
75
|
+
nil, 55, nil, 31, nil, nil, nil, nil, 106, 13,
|
76
|
+
14, 15, 17, nil, nil, nil, nil, 47, nil, nil,
|
77
|
+
nil, nil, 31, 107, nil, 109, 110, 8, 111, 112,
|
78
|
+
221, 222, nil, nil, nil, 21, 47, nil, nil, nil,
|
79
|
+
nil, 31, nil, 50, 51, nil, 8, 35, 48, 39,
|
80
|
+
41, 42, 43, 44, 21, 52, nil, 55, nil, nil,
|
81
|
+
nil, nil, 50, 51, nil, nil, 35, 48, 39, 41,
|
82
|
+
42, 43, 44, 21, 52, nil, 55, nil, 47, nil,
|
83
|
+
nil, 50, 51, 31, nil, 35, 48, 39, 41, 42,
|
84
|
+
43, 44, 17, 52, nil, 55, nil, 47, nil, nil,
|
85
|
+
nil, 106, 31, nil, 104, nil, nil, nil, 105, nil,
|
86
|
+
nil, 17, nil, nil, nil, 21, 107, nil, 109, 110,
|
87
|
+
47, 111, 112, 50, 51, 235, nil, 35, 48, 39,
|
88
|
+
41, 42, 43, 44, 21, 52, nil, 55, nil, 47,
|
89
|
+
nil, nil, 50, 51, 31, nil, 35, 48, 39, 41,
|
90
|
+
42, 43, 44, 17, 52, nil, 55, 21, nil, nil,
|
102
91
|
nil, nil, nil, nil, nil, 50, 51, nil, nil, 35,
|
103
92
|
48, 39, 41, 42, 43, 44, 21, 52, 47, 55,
|
104
|
-
nil, nil, nil,
|
105
|
-
39, 41, 42, 43, 44, nil, 52,
|
106
|
-
|
107
|
-
nil,
|
93
|
+
nil, nil, nil, 160, 50, 51, nil, nil, 35, 48,
|
94
|
+
39, 41, 42, 43, 44, nil, 52, 47, 55, nil,
|
95
|
+
nil, nil, 31, nil, nil, nil, nil, 167, nil, nil,
|
96
|
+
nil, nil, nil, nil, 164, 21, nil, nil, nil, nil,
|
108
97
|
nil, nil, nil, 50, 51, nil, nil, 35, 48, 39,
|
109
|
-
41, 42, 43, 44,
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
51, nil, nil, 35, 48, 39, 41, 42,
|
115
|
-
21, 52, nil, 55, nil, 47, nil, nil,
|
116
|
-
235, nil, 35, 48, 39, 41, 42, 43,
|
117
|
-
52, nil, 55, nil, 47, nil, nil, 50, 51, 235,
|
118
|
-
nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
119
|
-
nil, 55, 21, 47, nil, nil, nil, nil, 235, nil,
|
120
|
-
50, 51, nil, nil, 35, 48, 39, 41, 42, 43,
|
98
|
+
41, 42, 43, 44, 21, 52, 47, 55, nil, nil,
|
99
|
+
nil, 160, 50, 51, nil, nil, 35, 48, 39, 41,
|
100
|
+
42, 43, 44, nil, 52, 47, 55, nil, nil, nil,
|
101
|
+
31, nil, nil, nil, nil, 167, nil, nil, nil, nil,
|
102
|
+
nil, nil, 164, 21, 47, nil, nil, nil, nil, 31,
|
103
|
+
nil, 50, 51, nil, nil, 35, 48, 39, 41, 42,
|
104
|
+
43, 44, 21, 52, nil, 55, nil, 47, nil, nil,
|
105
|
+
nil, nil, 235, nil, 35, 48, 39, 41, 42, 43,
|
121
106
|
44, 21, 52, nil, 55, nil, 47, nil, nil, 50,
|
122
107
|
51, 235, nil, 35, 48, 39, 41, 42, 43, 44,
|
123
|
-
|
124
|
-
235, nil,
|
125
|
-
|
108
|
+
nil, 52, nil, 55, 21, 47, nil, nil, nil, nil,
|
109
|
+
235, nil, 50, 51, nil, nil, 35, 48, 39, 41,
|
110
|
+
42, 43, 44, 21, 52, nil, 55, nil, 47, nil,
|
111
|
+
nil, 50, 51, 235, nil, 35, 48, 39, 41, 42,
|
112
|
+
43, 44, 21, 52, nil, 55, nil, 47, nil, nil,
|
113
|
+
50, 51, 235, nil, 35, 48, 39, 41, 42, 43,
|
114
|
+
44, nil, 52, nil, 55, 21, 47, nil, nil, nil,
|
115
|
+
nil, 235, nil, 50, 51, nil, nil, 35, 48, 39,
|
116
|
+
41, 42, 43, 44, 21, 52, nil, 55, nil, 47,
|
117
|
+
nil, nil, 50, 51, 235, nil, 35, 48, 39, 41,
|
118
|
+
42, 43, 44, 21, 52, nil, 55, nil, nil, nil,
|
126
119
|
nil, 50, 51, nil, nil, 35, 48, 39, 41, 42,
|
127
|
-
43, 44,
|
128
|
-
50, 51, nil, nil, 35, 48,
|
129
|
-
44, nil, 52, nil, 55 ]
|
120
|
+
43, 44, nil, 52, nil, 55, 21, nil, nil, nil,
|
121
|
+
nil, nil, nil, nil, 50, 51, nil, nil, 35, 48,
|
122
|
+
39, 41, 42, 43, 44, nil, 52, nil, 55 ]
|
130
123
|
|
131
124
|
racc_action_check = [
|
132
|
-
119, 23,
|
133
|
-
254, 196,
|
134
|
-
200, 200,
|
135
|
-
20, 113, 23, 23, 23, 23, 119, 119, 258,
|
136
|
-
|
137
|
-
119, 119, 119, 119, 119, 119, 267, 119,
|
138
|
-
254, 196, 92, 92, 267, 267,
|
125
|
+
119, 23, 57, 142, 108, 119, 60, 25, 20, 204,
|
126
|
+
254, 196, 71, 0, 110, 204, 0, 92, 200, 267,
|
127
|
+
200, 200, 111, 234, 267, 234, 153, 112, 60, 119,
|
128
|
+
20, 113, 23, 23, 23, 23, 119, 119, 258, 57,
|
129
|
+
142, 25, 118, 258, 71, 119, 119, 254, 196, 119,
|
130
|
+
119, 119, 119, 119, 119, 119, 267, 119, 153, 119,
|
131
|
+
254, 196, 92, 92, 267, 267, 12, 197, 267, 267,
|
139
132
|
267, 267, 267, 267, 267, 258, 267, 199, 267, 24,
|
140
|
-
24, 24, 199, 258, 258,
|
141
|
-
258, 258, 258, 258,
|
142
|
-
120, 52, 52,
|
143
|
-
|
144
|
-
120, 120, 199, 199,
|
145
|
-
199, 199, 199, 195, 199, 84, 199, 189,
|
146
|
-
195, 195, 189, 83,
|
147
|
-
195, 68,
|
148
|
-
|
149
|
-
163,
|
150
|
-
163,
|
151
|
-
189, 189, 189,
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
nil, nil,
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
nil, nil, nil,
|
171
|
-
|
172
|
-
|
173
|
-
85,
|
174
|
-
|
175
|
-
|
176
|
-
nil,
|
177
|
-
|
178
|
-
87,
|
179
|
-
|
180
|
-
|
181
|
-
89,
|
182
|
-
|
183
|
-
|
184
|
-
nil,
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
nil, nil, 8, 8, 8, 8,
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
nil,
|
196
|
-
|
197
|
-
|
198
|
-
nil, nil,
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
nil, nil,
|
205
|
-
|
206
|
-
nil,
|
207
|
-
221,
|
208
|
-
|
209
|
-
|
210
|
-
26, nil, nil, nil, nil,
|
211
|
-
nil, nil,
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
26,
|
216
|
-
|
217
|
-
nil,
|
218
|
-
|
219
|
-
|
220
|
-
nil,
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
207,
|
226
|
-
|
227
|
-
|
228
|
-
nil,
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
205, 206, nil, 206, nil, 201, nil, nil, 205, 205,
|
233
|
-
201, nil, 205, 205, 205, 205, 205, 205, 205, nil,
|
234
|
-
205, nil, 205, 203, nil, nil, nil, nil, nil, nil,
|
235
|
-
nil, 203, 203, nil, nil, 203, 203, 203, 203, 203,
|
236
|
-
203, 203, 201, 203, nil, 203, nil, nil, nil, nil,
|
237
|
-
201, 201, nil, nil, 201, 201, 201, 201, 201, 201,
|
238
|
-
201, nil, 201, nil, 201 ]
|
133
|
+
24, 24, 199, 258, 258, 253, 253, 258, 258, 258,
|
134
|
+
258, 258, 258, 258, 203, 258, 203, 258, 12, 197,
|
135
|
+
120, 52, 52, 93, 195, 90, 199, 98, 98, 195,
|
136
|
+
130, 131, 132, 199, 199, 120, 133, 120, 120, 134,
|
137
|
+
120, 120, 199, 199, 135, 139, 199, 199, 199, 199,
|
138
|
+
199, 199, 199, 195, 199, 84, 199, 189, 148, 149,
|
139
|
+
195, 195, 189, 83, 152, 73, 158, 159, 70, 195,
|
140
|
+
195, 161, 68, 195, 195, 195, 195, 195, 195, 195,
|
141
|
+
164, 195, 167, 195, 165, 163, 163, 167, 163, 163,
|
142
|
+
163, 67, 66, 190, 189, 163, 163, 163, 163, 163,
|
143
|
+
163, 191, 189, 189, 58, 194, 189, 189, 189, 189,
|
144
|
+
189, 189, 189, 55, 189, 160, 189, 49, 167, 167,
|
145
|
+
160, 198, 48, 271, 47, 160, 202, 167, 167, 45,
|
146
|
+
44, 167, 167, 167, 167, 167, 167, 167, 72, 167,
|
147
|
+
43, 167, 101, 72, 160, 41, 39, 36, 21, 19,
|
148
|
+
222, 160, 160, 223, 225, 226, 231, 76, 16, 233,
|
149
|
+
160, 160, 76, 11, 160, 160, 160, 160, 160, 160,
|
150
|
+
160, 236, 160, 9, 160, 72, 77, 241, 251, 252,
|
151
|
+
7, 77, 255, 72, 72, 5, 259, 72, 72, 72,
|
152
|
+
72, 72, 72, 72, 76, 72, 261, 72, 262, 78,
|
153
|
+
264, 265, 76, 76, 78, 1, 76, 76, 76, 76,
|
154
|
+
76, 76, 76, 77, 76, 42, 76, 103, 79, 96,
|
155
|
+
105, 77, 77, 79, 106, 77, 77, 77, 77, 77,
|
156
|
+
77, 77, 107, 77, nil, 77, 78, 80, nil, nil,
|
157
|
+
nil, nil, 80, nil, 78, 78, nil, nil, 78, 78,
|
158
|
+
78, 78, 78, 78, 78, 79, 78, nil, 78, nil,
|
159
|
+
150, nil, nil, 79, 79, 150, nil, 79, 79, 79,
|
160
|
+
79, 79, 79, 79, 80, 79, nil, 79, nil, 85,
|
161
|
+
nil, nil, 80, 80, 85, nil, 80, 80, 80, 80,
|
162
|
+
80, 80, 80, 85, 80, nil, 80, 150, 86, nil,
|
163
|
+
nil, nil, nil, 86, nil, 150, 150, nil, nil, 150,
|
164
|
+
150, 150, 150, 150, 150, 150, 85, 150, nil, 150,
|
165
|
+
nil, 87, nil, nil, 85, 85, 87, nil, 85, 85,
|
166
|
+
85, 85, 85, 85, 85, 86, 85, nil, 85, nil,
|
167
|
+
88, nil, nil, 86, 86, 88, nil, 86, 86, 86,
|
168
|
+
86, 86, 86, 86, nil, 86, nil, 86, 87, 89,
|
169
|
+
nil, nil, nil, nil, 89, nil, 87, 87, nil, nil,
|
170
|
+
87, 87, 87, 87, 87, 87, 87, 88, 87, nil,
|
171
|
+
87, nil, 104, nil, nil, 88, 88, 104, nil, 88,
|
172
|
+
88, 88, 88, 88, 88, 88, 89, 88, nil, 88,
|
173
|
+
nil, nil, nil, nil, 89, 89, nil, nil, 89, 89,
|
174
|
+
89, 89, 89, 89, 89, nil, 89, nil, 89, 104,
|
175
|
+
nil, nil, nil, nil, nil, nil, nil, 104, 104, nil,
|
176
|
+
nil, 104, 104, 104, 104, 104, 104, 104, 8, 104,
|
177
|
+
nil, 104, nil, 8, nil, nil, nil, nil, 193, 8,
|
178
|
+
8, 8, 8, nil, nil, nil, nil, 237, nil, nil,
|
179
|
+
nil, nil, 237, 193, nil, 193, 193, 237, 193, 193,
|
180
|
+
193, 193, nil, nil, nil, 8, 235, nil, nil, nil,
|
181
|
+
nil, 235, nil, 8, 8, nil, 235, 8, 8, 8,
|
182
|
+
8, 8, 8, 8, 237, 8, nil, 8, nil, nil,
|
183
|
+
nil, nil, 237, 237, nil, nil, 237, 237, 237, 237,
|
184
|
+
237, 237, 237, 235, 237, nil, 237, nil, 13, nil,
|
185
|
+
nil, 235, 235, 13, nil, 235, 235, 235, 235, 235,
|
186
|
+
235, 235, 13, 235, nil, 235, nil, 14, nil, nil,
|
187
|
+
nil, 59, 14, nil, 59, nil, nil, nil, 59, nil,
|
188
|
+
nil, 14, nil, nil, nil, 13, 59, nil, 59, 59,
|
189
|
+
232, 59, 59, 13, 13, 232, nil, 13, 13, 13,
|
190
|
+
13, 13, 13, 13, 14, 13, nil, 13, nil, 15,
|
191
|
+
nil, nil, 14, 14, 15, nil, 14, 14, 14, 14,
|
192
|
+
14, 14, 14, 15, 14, nil, 14, 232, nil, nil,
|
193
|
+
nil, nil, nil, nil, nil, 232, 232, nil, nil, 232,
|
194
|
+
232, 232, 232, 232, 232, 232, 15, 232, 221, 232,
|
195
|
+
nil, nil, nil, 221, 15, 15, nil, nil, 15, 15,
|
196
|
+
15, 15, 15, 15, 15, nil, 15, 217, 15, nil,
|
197
|
+
nil, nil, 217, nil, nil, nil, nil, 221, nil, nil,
|
198
|
+
nil, nil, nil, nil, 221, 221, nil, nil, nil, nil,
|
199
|
+
nil, nil, nil, 221, 221, nil, nil, 221, 221, 221,
|
200
|
+
221, 221, 221, 221, 217, 221, 213, 221, nil, nil,
|
201
|
+
nil, 213, 217, 217, nil, nil, 217, 217, 217, 217,
|
202
|
+
217, 217, 217, nil, 217, 26, 217, nil, nil, nil,
|
203
|
+
26, nil, nil, nil, nil, 213, nil, nil, nil, nil,
|
204
|
+
nil, nil, 213, 213, 31, nil, nil, nil, nil, 31,
|
205
|
+
nil, 213, 213, nil, nil, 213, 213, 213, 213, 213,
|
206
|
+
213, 213, 26, 213, nil, 213, nil, 210, nil, nil,
|
207
|
+
nil, nil, 210, nil, 26, 26, 26, 26, 26, 26,
|
208
|
+
26, 31, 26, nil, 26, nil, 209, nil, nil, 31,
|
209
|
+
31, 209, nil, 31, 31, 31, 31, 31, 31, 31,
|
210
|
+
nil, 31, nil, 31, 210, 208, nil, nil, nil, nil,
|
211
|
+
208, nil, 210, 210, nil, nil, 210, 210, 210, 210,
|
212
|
+
210, 210, 210, 209, 210, nil, 210, nil, 207, nil,
|
213
|
+
nil, 209, 209, 207, nil, 209, 209, 209, 209, 209,
|
214
|
+
209, 209, 208, 209, nil, 209, nil, 206, nil, nil,
|
215
|
+
208, 208, 206, nil, 208, 208, 208, 208, 208, 208,
|
216
|
+
208, nil, 208, nil, 208, 207, 205, nil, nil, nil,
|
217
|
+
nil, 205, nil, 207, 207, nil, nil, 207, 207, 207,
|
218
|
+
207, 207, 207, 207, 206, 207, nil, 207, nil, 201,
|
219
|
+
nil, nil, 206, 206, 201, nil, 206, 206, 206, 206,
|
220
|
+
206, 206, 206, 205, 206, nil, 206, nil, nil, nil,
|
221
|
+
nil, 205, 205, nil, nil, 205, 205, 205, 205, 205,
|
222
|
+
205, 205, nil, 205, nil, 205, 201, nil, nil, nil,
|
223
|
+
nil, nil, nil, nil, 201, 201, nil, nil, 201, 201,
|
224
|
+
201, 201, 201, 201, 201, nil, 201, nil, 201 ]
|
239
225
|
|
240
226
|
racc_action_pointer = [
|
241
|
-
1,
|
242
|
-
nil,
|
243
|
-
-12,
|
244
|
-
nil,
|
245
|
-
nil,
|
246
|
-
nil, nil, 39, nil, nil,
|
247
|
-
-14, nil, nil, nil, nil, nil, 151,
|
248
|
-
117,
|
249
|
-
|
250
|
-
|
251
|
-
nil,
|
252
|
-
-12, -
|
227
|
+
1, 285, nil, nil, nil, 263, nil, 247, 513, 253,
|
228
|
+
nil, 240, 56, 593, 612, 654, 217, nil, nil, 222,
|
229
|
+
-12, 173, nil, -18, 29, -12, 770, nil, nil, nil,
|
230
|
+
nil, 789, nil, nil, nil, nil, 172, nil, nil, 216,
|
231
|
+
nil, 215, 285, 210, 200, 148, nil, 149, 197, 136,
|
232
|
+
nil, nil, 39, nil, nil, 128, nil, -3, 169, 614,
|
233
|
+
-14, nil, nil, nil, nil, nil, 151, 150, 131, nil,
|
234
|
+
117, 2, 213, 103, nil, nil, 232, 251, 274, 293,
|
235
|
+
312, nil, nil, 132, 93, 354, 373, 396, 415, 434,
|
236
|
+
100, nil, 12, 41, nil, nil, 292, nil, 99, nil,
|
237
|
+
nil, 211, nil, 283, 457, 290, 262, 289, -19, nil,
|
238
|
+
-12, -4, 1, -11, nil, nil, nil, nil, 10, -5,
|
253
239
|
93, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
254
|
-
|
255
|
-
nil, nil, -
|
256
|
-
|
257
|
-
|
240
|
+
99, 100, 101, 105, 108, 113, nil, nil, nil, 120,
|
241
|
+
nil, nil, -2, nil, nil, nil, nil, nil, 127, 132,
|
242
|
+
335, nil, 102, 16, nil, nil, nil, nil, 113, 144,
|
243
|
+
190, 108, nil, 131, 150, 128, nil, 157, nil, nil,
|
258
244
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
259
245
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, 132,
|
260
|
-
|
261
|
-
-17,
|
262
|
-
|
263
|
-
nil,
|
264
|
-
nil,
|
265
|
-
nil,
|
266
|
-
nil,
|
267
|
-
nil,
|
268
|
-
nil,
|
246
|
+
162, 174, nil, 521, 181, 99, 6, 56, 190, 72,
|
247
|
+
-17, 934, 196, 32, -25, 911, 892, 873, 850, 831,
|
248
|
+
812, nil, nil, 751, nil, nil, nil, 712, nil, nil,
|
249
|
+
nil, 693, 220, 228, nil, 191, 228, nil, nil, nil,
|
250
|
+
nil, 200, 635, 229, -39, 551, 215, 532, nil, nil,
|
251
|
+
nil, 217, nil, nil, nil, nil, nil, nil, nil, nil,
|
252
|
+
nil, 215, 217, 79, 5, 226, nil, nil, 33, 255,
|
253
|
+
nil, 265, 271, nil, 275, 276, nil, 14, nil, nil,
|
254
|
+
nil, 161, nil, nil, nil, nil ]
|
269
255
|
|
270
256
|
racc_action_default = [
|
271
257
|
-167, -167, -1, -2, -3, -5, -20, -167, -167, -167,
|
@@ -298,70 +284,70 @@ racc_action_default = [
|
|
298
284
|
-65, -167, -9, -10, -78, -92 ]
|
299
285
|
|
300
286
|
racc_goto_table = [
|
301
|
-
74, 20, 99, 61,
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
114,
|
306
|
-
|
307
|
-
|
308
|
-
266,
|
309
|
-
133, 134, 135,
|
310
|
-
|
311
|
-
nil, nil, nil, 151,
|
312
|
-
nil, nil, 251, nil, nil, nil, nil, nil, nil, nil,
|
287
|
+
74, 20, 99, 61, 82, 190, 20, 20, 20, 60,
|
288
|
+
59, 148, 227, 97, 238, 228, 16, 102, 161, 126,
|
289
|
+
127, 66, 67, 68, 83, 69, 123, 124, 125, 236,
|
290
|
+
226, 231, 249, 243, 244, 245, 246, 247, 248, 214,
|
291
|
+
114, 139, 81, 137, 1, 256, 138, 2, 3, 4,
|
292
|
+
5, 10, 96, 122, 82, 82, 82, 82, 82, 197,
|
293
|
+
255, 147, 61, 224, 129, 20, 143, 103, 60, 120,
|
294
|
+
266, 121, 250, 228, 118, 115, 116, 117, 131, 132,
|
295
|
+
133, 134, 135, 158, 194, 212, 268, 99, 218, 219,
|
296
|
+
220, 261, 259, 157, 225, 274, 215, 149, 187, 262,
|
297
|
+
nil, nil, nil, 151, nil, nil, nil, nil, nil, nil,
|
313
298
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
299
|
+
251, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
314
300
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
315
|
-
nil, 229, nil, 191, 61,
|
316
|
-
60,
|
301
|
+
nil, 229, nil, 191, 61, nil, nil, nil, nil, 192,
|
302
|
+
60, 193, nil, 198, nil, 211, nil, nil, nil, nil,
|
317
303
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
318
304
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
319
|
-
nil,
|
305
|
+
nil, 240, 149, nil, nil, nil, nil, nil, nil, nil,
|
320
306
|
nil, nil, nil, 211, nil, nil, nil, nil, nil, 229,
|
321
307
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
322
|
-
191, nil,
|
308
|
+
191, nil, 257, nil, nil, nil, nil, nil, nil, nil,
|
323
309
|
nil, nil, nil, nil, 211, nil, nil, nil, 83, nil,
|
324
310
|
191, nil, 263, nil, nil, nil, nil, nil, nil, nil,
|
325
311
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
326
312
|
nil, 275 ]
|
327
313
|
|
328
314
|
racc_goto_check = [
|
329
|
-
25, 19, 12, 13,
|
330
|
-
|
331
|
-
62,
|
332
|
-
|
333
|
-
25,
|
334
|
-
|
335
|
-
|
336
|
-
43,
|
337
|
-
19, 19, 19,
|
338
|
-
|
339
|
-
nil, nil, nil, 30,
|
340
|
-
nil, nil, 39, nil, nil, nil, nil, nil, nil, nil,
|
315
|
+
25, 19, 12, 13, 51, 20, 19, 19, 19, 30,
|
316
|
+
15, 18, 43, 9, 49, 44, 21, 16, 39, 62,
|
317
|
+
62, 21, 21, 21, 19, 22, 61, 61, 61, 47,
|
318
|
+
42, 54, 55, 47, 47, 47, 47, 47, 47, 56,
|
319
|
+
25, 64, 65, 75, 1, 49, 76, 2, 3, 4,
|
320
|
+
5, 6, 7, 25, 51, 51, 51, 51, 51, 39,
|
321
|
+
47, 16, 13, 8, 25, 19, 11, 17, 30, 15,
|
322
|
+
43, 23, 20, 44, 27, 22, 22, 22, 19, 19,
|
323
|
+
19, 19, 19, 28, 29, 32, 47, 12, 36, 37,
|
324
|
+
38, 40, 20, 25, 39, 47, 18, 19, 9, 41,
|
325
|
+
nil, nil, nil, 30, nil, nil, nil, nil, nil, nil,
|
341
326
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
327
|
+
39, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
342
328
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
343
|
-
nil, 12, nil, 19, 13,
|
344
|
-
30,
|
329
|
+
nil, 12, nil, 19, 13, nil, nil, nil, nil, 30,
|
330
|
+
30, 15, nil, 19, nil, 13, nil, nil, nil, nil,
|
345
331
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
346
332
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
347
|
-
nil,
|
333
|
+
nil, 51, 19, nil, nil, nil, nil, nil, nil, nil,
|
348
334
|
nil, nil, nil, 13, nil, nil, nil, nil, nil, 12,
|
349
335
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
350
|
-
19, nil,
|
336
|
+
19, nil, 51, nil, nil, nil, nil, nil, nil, nil,
|
351
337
|
nil, nil, nil, nil, 13, nil, nil, nil, 19, nil,
|
352
338
|
19, nil, 25, nil, nil, nil, nil, nil, nil, nil,
|
353
339
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
354
340
|
nil, 25 ]
|
355
341
|
|
356
342
|
racc_goto_pointer = [
|
357
|
-
nil,
|
358
|
-
nil, -
|
359
|
-
-145,
|
360
|
-
-3, nil,
|
361
|
-
-
|
362
|
-
nil, nil, nil, -
|
363
|
-
-
|
364
|
-
nil, nil, nil, nil, nil,
|
343
|
+
nil, 44, 47, 48, 49, 50, 46, -5, -131, -44,
|
344
|
+
nil, -32, -55, -9, nil, -2, -42, 8, -93, -7,
|
345
|
+
-145, 8, 9, -1, nil, -20, nil, 4, -35, -74,
|
346
|
+
-3, nil, -79, nil, nil, nil, -105, -104, -103, -101,
|
347
|
+
-161, -153, -166, -184, -181, nil, nil, -172, nil, -188,
|
348
|
+
nil, -22, nil, nil, -168, -181, -128, nil, nil, nil,
|
349
|
+
nil, -50, -60, nil, -51, 16, nil, nil, nil, nil,
|
350
|
+
nil, nil, nil, nil, nil, -49, -46, nil, nil ]
|
365
351
|
|
366
352
|
racc_goto_default = [
|
367
353
|
nil, nil, nil, nil, nil, 101, nil, nil, nil, nil,
|
@@ -369,8 +355,8 @@ racc_goto_default = [
|
|
369
355
|
nil, nil, nil, 18, 19, 37, 70, nil, nil, nil,
|
370
356
|
38, 62, 239, 63, 64, 108, nil, nil, nil, nil,
|
371
357
|
nil, nil, nil, nil, 45, 178, 172, 163, 173, nil,
|
372
|
-
174, 175, 176, 165, 166, 168, 169, 170, 171,
|
373
|
-
22,
|
358
|
+
174, 23, 175, 176, 165, 166, 168, 169, 170, 171,
|
359
|
+
177, 22, 24, 25, 26, 27, 28, 30, 32, 33,
|
374
360
|
34, 36, 40, 46, 49, nil, nil, 53, 54 ]
|
375
361
|
|
376
362
|
racc_reduce_table = [
|
@@ -462,42 +448,42 @@ racc_reduce_table = [
|
|
462
448
|
1, 86, :_reduce_none,
|
463
449
|
4, 116, :_reduce_86,
|
464
450
|
3, 116, :_reduce_87,
|
465
|
-
4,
|
466
|
-
3,
|
467
|
-
2,
|
451
|
+
4, 118, :_reduce_88,
|
452
|
+
3, 118, :_reduce_89,
|
453
|
+
2, 119, :_reduce_90,
|
468
454
|
1, 96, :_reduce_91,
|
469
455
|
3, 107, :_reduce_92,
|
470
456
|
1, 107, :_reduce_none,
|
471
457
|
1, 105, :_reduce_none,
|
472
458
|
3, 105, :_reduce_95,
|
473
|
-
1, 119, :_reduce_none,
|
474
|
-
3, 119, :_reduce_97,
|
475
|
-
2, 120, :_reduce_98,
|
476
459
|
1, 120, :_reduce_none,
|
460
|
+
3, 120, :_reduce_97,
|
461
|
+
2, 121, :_reduce_98,
|
477
462
|
1, 121, :_reduce_none,
|
478
463
|
1, 122, :_reduce_none,
|
479
|
-
3, 122, :_reduce_102,
|
480
|
-
1, 123, :_reduce_none,
|
481
|
-
1, 123, :_reduce_none,
|
482
|
-
1, 123, :_reduce_none,
|
483
|
-
1, 123, :_reduce_none,
|
484
|
-
1, 123, :_reduce_none,
|
485
464
|
1, 123, :_reduce_none,
|
486
|
-
3,
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
465
|
+
3, 123, :_reduce_102,
|
466
|
+
1, 124, :_reduce_none,
|
467
|
+
1, 124, :_reduce_none,
|
468
|
+
1, 124, :_reduce_none,
|
469
|
+
1, 124, :_reduce_none,
|
470
|
+
1, 124, :_reduce_none,
|
471
|
+
1, 124, :_reduce_none,
|
472
|
+
3, 125, :_reduce_109,
|
473
|
+
3, 125, :_reduce_110,
|
474
|
+
3, 125, :_reduce_111,
|
475
|
+
3, 125, :_reduce_112,
|
476
|
+
3, 125, :_reduce_113,
|
477
|
+
3, 125, :_reduce_114,
|
492
478
|
1, 113, :_reduce_none,
|
493
479
|
1, 113, :_reduce_none,
|
494
|
-
1,
|
480
|
+
1, 126, :_reduce_none,
|
495
481
|
1, 85, :_reduce_none,
|
496
482
|
1, 85, :_reduce_none,
|
497
|
-
3,
|
498
|
-
3,
|
499
|
-
3,
|
500
|
-
1,
|
483
|
+
3, 127, :_reduce_120,
|
484
|
+
3, 127, :_reduce_121,
|
485
|
+
3, 127, :_reduce_122,
|
486
|
+
1, 127, :_reduce_none,
|
501
487
|
3, 128, :_reduce_124,
|
502
488
|
3, 128, :_reduce_125,
|
503
489
|
1, 128, :_reduce_none,
|
@@ -536,9 +522,9 @@ racc_reduce_table = [
|
|
536
522
|
1, 130, :_reduce_159,
|
537
523
|
1, 130, :_reduce_160,
|
538
524
|
1, 91, :_reduce_161,
|
539
|
-
3,
|
540
|
-
2,
|
541
|
-
1,
|
525
|
+
3, 117, :_reduce_162,
|
526
|
+
2, 117, :_reduce_163,
|
527
|
+
1, 117, :_reduce_none,
|
542
528
|
1, 143, :_reduce_none,
|
543
529
|
2, 144, :_reduce_166 ]
|
544
530
|
|
@@ -752,6 +738,7 @@ Racc_token_to_s_table = [
|
|
752
738
|
"in_predicate",
|
753
739
|
"in_predicate_value",
|
754
740
|
"like_predicate",
|
741
|
+
"general_literal",
|
755
742
|
"null_predicate",
|
756
743
|
"exists_predicate",
|
757
744
|
"boolean_term",
|
@@ -762,7 +749,6 @@ Racc_token_to_s_table = [
|
|
762
749
|
"comparison_predicate",
|
763
750
|
"row_value_constructor_element",
|
764
751
|
"numeric_value_expression",
|
765
|
-
"general_literal",
|
766
752
|
"term",
|
767
753
|
"factor",
|
768
754
|
"sign",
|