Merge lp:~zorba-coders/zorba/msb-misc into lp:zorba
- msb-misc
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Matthias Brantner |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11321 |
Proposed branch: | lp:~zorba-coders/zorba/msb-misc |
Merge into: | lp:zorba |
Diff against target: |
31362 lines (+10766/-10526) 19 files modified
src/compiler/parser/jsoniq_parser.cpp (+6766/-6731) src/compiler/parser/jsoniq_parser.hpp (+222/-221) src/compiler/parser/jsoniq_parser.y (+13/-9) src/compiler/parser/jsoniq_scanner.cpp (+3468/-3438) src/compiler/parser/jsoniq_scanner.l (+15/-6) src/compiler/parser/symbol_table.cpp (+54/-8) src/compiler/parser/symbol_table.h (+1/-0) src/runtime/sequences/sequences_impl.cpp (+193/-106) test/rbkt/ExpQueryResults/zorba/jsoniq/deep_equal_01.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/jsoniq/escaping_01.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/jsoniq/escaping_02.xml.res (+2/-0) test/rbkt/Queries/zorba/jsoniq/dataguide1.jq (+3/-3) test/rbkt/Queries/zorba/jsoniq/deep_equal_01.jq (+18/-0) test/rbkt/Queries/zorba/jsoniq/escaping_01.jq (+1/-0) test/rbkt/Queries/zorba/jsoniq/escaping_01.spec (+1/-0) test/rbkt/Queries/zorba/jsoniq/escaping_02.jq (+1/-0) test/rbkt/Queries/zorba/jsoniq/escaping_02.spec (+2/-0) test/rbkt/Queries/zorba/jsoniq/use_case03.jq (+2/-2) test/unit/test_static_context.cpp (+2/-2) |
To merge this branch: | bzr merge lp:~zorba-coders/zorba/msb-misc |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Till Westmann | Approve | ||
Matthias Brantner | Approve | ||
Review via email: mp+155656@code.launchpad.net |
Commit message
- disallow single quotes
- allow $$ as context item
- deep equal for json items
- json style escaping
- empty object
Description of the change
Zorba Build Bot (zorba-buildbot) wrote : | # |
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : | # |
The attempt to merge lp:~zorba-coders/zorba/msb-misc into lp:zorba failed. Below is the output from the failed tests.
CMake Error at /home/ceej/
Validation queue job msb-misc-
final status was:
137 tests did not succeed - changes not commited.
Error in read script: /home/ceej/
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : | # |
The attempt to merge lp:~zorba-coders/zorba/msb-misc into lp:zorba failed. Below is the output from the failed tests.
CMake Error at /home/ceej/
Validation queue job msb-misc-
final status was:
3 tests did not succeed - changes not commited.
Error in read script: /home/ceej/
Matthias Brantner (matthias-brantner) : | # |
Till Westmann (tillw) : | # |
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue job msb-misc-
All tests succeeded!
- 11321. By [u'Matthias Brantner <matthias.brantner@28msec.com>', u'Nicolae Brinza<email address hidden> <email address hidden>']
-
- disallow single quotes
- allow $$ as context item
- deep equal for json items
- json style escaping
- empty object Approved: Till Westmann, Matthias Brantner
Preview Diff
1 | === modified file 'src/compiler/parser/jsoniq_parser.cpp' |
2 | --- src/compiler/parser/jsoniq_parser.cpp 2013-03-24 18:43:56 +0000 |
3 | +++ src/compiler/parser/jsoniq_parser.cpp 2013-03-27 05:50:25 +0000 |
4 | @@ -73,7 +73,7 @@ |
5 | /* User implementation prologue. */ |
6 | |
7 | /* Line 299 of lalr1.cc */ |
8 | -#line 916 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
9 | +#line 917 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
10 | |
11 | // HACK to trigger rchandle release: rchandles are freed when refcount == 0 |
12 | // (not <= 0); but Bison never increments the refcount, so we do it manually... |
13 | @@ -85,7 +85,7 @@ |
14 | } |
15 | |
16 | /* Line 299 of lalr1.cc */ |
17 | -#line 1052 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
18 | +#line 1053 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
19 | |
20 | #include "compiler/parser/jsoniq_scanner.h" |
21 | |
22 | @@ -282,2491 +282,2491 @@ |
23 | case 112: /* "\"'DECIMAL'\"" */ |
24 | |
25 | /* Line 480 of lalr1.cc */ |
26 | -#line 914 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
27 | +#line 915 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
28 | { delete (yyvaluep->decval); }; |
29 | |
30 | /* Line 480 of lalr1.cc */ |
31 | #line 290 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
32 | break; |
33 | - case 126: /* "\"'DOUBLE'\"" */ |
34 | + case 127: /* "\"'DOUBLE'\"" */ |
35 | |
36 | /* Line 480 of lalr1.cc */ |
37 | -#line 913 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
38 | +#line 914 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
39 | { delete (yyvaluep->dval); }; |
40 | |
41 | /* Line 480 of lalr1.cc */ |
42 | #line 299 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
43 | break; |
44 | - case 151: /* "\"'INTEGER'\"" */ |
45 | + case 152: /* "\"'INTEGER'\"" */ |
46 | |
47 | /* Line 480 of lalr1.cc */ |
48 | -#line 912 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
49 | +#line 913 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
50 | { delete (yyvaluep->ival); }; |
51 | |
52 | /* Line 480 of lalr1.cc */ |
53 | #line 308 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
54 | break; |
55 | - case 345: /* "VersionDecl" */ |
56 | + case 346: /* "VersionDecl" */ |
57 | |
58 | /* Line 480 of lalr1.cc */ |
59 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
60 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
61 | { release_hack( (yyvaluep->node) ); }; |
62 | |
63 | /* Line 480 of lalr1.cc */ |
64 | #line 317 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
65 | break; |
66 | - case 346: /* "MainModule" */ |
67 | + case 347: /* "MainModule" */ |
68 | |
69 | /* Line 480 of lalr1.cc */ |
70 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
71 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
72 | { release_hack( (yyvaluep->node) ); }; |
73 | |
74 | /* Line 480 of lalr1.cc */ |
75 | #line 326 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
76 | break; |
77 | - case 347: /* "LibraryModule" */ |
78 | + case 348: /* "LibraryModule" */ |
79 | |
80 | /* Line 480 of lalr1.cc */ |
81 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
82 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
83 | { release_hack( (yyvaluep->node) ); }; |
84 | |
85 | /* Line 480 of lalr1.cc */ |
86 | #line 335 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
87 | break; |
88 | - case 348: /* "ModuleDecl" */ |
89 | + case 349: /* "ModuleDecl" */ |
90 | |
91 | /* Line 480 of lalr1.cc */ |
92 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
93 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
94 | { release_hack( (yyvaluep->node) ); }; |
95 | |
96 | /* Line 480 of lalr1.cc */ |
97 | #line 344 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
98 | break; |
99 | - case 349: /* "SIND_DeclList" */ |
100 | + case 350: /* "SIND_DeclList" */ |
101 | |
102 | /* Line 480 of lalr1.cc */ |
103 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
104 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
105 | { release_hack( (yyvaluep->node) ); }; |
106 | |
107 | /* Line 480 of lalr1.cc */ |
108 | #line 353 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
109 | break; |
110 | - case 350: /* "SIND_Decl" */ |
111 | + case 351: /* "SIND_Decl" */ |
112 | |
113 | /* Line 480 of lalr1.cc */ |
114 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
115 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
116 | { release_hack( (yyvaluep->node) ); }; |
117 | |
118 | /* Line 480 of lalr1.cc */ |
119 | #line 362 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
120 | break; |
121 | - case 351: /* "Setter" */ |
122 | + case 352: /* "Setter" */ |
123 | |
124 | /* Line 480 of lalr1.cc */ |
125 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
126 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
127 | { release_hack( (yyvaluep->node) ); }; |
128 | |
129 | /* Line 480 of lalr1.cc */ |
130 | #line 371 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
131 | break; |
132 | - case 352: /* "BoundarySpaceDecl" */ |
133 | + case 353: /* "BoundarySpaceDecl" */ |
134 | |
135 | /* Line 480 of lalr1.cc */ |
136 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
137 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
138 | { release_hack( (yyvaluep->node) ); }; |
139 | |
140 | /* Line 480 of lalr1.cc */ |
141 | #line 380 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
142 | break; |
143 | - case 353: /* "DefaultCollationDecl" */ |
144 | + case 354: /* "DefaultCollationDecl" */ |
145 | |
146 | /* Line 480 of lalr1.cc */ |
147 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
148 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
149 | { release_hack( (yyvaluep->node) ); }; |
150 | |
151 | /* Line 480 of lalr1.cc */ |
152 | #line 389 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
153 | break; |
154 | - case 354: /* "BaseURIDecl" */ |
155 | + case 355: /* "BaseURIDecl" */ |
156 | |
157 | /* Line 480 of lalr1.cc */ |
158 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
159 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
160 | { release_hack( (yyvaluep->node) ); }; |
161 | |
162 | /* Line 480 of lalr1.cc */ |
163 | #line 398 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
164 | break; |
165 | - case 355: /* "ConstructionDecl" */ |
166 | + case 356: /* "ConstructionDecl" */ |
167 | |
168 | /* Line 480 of lalr1.cc */ |
169 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
170 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
171 | { release_hack( (yyvaluep->node) ); }; |
172 | |
173 | /* Line 480 of lalr1.cc */ |
174 | #line 407 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
175 | break; |
176 | - case 356: /* "OrderingModeDecl" */ |
177 | + case 357: /* "OrderingModeDecl" */ |
178 | |
179 | /* Line 480 of lalr1.cc */ |
180 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
181 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
182 | { release_hack( (yyvaluep->node) ); }; |
183 | |
184 | /* Line 480 of lalr1.cc */ |
185 | #line 416 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
186 | break; |
187 | - case 357: /* "EmptyOrderDecl" */ |
188 | + case 358: /* "EmptyOrderDecl" */ |
189 | |
190 | /* Line 480 of lalr1.cc */ |
191 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
192 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
193 | { release_hack( (yyvaluep->node) ); }; |
194 | |
195 | /* Line 480 of lalr1.cc */ |
196 | #line 425 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
197 | break; |
198 | - case 358: /* "CopyNamespacesDecl" */ |
199 | + case 359: /* "CopyNamespacesDecl" */ |
200 | |
201 | /* Line 480 of lalr1.cc */ |
202 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
203 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
204 | { release_hack( (yyvaluep->node) ); }; |
205 | |
206 | /* Line 480 of lalr1.cc */ |
207 | #line 434 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
208 | break; |
209 | - case 359: /* "Import" */ |
210 | + case 360: /* "Import" */ |
211 | |
212 | /* Line 480 of lalr1.cc */ |
213 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
214 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
215 | { release_hack( (yyvaluep->node) ); }; |
216 | |
217 | /* Line 480 of lalr1.cc */ |
218 | #line 443 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
219 | break; |
220 | - case 360: /* "SchemaImport" */ |
221 | + case 361: /* "SchemaImport" */ |
222 | |
223 | /* Line 480 of lalr1.cc */ |
224 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
225 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
226 | { release_hack( (yyvaluep->node) ); }; |
227 | |
228 | /* Line 480 of lalr1.cc */ |
229 | #line 452 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
230 | break; |
231 | - case 361: /* "URILiteralList" */ |
232 | + case 362: /* "URILiteralList" */ |
233 | |
234 | /* Line 480 of lalr1.cc */ |
235 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
236 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
237 | { release_hack( (yyvaluep->node) ); }; |
238 | |
239 | /* Line 480 of lalr1.cc */ |
240 | #line 461 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
241 | break; |
242 | - case 362: /* "SchemaPrefix" */ |
243 | + case 363: /* "SchemaPrefix" */ |
244 | |
245 | /* Line 480 of lalr1.cc */ |
246 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
247 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
248 | { release_hack( (yyvaluep->node) ); }; |
249 | |
250 | /* Line 480 of lalr1.cc */ |
251 | #line 470 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
252 | break; |
253 | - case 363: /* "ModuleImport" */ |
254 | + case 364: /* "ModuleImport" */ |
255 | |
256 | /* Line 480 of lalr1.cc */ |
257 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
258 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
259 | { release_hack( (yyvaluep->node) ); }; |
260 | |
261 | /* Line 480 of lalr1.cc */ |
262 | #line 479 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
263 | break; |
264 | - case 364: /* "NamespaceDecl" */ |
265 | + case 365: /* "NamespaceDecl" */ |
266 | |
267 | /* Line 480 of lalr1.cc */ |
268 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
269 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
270 | { release_hack( (yyvaluep->node) ); }; |
271 | |
272 | /* Line 480 of lalr1.cc */ |
273 | #line 488 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
274 | break; |
275 | - case 365: /* "DefaultNamespaceDecl" */ |
276 | + case 366: /* "DefaultNamespaceDecl" */ |
277 | |
278 | /* Line 480 of lalr1.cc */ |
279 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
280 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
281 | { release_hack( (yyvaluep->node) ); }; |
282 | |
283 | /* Line 480 of lalr1.cc */ |
284 | #line 497 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
285 | break; |
286 | - case 366: /* "VFO_DeclList" */ |
287 | + case 367: /* "VFO_DeclList" */ |
288 | |
289 | /* Line 480 of lalr1.cc */ |
290 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
291 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
292 | { release_hack( (yyvaluep->node) ); }; |
293 | |
294 | /* Line 480 of lalr1.cc */ |
295 | #line 506 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
296 | break; |
297 | - case 367: /* "VFO_Decl" */ |
298 | + case 368: /* "VFO_Decl" */ |
299 | |
300 | /* Line 480 of lalr1.cc */ |
301 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
302 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
303 | { release_hack( (yyvaluep->node) ); }; |
304 | |
305 | /* Line 480 of lalr1.cc */ |
306 | #line 515 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
307 | break; |
308 | - case 368: /* "DecimalFormatDecl" */ |
309 | + case 369: /* "DecimalFormatDecl" */ |
310 | |
311 | /* Line 480 of lalr1.cc */ |
312 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
313 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
314 | { release_hack( (yyvaluep->node) ); }; |
315 | |
316 | /* Line 480 of lalr1.cc */ |
317 | #line 524 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
318 | break; |
319 | - case 369: /* "DecimalFormatParamList" */ |
320 | + case 370: /* "DecimalFormatParamList" */ |
321 | |
322 | /* Line 480 of lalr1.cc */ |
323 | -#line 946 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
324 | +#line 947 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
325 | { delete (yyvaluep->vstrpair); }; |
326 | |
327 | /* Line 480 of lalr1.cc */ |
328 | #line 533 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
329 | break; |
330 | - case 370: /* "DecimalFormatParam" */ |
331 | + case 371: /* "DecimalFormatParam" */ |
332 | |
333 | /* Line 480 of lalr1.cc */ |
334 | -#line 946 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
335 | +#line 947 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
336 | { delete (yyvaluep->strpair); }; |
337 | |
338 | /* Line 480 of lalr1.cc */ |
339 | #line 542 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
340 | break; |
341 | - case 372: /* "OptionDecl" */ |
342 | + case 373: /* "OptionDecl" */ |
343 | |
344 | /* Line 480 of lalr1.cc */ |
345 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
346 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
347 | { release_hack( (yyvaluep->node) ); }; |
348 | |
349 | /* Line 480 of lalr1.cc */ |
350 | #line 551 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
351 | break; |
352 | - case 373: /* "FTOptionDecl" */ |
353 | + case 374: /* "FTOptionDecl" */ |
354 | |
355 | /* Line 480 of lalr1.cc */ |
356 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
357 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
358 | { release_hack( (yyvaluep->node) ); }; |
359 | |
360 | /* Line 480 of lalr1.cc */ |
361 | #line 560 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
362 | break; |
363 | - case 374: /* "CtxItemDecl" */ |
364 | + case 375: /* "CtxItemDecl" */ |
365 | |
366 | /* Line 480 of lalr1.cc */ |
367 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
368 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
369 | { release_hack( (yyvaluep->node) ); }; |
370 | |
371 | /* Line 480 of lalr1.cc */ |
372 | #line 569 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
373 | break; |
374 | - case 375: /* "CtxItemDecl2" */ |
375 | + case 376: /* "CtxItemDecl2" */ |
376 | |
377 | /* Line 480 of lalr1.cc */ |
378 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
379 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
380 | { release_hack( (yyvaluep->node) ); }; |
381 | |
382 | /* Line 480 of lalr1.cc */ |
383 | #line 578 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
384 | break; |
385 | - case 376: /* "CtxItemDecl3" */ |
386 | + case 377: /* "CtxItemDecl3" */ |
387 | |
388 | /* Line 480 of lalr1.cc */ |
389 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
390 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
391 | { release_hack( (yyvaluep->node) ); }; |
392 | |
393 | /* Line 480 of lalr1.cc */ |
394 | #line 587 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
395 | break; |
396 | - case 377: /* "CtxItemDecl4" */ |
397 | + case 378: /* "CtxItemDecl4" */ |
398 | |
399 | /* Line 480 of lalr1.cc */ |
400 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
401 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
402 | { release_hack( (yyvaluep->node) ); }; |
403 | |
404 | /* Line 480 of lalr1.cc */ |
405 | #line 596 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
406 | break; |
407 | - case 378: /* "VarDecl" */ |
408 | + case 379: /* "VarDecl" */ |
409 | |
410 | /* Line 480 of lalr1.cc */ |
411 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
412 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
413 | { release_hack( (yyvaluep->node) ); }; |
414 | |
415 | /* Line 480 of lalr1.cc */ |
416 | #line 605 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
417 | break; |
418 | - case 379: /* "VarNameAndType" */ |
419 | + case 380: /* "VarNameAndType" */ |
420 | |
421 | /* Line 480 of lalr1.cc */ |
422 | -#line 946 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
423 | +#line 947 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
424 | { delete (yyvaluep->varnametype); }; |
425 | |
426 | /* Line 480 of lalr1.cc */ |
427 | #line 614 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
428 | break; |
429 | - case 380: /* "AnnotationList" */ |
430 | + case 381: /* "AnnotationList" */ |
431 | |
432 | /* Line 480 of lalr1.cc */ |
433 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
434 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
435 | { release_hack( (yyvaluep->node) ); }; |
436 | |
437 | /* Line 480 of lalr1.cc */ |
438 | #line 623 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
439 | break; |
440 | - case 381: /* "Annotation" */ |
441 | + case 382: /* "Annotation" */ |
442 | |
443 | /* Line 480 of lalr1.cc */ |
444 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
445 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
446 | { release_hack( (yyvaluep->node) ); }; |
447 | |
448 | /* Line 480 of lalr1.cc */ |
449 | #line 632 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
450 | break; |
451 | - case 382: /* "AnnotationLiteralList" */ |
452 | + case 383: /* "AnnotationLiteralList" */ |
453 | |
454 | /* Line 480 of lalr1.cc */ |
455 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
456 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
457 | { release_hack( (yyvaluep->node) ); }; |
458 | |
459 | /* Line 480 of lalr1.cc */ |
460 | #line 641 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
461 | break; |
462 | - case 383: /* "FunctionDecl" */ |
463 | + case 384: /* "FunctionDecl" */ |
464 | |
465 | /* Line 480 of lalr1.cc */ |
466 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
467 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
468 | { release_hack( (yyvaluep->node) ); }; |
469 | |
470 | /* Line 480 of lalr1.cc */ |
471 | #line 650 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
472 | break; |
473 | - case 384: /* "FunctionDecl2" */ |
474 | + case 385: /* "FunctionDecl2" */ |
475 | |
476 | /* Line 480 of lalr1.cc */ |
477 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
478 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
479 | { release_hack( (yyvaluep->node) ); }; |
480 | |
481 | /* Line 480 of lalr1.cc */ |
482 | #line 659 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
483 | break; |
484 | - case 385: /* "FunctionDeclSimple" */ |
485 | + case 386: /* "FunctionDeclSimple" */ |
486 | |
487 | /* Line 480 of lalr1.cc */ |
488 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
489 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
490 | { release_hack( (yyvaluep->node) ); }; |
491 | |
492 | /* Line 480 of lalr1.cc */ |
493 | #line 668 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
494 | break; |
495 | - case 386: /* "FunctionDeclUpdating" */ |
496 | + case 387: /* "FunctionDeclUpdating" */ |
497 | |
498 | /* Line 480 of lalr1.cc */ |
499 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
500 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
501 | { release_hack( (yyvaluep->node) ); }; |
502 | |
503 | /* Line 480 of lalr1.cc */ |
504 | #line 677 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
505 | break; |
506 | - case 387: /* "FunctionSig" */ |
507 | + case 388: /* "FunctionSig" */ |
508 | |
509 | /* Line 480 of lalr1.cc */ |
510 | -#line 946 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
511 | +#line 947 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
512 | { delete (yyvaluep->fnsig); }; |
513 | |
514 | /* Line 480 of lalr1.cc */ |
515 | #line 686 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
516 | break; |
517 | - case 388: /* "ParamList" */ |
518 | + case 389: /* "ParamList" */ |
519 | |
520 | /* Line 480 of lalr1.cc */ |
521 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
522 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
523 | { release_hack( (yyvaluep->node) ); }; |
524 | |
525 | /* Line 480 of lalr1.cc */ |
526 | #line 695 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
527 | break; |
528 | - case 389: /* "Param" */ |
529 | + case 390: /* "Param" */ |
530 | |
531 | /* Line 480 of lalr1.cc */ |
532 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
533 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
534 | { release_hack( (yyvaluep->node) ); }; |
535 | |
536 | /* Line 480 of lalr1.cc */ |
537 | #line 704 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
538 | break; |
539 | - case 390: /* "CollectionDecl" */ |
540 | + case 391: /* "CollectionDecl" */ |
541 | |
542 | /* Line 480 of lalr1.cc */ |
543 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
544 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
545 | { release_hack( (yyvaluep->node) ); }; |
546 | |
547 | /* Line 480 of lalr1.cc */ |
548 | #line 713 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
549 | break; |
550 | - case 392: /* "IndexDecl" */ |
551 | + case 393: /* "IndexDecl" */ |
552 | |
553 | /* Line 480 of lalr1.cc */ |
554 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
555 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
556 | { release_hack( (yyvaluep->node) ); }; |
557 | |
558 | /* Line 480 of lalr1.cc */ |
559 | #line 722 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
560 | break; |
561 | - case 393: /* "IndexKeyList" */ |
562 | + case 394: /* "IndexKeyList" */ |
563 | |
564 | /* Line 480 of lalr1.cc */ |
565 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
566 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
567 | { release_hack( (yyvaluep->node) ); }; |
568 | |
569 | /* Line 480 of lalr1.cc */ |
570 | #line 731 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
571 | break; |
572 | - case 394: /* "IndexKeySpec" */ |
573 | + case 395: /* "IndexKeySpec" */ |
574 | |
575 | /* Line 480 of lalr1.cc */ |
576 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
577 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
578 | { release_hack( (yyvaluep->node) ); }; |
579 | |
580 | /* Line 480 of lalr1.cc */ |
581 | #line 740 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
582 | break; |
583 | - case 395: /* "IntegrityConstraintDecl" */ |
584 | + case 396: /* "IntegrityConstraintDecl" */ |
585 | |
586 | /* Line 480 of lalr1.cc */ |
587 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
588 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
589 | { release_hack( (yyvaluep->node) ); }; |
590 | |
591 | /* Line 480 of lalr1.cc */ |
592 | #line 749 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
593 | break; |
594 | - case 396: /* "QueryBody" */ |
595 | + case 397: /* "QueryBody" */ |
596 | |
597 | /* Line 480 of lalr1.cc */ |
598 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
599 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
600 | { release_hack( (yyvaluep->expr) ); }; |
601 | |
602 | /* Line 480 of lalr1.cc */ |
603 | #line 758 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
604 | break; |
605 | - case 397: /* "StatementsAndOptionalExprTop" */ |
606 | + case 398: /* "StatementsAndOptionalExprTop" */ |
607 | |
608 | /* Line 480 of lalr1.cc */ |
609 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
610 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
611 | { release_hack( (yyvaluep->expr) ); }; |
612 | |
613 | /* Line 480 of lalr1.cc */ |
614 | #line 767 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
615 | break; |
616 | - case 398: /* "StatementsAndOptionalExpr" */ |
617 | + case 399: /* "StatementsAndOptionalExpr" */ |
618 | |
619 | /* Line 480 of lalr1.cc */ |
620 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
621 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
622 | { release_hack( (yyvaluep->expr) ); }; |
623 | |
624 | /* Line 480 of lalr1.cc */ |
625 | #line 776 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
626 | break; |
627 | - case 399: /* "StatementsAndExpr" */ |
628 | + case 400: /* "StatementsAndExpr" */ |
629 | |
630 | /* Line 480 of lalr1.cc */ |
631 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
632 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
633 | { release_hack( (yyvaluep->expr) ); }; |
634 | |
635 | /* Line 480 of lalr1.cc */ |
636 | #line 785 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
637 | break; |
638 | - case 400: /* "Statements" */ |
639 | + case 401: /* "Statements" */ |
640 | |
641 | /* Line 480 of lalr1.cc */ |
642 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
643 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
644 | { release_hack( (yyvaluep->expr) ); }; |
645 | |
646 | /* Line 480 of lalr1.cc */ |
647 | #line 794 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
648 | break; |
649 | - case 401: /* "Statement" */ |
650 | + case 402: /* "Statement" */ |
651 | |
652 | /* Line 480 of lalr1.cc */ |
653 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
654 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
655 | { release_hack( (yyvaluep->expr) ); }; |
656 | |
657 | /* Line 480 of lalr1.cc */ |
658 | #line 803 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
659 | break; |
660 | - case 402: /* "BlockStatement" */ |
661 | + case 403: /* "BlockStatement" */ |
662 | |
663 | /* Line 480 of lalr1.cc */ |
664 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
665 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
666 | { release_hack( (yyvaluep->expr) ); }; |
667 | |
668 | /* Line 480 of lalr1.cc */ |
669 | #line 812 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
670 | break; |
671 | - case 403: /* "BlockExpr" */ |
672 | + case 404: /* "BlockExpr" */ |
673 | |
674 | /* Line 480 of lalr1.cc */ |
675 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
676 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
677 | { release_hack( (yyvaluep->expr) ); }; |
678 | |
679 | /* Line 480 of lalr1.cc */ |
680 | #line 821 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
681 | break; |
682 | - case 404: /* "EnclosedStatementsAndOptionalExpr" */ |
683 | + case 405: /* "EnclosedStatementsAndOptionalExpr" */ |
684 | |
685 | /* Line 480 of lalr1.cc */ |
686 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
687 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
688 | { release_hack( (yyvaluep->expr) ); }; |
689 | |
690 | /* Line 480 of lalr1.cc */ |
691 | #line 830 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
692 | break; |
693 | - case 405: /* "VarDeclStatement" */ |
694 | + case 406: /* "VarDeclStatement" */ |
695 | |
696 | /* Line 480 of lalr1.cc */ |
697 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
698 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
699 | { release_hack( (yyvaluep->expr) ); }; |
700 | |
701 | /* Line 480 of lalr1.cc */ |
702 | #line 839 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
703 | break; |
704 | - case 408: /* "AssignStatement" */ |
705 | + case 409: /* "AssignStatement" */ |
706 | |
707 | /* Line 480 of lalr1.cc */ |
708 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
709 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
710 | { release_hack( (yyvaluep->expr) ); }; |
711 | |
712 | /* Line 480 of lalr1.cc */ |
713 | #line 848 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
714 | break; |
715 | - case 409: /* "ApplyStatement" */ |
716 | + case 410: /* "ApplyStatement" */ |
717 | |
718 | /* Line 480 of lalr1.cc */ |
719 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
720 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
721 | { release_hack( (yyvaluep->expr) ); }; |
722 | |
723 | /* Line 480 of lalr1.cc */ |
724 | #line 857 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
725 | break; |
726 | - case 410: /* "ExitStatement" */ |
727 | + case 411: /* "ExitStatement" */ |
728 | |
729 | /* Line 480 of lalr1.cc */ |
730 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
731 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
732 | { release_hack( (yyvaluep->expr) ); }; |
733 | |
734 | /* Line 480 of lalr1.cc */ |
735 | #line 866 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
736 | break; |
737 | - case 411: /* "WhileStatement" */ |
738 | + case 412: /* "WhileStatement" */ |
739 | |
740 | /* Line 480 of lalr1.cc */ |
741 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
742 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
743 | { release_hack( (yyvaluep->expr) ); }; |
744 | |
745 | /* Line 480 of lalr1.cc */ |
746 | #line 875 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
747 | break; |
748 | - case 412: /* "FlowCtlStatement" */ |
749 | + case 413: /* "FlowCtlStatement" */ |
750 | |
751 | /* Line 480 of lalr1.cc */ |
752 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
753 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
754 | { release_hack( (yyvaluep->expr) ); }; |
755 | |
756 | /* Line 480 of lalr1.cc */ |
757 | #line 884 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
758 | break; |
759 | - case 413: /* "FLWORStatement" */ |
760 | + case 414: /* "FLWORStatement" */ |
761 | |
762 | /* Line 480 of lalr1.cc */ |
763 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
764 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
765 | { release_hack( (yyvaluep->expr) ); }; |
766 | |
767 | /* Line 480 of lalr1.cc */ |
768 | #line 893 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
769 | break; |
770 | - case 414: /* "ReturnStatement" */ |
771 | + case 415: /* "ReturnStatement" */ |
772 | |
773 | /* Line 480 of lalr1.cc */ |
774 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
775 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
776 | { release_hack( (yyvaluep->expr) ); }; |
777 | |
778 | /* Line 480 of lalr1.cc */ |
779 | #line 902 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
780 | break; |
781 | - case 415: /* "IfStatement" */ |
782 | + case 416: /* "IfStatement" */ |
783 | |
784 | /* Line 480 of lalr1.cc */ |
785 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
786 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
787 | { release_hack( (yyvaluep->expr) ); }; |
788 | |
789 | /* Line 480 of lalr1.cc */ |
790 | #line 911 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
791 | break; |
792 | - case 416: /* "TryStatement" */ |
793 | + case 417: /* "TryStatement" */ |
794 | |
795 | /* Line 480 of lalr1.cc */ |
796 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
797 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
798 | { release_hack( (yyvaluep->expr) ); }; |
799 | |
800 | /* Line 480 of lalr1.cc */ |
801 | #line 920 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
802 | break; |
803 | - case 417: /* "CatchListStatement" */ |
804 | + case 418: /* "CatchListStatement" */ |
805 | |
806 | /* Line 480 of lalr1.cc */ |
807 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
808 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
809 | { release_hack( (yyvaluep->expr) ); }; |
810 | |
811 | /* Line 480 of lalr1.cc */ |
812 | #line 929 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
813 | break; |
814 | - case 418: /* "CatchStatement" */ |
815 | + case 419: /* "CatchStatement" */ |
816 | |
817 | /* Line 480 of lalr1.cc */ |
818 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
819 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
820 | { release_hack( (yyvaluep->expr) ); }; |
821 | |
822 | /* Line 480 of lalr1.cc */ |
823 | #line 938 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
824 | break; |
825 | - case 420: /* "Expr" */ |
826 | + case 421: /* "Expr" */ |
827 | |
828 | /* Line 480 of lalr1.cc */ |
829 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
830 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
831 | { release_hack( (yyvaluep->expr) ); }; |
832 | |
833 | /* Line 480 of lalr1.cc */ |
834 | #line 947 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
835 | break; |
836 | - case 421: /* "ExprSingle" */ |
837 | + case 422: /* "ExprSingle" */ |
838 | |
839 | /* Line 480 of lalr1.cc */ |
840 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
841 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
842 | { release_hack( (yyvaluep->expr) ); }; |
843 | |
844 | /* Line 480 of lalr1.cc */ |
845 | #line 956 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
846 | break; |
847 | - case 422: /* "ExprSimple" */ |
848 | + case 423: /* "ExprSimple" */ |
849 | |
850 | /* Line 480 of lalr1.cc */ |
851 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
852 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
853 | { release_hack( (yyvaluep->expr) ); }; |
854 | |
855 | /* Line 480 of lalr1.cc */ |
856 | #line 965 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
857 | break; |
858 | - case 423: /* "FLWORExpr" */ |
859 | + case 424: /* "FLWORExpr" */ |
860 | |
861 | /* Line 480 of lalr1.cc */ |
862 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
863 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
864 | { release_hack( (yyvaluep->expr) ); }; |
865 | |
866 | /* Line 480 of lalr1.cc */ |
867 | #line 974 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
868 | break; |
869 | - case 424: /* "ReturnExpr" */ |
870 | + case 425: /* "ReturnExpr" */ |
871 | |
872 | /* Line 480 of lalr1.cc */ |
873 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
874 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
875 | { release_hack( (yyvaluep->expr) ); }; |
876 | |
877 | /* Line 480 of lalr1.cc */ |
878 | #line 983 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
879 | break; |
880 | - case 427: /* "FLWORWinCond" */ |
881 | + case 428: /* "FLWORWinCond" */ |
882 | |
883 | /* Line 480 of lalr1.cc */ |
884 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
885 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
886 | { release_hack( (yyvaluep->node) ); }; |
887 | |
888 | /* Line 480 of lalr1.cc */ |
889 | #line 992 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
890 | break; |
891 | - case 428: /* "WindowClause" */ |
892 | + case 429: /* "WindowClause" */ |
893 | |
894 | /* Line 480 of lalr1.cc */ |
895 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
896 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
897 | { release_hack( (yyvaluep->node) ); }; |
898 | |
899 | /* Line 480 of lalr1.cc */ |
900 | #line 1001 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
901 | break; |
902 | - case 429: /* "CountClause" */ |
903 | + case 430: /* "CountClause" */ |
904 | |
905 | /* Line 480 of lalr1.cc */ |
906 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
907 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
908 | { release_hack( (yyvaluep->node) ); }; |
909 | |
910 | /* Line 480 of lalr1.cc */ |
911 | #line 1010 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
912 | break; |
913 | - case 430: /* "ForLetWinClause" */ |
914 | + case 431: /* "ForLetWinClause" */ |
915 | |
916 | /* Line 480 of lalr1.cc */ |
917 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
918 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
919 | { release_hack( (yyvaluep->node) ); }; |
920 | |
921 | /* Line 480 of lalr1.cc */ |
922 | #line 1019 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
923 | break; |
924 | - case 432: /* "FLWORClauseList" */ |
925 | + case 433: /* "FLWORClauseList" */ |
926 | |
927 | /* Line 480 of lalr1.cc */ |
928 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
929 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
930 | { release_hack( (yyvaluep->node) ); }; |
931 | |
932 | /* Line 480 of lalr1.cc */ |
933 | #line 1028 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
934 | break; |
935 | - case 433: /* "ForClause" */ |
936 | + case 434: /* "ForClause" */ |
937 | |
938 | /* Line 480 of lalr1.cc */ |
939 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
940 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
941 | { release_hack( (yyvaluep->node) ); }; |
942 | |
943 | /* Line 480 of lalr1.cc */ |
944 | #line 1037 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
945 | break; |
946 | - case 435: /* "VarInDeclList" */ |
947 | + case 436: /* "VarInDeclList" */ |
948 | |
949 | /* Line 480 of lalr1.cc */ |
950 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
951 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
952 | { release_hack( (yyvaluep->node) ); }; |
953 | |
954 | /* Line 480 of lalr1.cc */ |
955 | #line 1046 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
956 | break; |
957 | - case 436: /* "VarInDecl" */ |
958 | + case 437: /* "VarInDecl" */ |
959 | |
960 | /* Line 480 of lalr1.cc */ |
961 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
962 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
963 | { release_hack( (yyvaluep->node) ); }; |
964 | |
965 | /* Line 480 of lalr1.cc */ |
966 | #line 1055 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
967 | break; |
968 | - case 437: /* "PositionalVar" */ |
969 | + case 438: /* "PositionalVar" */ |
970 | |
971 | /* Line 480 of lalr1.cc */ |
972 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
973 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
974 | { release_hack( (yyvaluep->node) ); }; |
975 | |
976 | /* Line 480 of lalr1.cc */ |
977 | #line 1064 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
978 | break; |
979 | - case 438: /* "FTScoreVar" */ |
980 | + case 439: /* "FTScoreVar" */ |
981 | |
982 | /* Line 480 of lalr1.cc */ |
983 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
984 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
985 | { release_hack( (yyvaluep->node) ); }; |
986 | |
987 | /* Line 480 of lalr1.cc */ |
988 | #line 1073 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
989 | break; |
990 | - case 439: /* "LetClause" */ |
991 | + case 440: /* "LetClause" */ |
992 | |
993 | /* Line 480 of lalr1.cc */ |
994 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
995 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
996 | { release_hack( (yyvaluep->node) ); }; |
997 | |
998 | /* Line 480 of lalr1.cc */ |
999 | #line 1082 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1000 | break; |
1001 | - case 440: /* "VarGetsDeclList" */ |
1002 | + case 441: /* "VarGetsDeclList" */ |
1003 | |
1004 | /* Line 480 of lalr1.cc */ |
1005 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1006 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1007 | { release_hack( (yyvaluep->node) ); }; |
1008 | |
1009 | /* Line 480 of lalr1.cc */ |
1010 | #line 1091 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1011 | break; |
1012 | - case 441: /* "VarGetsDecl" */ |
1013 | + case 442: /* "VarGetsDecl" */ |
1014 | |
1015 | /* Line 480 of lalr1.cc */ |
1016 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1017 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1018 | { release_hack( (yyvaluep->node) ); }; |
1019 | |
1020 | /* Line 480 of lalr1.cc */ |
1021 | #line 1100 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1022 | break; |
1023 | - case 442: /* "WindowVarDecl" */ |
1024 | + case 443: /* "WindowVarDecl" */ |
1025 | |
1026 | /* Line 480 of lalr1.cc */ |
1027 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1028 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1029 | { release_hack( (yyvaluep->node) ); }; |
1030 | |
1031 | /* Line 480 of lalr1.cc */ |
1032 | #line 1109 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1033 | break; |
1034 | - case 443: /* "WindowVars" */ |
1035 | + case 444: /* "WindowVars" */ |
1036 | |
1037 | /* Line 480 of lalr1.cc */ |
1038 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1039 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1040 | { release_hack( (yyvaluep->node) ); }; |
1041 | |
1042 | /* Line 480 of lalr1.cc */ |
1043 | #line 1118 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1044 | break; |
1045 | - case 444: /* "WindowVars3" */ |
1046 | + case 445: /* "WindowVars3" */ |
1047 | |
1048 | /* Line 480 of lalr1.cc */ |
1049 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1050 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1051 | { release_hack( (yyvaluep->node) ); }; |
1052 | |
1053 | /* Line 480 of lalr1.cc */ |
1054 | #line 1127 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1055 | break; |
1056 | - case 445: /* "WindowVars2" */ |
1057 | + case 446: /* "WindowVars2" */ |
1058 | |
1059 | /* Line 480 of lalr1.cc */ |
1060 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1061 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1062 | { release_hack( (yyvaluep->node) ); }; |
1063 | |
1064 | /* Line 480 of lalr1.cc */ |
1065 | #line 1136 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1066 | break; |
1067 | - case 446: /* "WhereClause" */ |
1068 | + case 447: /* "WhereClause" */ |
1069 | |
1070 | /* Line 480 of lalr1.cc */ |
1071 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1072 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1073 | { release_hack( (yyvaluep->node) ); }; |
1074 | |
1075 | /* Line 480 of lalr1.cc */ |
1076 | #line 1145 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1077 | break; |
1078 | - case 447: /* "GroupByClause" */ |
1079 | + case 448: /* "GroupByClause" */ |
1080 | |
1081 | /* Line 480 of lalr1.cc */ |
1082 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1083 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1084 | { release_hack( (yyvaluep->node) ); }; |
1085 | |
1086 | /* Line 480 of lalr1.cc */ |
1087 | #line 1154 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1088 | break; |
1089 | - case 448: /* "GroupSpecList" */ |
1090 | + case 449: /* "GroupSpecList" */ |
1091 | |
1092 | /* Line 480 of lalr1.cc */ |
1093 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1094 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1095 | { release_hack( (yyvaluep->node) ); }; |
1096 | |
1097 | /* Line 480 of lalr1.cc */ |
1098 | #line 1163 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1099 | break; |
1100 | - case 449: /* "GroupSpec" */ |
1101 | + case 450: /* "GroupSpec" */ |
1102 | |
1103 | /* Line 480 of lalr1.cc */ |
1104 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1105 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1106 | { release_hack( (yyvaluep->node) ); }; |
1107 | |
1108 | /* Line 480 of lalr1.cc */ |
1109 | #line 1172 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1110 | break; |
1111 | - case 450: /* "GroupCollationSpec" */ |
1112 | + case 451: /* "GroupCollationSpec" */ |
1113 | |
1114 | /* Line 480 of lalr1.cc */ |
1115 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1116 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1117 | { release_hack( (yyvaluep->node) ); }; |
1118 | |
1119 | /* Line 480 of lalr1.cc */ |
1120 | #line 1181 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1121 | break; |
1122 | - case 451: /* "OrderByClause" */ |
1123 | + case 452: /* "OrderByClause" */ |
1124 | |
1125 | /* Line 480 of lalr1.cc */ |
1126 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1127 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1128 | { release_hack( (yyvaluep->node) ); }; |
1129 | |
1130 | /* Line 480 of lalr1.cc */ |
1131 | #line 1190 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1132 | break; |
1133 | - case 452: /* "OrderSpecList" */ |
1134 | + case 453: /* "OrderSpecList" */ |
1135 | |
1136 | /* Line 480 of lalr1.cc */ |
1137 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1138 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1139 | { release_hack( (yyvaluep->node) ); }; |
1140 | |
1141 | /* Line 480 of lalr1.cc */ |
1142 | #line 1199 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1143 | break; |
1144 | - case 453: /* "OrderSpec" */ |
1145 | + case 454: /* "OrderSpec" */ |
1146 | |
1147 | /* Line 480 of lalr1.cc */ |
1148 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1149 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1150 | { release_hack( (yyvaluep->node) ); }; |
1151 | |
1152 | /* Line 480 of lalr1.cc */ |
1153 | #line 1208 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1154 | break; |
1155 | - case 454: /* "OrderModifier" */ |
1156 | + case 455: /* "OrderModifier" */ |
1157 | |
1158 | /* Line 480 of lalr1.cc */ |
1159 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1160 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1161 | { release_hack( (yyvaluep->node) ); }; |
1162 | |
1163 | /* Line 480 of lalr1.cc */ |
1164 | #line 1217 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1165 | break; |
1166 | - case 455: /* "OrderDirSpec" */ |
1167 | + case 456: /* "OrderDirSpec" */ |
1168 | |
1169 | /* Line 480 of lalr1.cc */ |
1170 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1171 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1172 | { release_hack( (yyvaluep->node) ); }; |
1173 | |
1174 | /* Line 480 of lalr1.cc */ |
1175 | #line 1226 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1176 | break; |
1177 | - case 456: /* "OrderEmptySpec" */ |
1178 | + case 457: /* "OrderEmptySpec" */ |
1179 | |
1180 | /* Line 480 of lalr1.cc */ |
1181 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1182 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1183 | { release_hack( (yyvaluep->node) ); }; |
1184 | |
1185 | /* Line 480 of lalr1.cc */ |
1186 | #line 1235 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1187 | break; |
1188 | - case 457: /* "OrderCollationSpec" */ |
1189 | + case 458: /* "OrderCollationSpec" */ |
1190 | |
1191 | /* Line 480 of lalr1.cc */ |
1192 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1193 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1194 | { release_hack( (yyvaluep->node) ); }; |
1195 | |
1196 | /* Line 480 of lalr1.cc */ |
1197 | #line 1244 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1198 | break; |
1199 | - case 458: /* "QuantifiedExpr" */ |
1200 | + case 459: /* "QuantifiedExpr" */ |
1201 | |
1202 | /* Line 480 of lalr1.cc */ |
1203 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1204 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1205 | { release_hack( (yyvaluep->expr) ); }; |
1206 | |
1207 | /* Line 480 of lalr1.cc */ |
1208 | #line 1253 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1209 | break; |
1210 | - case 459: /* "QVarInDeclList" */ |
1211 | + case 460: /* "QVarInDeclList" */ |
1212 | |
1213 | /* Line 480 of lalr1.cc */ |
1214 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1215 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1216 | { release_hack( (yyvaluep->node) ); }; |
1217 | |
1218 | /* Line 480 of lalr1.cc */ |
1219 | #line 1262 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1220 | break; |
1221 | - case 460: /* "QVarInDecl" */ |
1222 | + case 461: /* "QVarInDecl" */ |
1223 | |
1224 | /* Line 480 of lalr1.cc */ |
1225 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1226 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1227 | { release_hack( (yyvaluep->node) ); }; |
1228 | |
1229 | /* Line 480 of lalr1.cc */ |
1230 | #line 1271 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1231 | break; |
1232 | - case 461: /* "SwitchExpr" */ |
1233 | + case 462: /* "SwitchExpr" */ |
1234 | |
1235 | /* Line 480 of lalr1.cc */ |
1236 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1237 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1238 | { release_hack( (yyvaluep->expr) ); }; |
1239 | |
1240 | /* Line 480 of lalr1.cc */ |
1241 | #line 1280 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1242 | break; |
1243 | - case 462: /* "SwitchCaseClauseList" */ |
1244 | + case 463: /* "SwitchCaseClauseList" */ |
1245 | |
1246 | /* Line 480 of lalr1.cc */ |
1247 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1248 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1249 | { release_hack( (yyvaluep->node) ); }; |
1250 | |
1251 | /* Line 480 of lalr1.cc */ |
1252 | #line 1289 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1253 | break; |
1254 | - case 463: /* "SwitchCaseClause" */ |
1255 | + case 464: /* "SwitchCaseClause" */ |
1256 | |
1257 | /* Line 480 of lalr1.cc */ |
1258 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1259 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1260 | { release_hack( (yyvaluep->node) ); }; |
1261 | |
1262 | /* Line 480 of lalr1.cc */ |
1263 | #line 1298 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1264 | break; |
1265 | - case 464: /* "SwitchCaseOperandList" */ |
1266 | + case 465: /* "SwitchCaseOperandList" */ |
1267 | |
1268 | /* Line 480 of lalr1.cc */ |
1269 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1270 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1271 | { release_hack( (yyvaluep->node) ); }; |
1272 | |
1273 | /* Line 480 of lalr1.cc */ |
1274 | #line 1307 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1275 | break; |
1276 | - case 465: /* "SwitchStatement" */ |
1277 | + case 466: /* "SwitchStatement" */ |
1278 | |
1279 | /* Line 480 of lalr1.cc */ |
1280 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1281 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1282 | { release_hack( (yyvaluep->expr) ); }; |
1283 | |
1284 | /* Line 480 of lalr1.cc */ |
1285 | #line 1316 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1286 | break; |
1287 | - case 468: /* "TypeswitchExpr" */ |
1288 | + case 469: /* "TypeswitchExpr" */ |
1289 | |
1290 | /* Line 480 of lalr1.cc */ |
1291 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1292 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1293 | { release_hack( (yyvaluep->expr) ); }; |
1294 | |
1295 | /* Line 480 of lalr1.cc */ |
1296 | #line 1325 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1297 | break; |
1298 | - case 469: /* "TypeswitchStatement" */ |
1299 | + case 470: /* "TypeswitchStatement" */ |
1300 | |
1301 | /* Line 480 of lalr1.cc */ |
1302 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1303 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1304 | { release_hack( (yyvaluep->expr) ); }; |
1305 | |
1306 | /* Line 480 of lalr1.cc */ |
1307 | #line 1334 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1308 | break; |
1309 | - case 470: /* "CaseClauseList" */ |
1310 | + case 471: /* "CaseClauseList" */ |
1311 | |
1312 | /* Line 480 of lalr1.cc */ |
1313 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1314 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1315 | { release_hack( (yyvaluep->node) ); }; |
1316 | |
1317 | /* Line 480 of lalr1.cc */ |
1318 | #line 1343 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1319 | break; |
1320 | - case 471: /* "CaseClause" */ |
1321 | + case 472: /* "CaseClause" */ |
1322 | |
1323 | /* Line 480 of lalr1.cc */ |
1324 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1325 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1326 | { release_hack( (yyvaluep->node) ); }; |
1327 | |
1328 | /* Line 480 of lalr1.cc */ |
1329 | #line 1352 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1330 | break; |
1331 | - case 474: /* "SequenceTypeList" */ |
1332 | + case 475: /* "SequenceTypeList" */ |
1333 | |
1334 | /* Line 480 of lalr1.cc */ |
1335 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1336 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1337 | { release_hack( (yyvaluep->node) ); }; |
1338 | |
1339 | /* Line 480 of lalr1.cc */ |
1340 | #line 1361 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1341 | break; |
1342 | - case 475: /* "IfExpr" */ |
1343 | + case 476: /* "IfExpr" */ |
1344 | |
1345 | /* Line 480 of lalr1.cc */ |
1346 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1347 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1348 | { release_hack( (yyvaluep->expr) ); }; |
1349 | |
1350 | /* Line 480 of lalr1.cc */ |
1351 | #line 1370 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1352 | break; |
1353 | - case 476: /* "OrExpr" */ |
1354 | + case 477: /* "OrExpr" */ |
1355 | |
1356 | /* Line 480 of lalr1.cc */ |
1357 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1358 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1359 | { release_hack( (yyvaluep->expr) ); }; |
1360 | |
1361 | /* Line 480 of lalr1.cc */ |
1362 | #line 1379 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1363 | break; |
1364 | - case 477: /* "AndExpr" */ |
1365 | + case 478: /* "AndExpr" */ |
1366 | |
1367 | /* Line 480 of lalr1.cc */ |
1368 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1369 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1370 | { release_hack( (yyvaluep->expr) ); }; |
1371 | |
1372 | /* Line 480 of lalr1.cc */ |
1373 | #line 1388 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1374 | break; |
1375 | - case 478: /* "NotExpr" */ |
1376 | + case 479: /* "NotExpr" */ |
1377 | |
1378 | /* Line 480 of lalr1.cc */ |
1379 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1380 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1381 | { release_hack( (yyvaluep->expr) ); }; |
1382 | |
1383 | /* Line 480 of lalr1.cc */ |
1384 | #line 1397 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1385 | break; |
1386 | - case 479: /* "ComparisonExpr" */ |
1387 | + case 480: /* "ComparisonExpr" */ |
1388 | |
1389 | /* Line 480 of lalr1.cc */ |
1390 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1391 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1392 | { release_hack( (yyvaluep->expr) ); }; |
1393 | |
1394 | /* Line 480 of lalr1.cc */ |
1395 | #line 1406 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1396 | break; |
1397 | - case 480: /* "FTContainsExpr" */ |
1398 | + case 481: /* "FTContainsExpr" */ |
1399 | |
1400 | /* Line 480 of lalr1.cc */ |
1401 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1402 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1403 | { release_hack( (yyvaluep->expr) ); }; |
1404 | |
1405 | /* Line 480 of lalr1.cc */ |
1406 | #line 1415 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1407 | break; |
1408 | - case 481: /* "StringConcatExpr" */ |
1409 | + case 482: /* "StringConcatExpr" */ |
1410 | |
1411 | /* Line 480 of lalr1.cc */ |
1412 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1413 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1414 | { release_hack( (yyvaluep->expr) ); }; |
1415 | |
1416 | /* Line 480 of lalr1.cc */ |
1417 | #line 1424 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1418 | break; |
1419 | - case 482: /* "opt_FTIgnoreOption" */ |
1420 | + case 483: /* "opt_FTIgnoreOption" */ |
1421 | |
1422 | /* Line 480 of lalr1.cc */ |
1423 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1424 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1425 | { release_hack( (yyvaluep->node) ); }; |
1426 | |
1427 | /* Line 480 of lalr1.cc */ |
1428 | #line 1433 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1429 | break; |
1430 | - case 483: /* "RangeExpr" */ |
1431 | + case 484: /* "RangeExpr" */ |
1432 | |
1433 | /* Line 480 of lalr1.cc */ |
1434 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1435 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1436 | { release_hack( (yyvaluep->expr) ); }; |
1437 | |
1438 | /* Line 480 of lalr1.cc */ |
1439 | #line 1442 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1440 | break; |
1441 | - case 484: /* "AdditiveExpr" */ |
1442 | + case 485: /* "AdditiveExpr" */ |
1443 | |
1444 | /* Line 480 of lalr1.cc */ |
1445 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1446 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1447 | { release_hack( (yyvaluep->expr) ); }; |
1448 | |
1449 | /* Line 480 of lalr1.cc */ |
1450 | #line 1451 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1451 | break; |
1452 | - case 485: /* "MultiplicativeExpr" */ |
1453 | + case 486: /* "MultiplicativeExpr" */ |
1454 | |
1455 | /* Line 480 of lalr1.cc */ |
1456 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1457 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1458 | { release_hack( (yyvaluep->expr) ); }; |
1459 | |
1460 | /* Line 480 of lalr1.cc */ |
1461 | #line 1460 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1462 | break; |
1463 | - case 486: /* "UnionExpr" */ |
1464 | + case 487: /* "UnionExpr" */ |
1465 | |
1466 | /* Line 480 of lalr1.cc */ |
1467 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1468 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1469 | { release_hack( (yyvaluep->expr) ); }; |
1470 | |
1471 | /* Line 480 of lalr1.cc */ |
1472 | #line 1469 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1473 | break; |
1474 | - case 487: /* "IntersectExceptExpr" */ |
1475 | + case 488: /* "IntersectExceptExpr" */ |
1476 | |
1477 | /* Line 480 of lalr1.cc */ |
1478 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1479 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1480 | { release_hack( (yyvaluep->expr) ); }; |
1481 | |
1482 | /* Line 480 of lalr1.cc */ |
1483 | #line 1478 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1484 | break; |
1485 | - case 488: /* "InstanceofExpr" */ |
1486 | + case 489: /* "InstanceofExpr" */ |
1487 | |
1488 | /* Line 480 of lalr1.cc */ |
1489 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1490 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1491 | { release_hack( (yyvaluep->expr) ); }; |
1492 | |
1493 | /* Line 480 of lalr1.cc */ |
1494 | #line 1487 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1495 | break; |
1496 | - case 489: /* "TreatExpr" */ |
1497 | + case 490: /* "TreatExpr" */ |
1498 | |
1499 | /* Line 480 of lalr1.cc */ |
1500 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1501 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1502 | { release_hack( (yyvaluep->expr) ); }; |
1503 | |
1504 | /* Line 480 of lalr1.cc */ |
1505 | #line 1496 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1506 | break; |
1507 | - case 490: /* "CastableExpr" */ |
1508 | + case 491: /* "CastableExpr" */ |
1509 | |
1510 | /* Line 480 of lalr1.cc */ |
1511 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1512 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1513 | { release_hack( (yyvaluep->expr) ); }; |
1514 | |
1515 | /* Line 480 of lalr1.cc */ |
1516 | #line 1505 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1517 | break; |
1518 | - case 491: /* "CastExpr" */ |
1519 | + case 492: /* "CastExpr" */ |
1520 | |
1521 | /* Line 480 of lalr1.cc */ |
1522 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1523 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1524 | { release_hack( (yyvaluep->expr) ); }; |
1525 | |
1526 | /* Line 480 of lalr1.cc */ |
1527 | #line 1514 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1528 | break; |
1529 | - case 492: /* "SingleType" */ |
1530 | + case 493: /* "SingleType" */ |
1531 | |
1532 | /* Line 480 of lalr1.cc */ |
1533 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1534 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1535 | { release_hack( (yyvaluep->node) ); }; |
1536 | |
1537 | /* Line 480 of lalr1.cc */ |
1538 | #line 1523 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1539 | break; |
1540 | - case 493: /* "UnaryExpr" */ |
1541 | + case 494: /* "UnaryExpr" */ |
1542 | |
1543 | /* Line 480 of lalr1.cc */ |
1544 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1545 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1546 | { release_hack( (yyvaluep->expr) ); }; |
1547 | |
1548 | /* Line 480 of lalr1.cc */ |
1549 | #line 1532 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1550 | break; |
1551 | - case 494: /* "SignList" */ |
1552 | + case 495: /* "SignList" */ |
1553 | |
1554 | /* Line 480 of lalr1.cc */ |
1555 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1556 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1557 | { release_hack( (yyvaluep->node) ); }; |
1558 | |
1559 | /* Line 480 of lalr1.cc */ |
1560 | #line 1541 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1561 | break; |
1562 | - case 495: /* "ValueExpr" */ |
1563 | + case 496: /* "ValueExpr" */ |
1564 | |
1565 | /* Line 480 of lalr1.cc */ |
1566 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1567 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1568 | { release_hack( (yyvaluep->expr) ); }; |
1569 | |
1570 | /* Line 480 of lalr1.cc */ |
1571 | #line 1550 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1572 | break; |
1573 | - case 496: /* "SimpleMapExpr" */ |
1574 | + case 497: /* "SimpleMapExpr" */ |
1575 | |
1576 | /* Line 480 of lalr1.cc */ |
1577 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1578 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1579 | { release_hack( (yyvaluep->expr) ); }; |
1580 | |
1581 | /* Line 480 of lalr1.cc */ |
1582 | #line 1559 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1583 | break; |
1584 | - case 497: /* "ValueComp" */ |
1585 | + case 498: /* "ValueComp" */ |
1586 | |
1587 | /* Line 480 of lalr1.cc */ |
1588 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1589 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1590 | { release_hack( (yyvaluep->node) ); }; |
1591 | |
1592 | /* Line 480 of lalr1.cc */ |
1593 | #line 1568 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1594 | break; |
1595 | - case 498: /* "ValidateExpr" */ |
1596 | + case 499: /* "ValidateExpr" */ |
1597 | |
1598 | /* Line 480 of lalr1.cc */ |
1599 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1600 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1601 | { release_hack( (yyvaluep->expr) ); }; |
1602 | |
1603 | /* Line 480 of lalr1.cc */ |
1604 | #line 1577 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1605 | break; |
1606 | - case 499: /* "ExtensionExpr" */ |
1607 | + case 500: /* "ExtensionExpr" */ |
1608 | |
1609 | /* Line 480 of lalr1.cc */ |
1610 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1611 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1612 | { release_hack( (yyvaluep->expr) ); }; |
1613 | |
1614 | /* Line 480 of lalr1.cc */ |
1615 | #line 1586 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1616 | break; |
1617 | - case 500: /* "Pragma_list" */ |
1618 | + case 501: /* "Pragma_list" */ |
1619 | |
1620 | /* Line 480 of lalr1.cc */ |
1621 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1622 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1623 | { release_hack( (yyvaluep->node) ); }; |
1624 | |
1625 | /* Line 480 of lalr1.cc */ |
1626 | #line 1595 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1627 | break; |
1628 | - case 501: /* "Pragma" */ |
1629 | + case 502: /* "Pragma" */ |
1630 | |
1631 | /* Line 480 of lalr1.cc */ |
1632 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1633 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1634 | { release_hack( (yyvaluep->node) ); }; |
1635 | |
1636 | /* Line 480 of lalr1.cc */ |
1637 | #line 1604 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1638 | break; |
1639 | - case 502: /* "PathExpr" */ |
1640 | + case 503: /* "PathExpr" */ |
1641 | |
1642 | /* Line 480 of lalr1.cc */ |
1643 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1644 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1645 | { release_hack( (yyvaluep->expr) ); }; |
1646 | |
1647 | /* Line 480 of lalr1.cc */ |
1648 | #line 1613 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1649 | break; |
1650 | - case 503: /* "RelativePathExpr" */ |
1651 | + case 504: /* "RelativePathExpr" */ |
1652 | |
1653 | /* Line 480 of lalr1.cc */ |
1654 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1655 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1656 | { release_hack( (yyvaluep->expr) ); }; |
1657 | |
1658 | /* Line 480 of lalr1.cc */ |
1659 | #line 1622 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1660 | break; |
1661 | - case 504: /* "StepExpr" */ |
1662 | + case 505: /* "StepExpr" */ |
1663 | |
1664 | /* Line 480 of lalr1.cc */ |
1665 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1666 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1667 | { release_hack( (yyvaluep->expr) ); }; |
1668 | |
1669 | /* Line 480 of lalr1.cc */ |
1670 | #line 1631 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1671 | break; |
1672 | - case 505: /* "NameTest" */ |
1673 | + case 506: /* "NameTest" */ |
1674 | |
1675 | /* Line 480 of lalr1.cc */ |
1676 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1677 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1678 | { release_hack( (yyvaluep->node) ); }; |
1679 | |
1680 | /* Line 480 of lalr1.cc */ |
1681 | #line 1640 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1682 | break; |
1683 | - case 506: /* "Wildcard" */ |
1684 | + case 507: /* "Wildcard" */ |
1685 | |
1686 | /* Line 480 of lalr1.cc */ |
1687 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1688 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1689 | { release_hack( (yyvaluep->node) ); }; |
1690 | |
1691 | /* Line 480 of lalr1.cc */ |
1692 | #line 1649 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1693 | break; |
1694 | - case 507: /* "FilterExpr" */ |
1695 | + case 508: /* "FilterExpr" */ |
1696 | |
1697 | /* Line 480 of lalr1.cc */ |
1698 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1699 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1700 | { release_hack( (yyvaluep->expr) ); }; |
1701 | |
1702 | /* Line 480 of lalr1.cc */ |
1703 | #line 1658 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1704 | break; |
1705 | - case 508: /* "PredicateList" */ |
1706 | + case 509: /* "PredicateList" */ |
1707 | |
1708 | /* Line 480 of lalr1.cc */ |
1709 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1710 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1711 | { release_hack( (yyvaluep->node) ); }; |
1712 | |
1713 | /* Line 480 of lalr1.cc */ |
1714 | #line 1667 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1715 | break; |
1716 | - case 509: /* "Predicate" */ |
1717 | + case 510: /* "Predicate" */ |
1718 | |
1719 | /* Line 480 of lalr1.cc */ |
1720 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1721 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1722 | { release_hack( (yyvaluep->expr) ); }; |
1723 | |
1724 | /* Line 480 of lalr1.cc */ |
1725 | #line 1676 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1726 | break; |
1727 | - case 510: /* "PrimaryExpr" */ |
1728 | + case 511: /* "PrimaryExpr" */ |
1729 | |
1730 | /* Line 480 of lalr1.cc */ |
1731 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1732 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1733 | { release_hack( (yyvaluep->expr) ); }; |
1734 | |
1735 | /* Line 480 of lalr1.cc */ |
1736 | #line 1685 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1737 | break; |
1738 | - case 511: /* "Literal" */ |
1739 | + case 512: /* "Literal" */ |
1740 | |
1741 | /* Line 480 of lalr1.cc */ |
1742 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1743 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1744 | { release_hack( (yyvaluep->expr) ); }; |
1745 | |
1746 | /* Line 480 of lalr1.cc */ |
1747 | #line 1694 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1748 | break; |
1749 | - case 512: /* "NumericLiteral" */ |
1750 | + case 513: /* "NumericLiteral" */ |
1751 | |
1752 | /* Line 480 of lalr1.cc */ |
1753 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1754 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1755 | { release_hack( (yyvaluep->expr) ); }; |
1756 | |
1757 | /* Line 480 of lalr1.cc */ |
1758 | #line 1703 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1759 | break; |
1760 | - case 514: /* "VarRef" */ |
1761 | + case 515: /* "VarRef" */ |
1762 | |
1763 | /* Line 480 of lalr1.cc */ |
1764 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1765 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1766 | { release_hack( (yyvaluep->expr) ); }; |
1767 | |
1768 | /* Line 480 of lalr1.cc */ |
1769 | #line 1712 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1770 | break; |
1771 | - case 515: /* "ParenthesizedExpr" */ |
1772 | + case 516: /* "ParenthesizedExpr" */ |
1773 | |
1774 | /* Line 480 of lalr1.cc */ |
1775 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1776 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1777 | { release_hack( (yyvaluep->expr) ); }; |
1778 | |
1779 | /* Line 480 of lalr1.cc */ |
1780 | #line 1721 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1781 | break; |
1782 | - case 516: /* "ContextItemExpr" */ |
1783 | + case 517: /* "ContextItemExpr" */ |
1784 | |
1785 | /* Line 480 of lalr1.cc */ |
1786 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1787 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1788 | { release_hack( (yyvaluep->expr) ); }; |
1789 | |
1790 | /* Line 480 of lalr1.cc */ |
1791 | #line 1730 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1792 | break; |
1793 | - case 517: /* "OrderedExpr" */ |
1794 | + case 518: /* "OrderedExpr" */ |
1795 | |
1796 | /* Line 480 of lalr1.cc */ |
1797 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1798 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1799 | { release_hack( (yyvaluep->expr) ); }; |
1800 | |
1801 | /* Line 480 of lalr1.cc */ |
1802 | #line 1739 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1803 | break; |
1804 | - case 518: /* "UnorderedExpr" */ |
1805 | + case 519: /* "UnorderedExpr" */ |
1806 | |
1807 | /* Line 480 of lalr1.cc */ |
1808 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1809 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1810 | { release_hack( (yyvaluep->expr) ); }; |
1811 | |
1812 | /* Line 480 of lalr1.cc */ |
1813 | #line 1748 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1814 | break; |
1815 | - case 519: /* "FunctionCall" */ |
1816 | + case 520: /* "FunctionCall" */ |
1817 | |
1818 | /* Line 480 of lalr1.cc */ |
1819 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1820 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1821 | { release_hack( (yyvaluep->expr) ); }; |
1822 | |
1823 | /* Line 480 of lalr1.cc */ |
1824 | #line 1757 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1825 | break; |
1826 | - case 520: /* "ArgList" */ |
1827 | + case 521: /* "ArgList" */ |
1828 | |
1829 | /* Line 480 of lalr1.cc */ |
1830 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1831 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1832 | { release_hack( (yyvaluep->node) ); }; |
1833 | |
1834 | /* Line 480 of lalr1.cc */ |
1835 | #line 1766 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1836 | break; |
1837 | - case 524: /* "Constructor" */ |
1838 | + case 525: /* "Constructor" */ |
1839 | |
1840 | /* Line 480 of lalr1.cc */ |
1841 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1842 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1843 | { release_hack( (yyvaluep->expr) ); }; |
1844 | |
1845 | /* Line 480 of lalr1.cc */ |
1846 | #line 1775 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1847 | break; |
1848 | - case 525: /* "DirectConstructor" */ |
1849 | + case 526: /* "DirectConstructor" */ |
1850 | |
1851 | /* Line 480 of lalr1.cc */ |
1852 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1853 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1854 | { release_hack( (yyvaluep->expr) ); }; |
1855 | |
1856 | /* Line 480 of lalr1.cc */ |
1857 | #line 1784 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1858 | break; |
1859 | - case 526: /* "DirElemConstructor" */ |
1860 | + case 527: /* "DirElemConstructor" */ |
1861 | |
1862 | /* Line 480 of lalr1.cc */ |
1863 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1864 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1865 | { release_hack( (yyvaluep->expr) ); }; |
1866 | |
1867 | /* Line 480 of lalr1.cc */ |
1868 | #line 1793 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1869 | break; |
1870 | - case 527: /* "DirElemContentList" */ |
1871 | + case 528: /* "DirElemContentList" */ |
1872 | |
1873 | /* Line 480 of lalr1.cc */ |
1874 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1875 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1876 | { release_hack( (yyvaluep->node) ); }; |
1877 | |
1878 | /* Line 480 of lalr1.cc */ |
1879 | #line 1802 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1880 | break; |
1881 | - case 528: /* "DirAttributeList" */ |
1882 | + case 529: /* "DirAttributeList" */ |
1883 | |
1884 | /* Line 480 of lalr1.cc */ |
1885 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1886 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1887 | { release_hack( (yyvaluep->node) ); }; |
1888 | |
1889 | /* Line 480 of lalr1.cc */ |
1890 | #line 1811 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1891 | break; |
1892 | - case 529: /* "DirAttr" */ |
1893 | + case 530: /* "DirAttr" */ |
1894 | |
1895 | /* Line 480 of lalr1.cc */ |
1896 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1897 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1898 | { release_hack( (yyvaluep->node) ); }; |
1899 | |
1900 | /* Line 480 of lalr1.cc */ |
1901 | #line 1820 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1902 | break; |
1903 | - case 531: /* "DirAttributeValue" */ |
1904 | + case 532: /* "DirAttributeValue" */ |
1905 | |
1906 | /* Line 480 of lalr1.cc */ |
1907 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1908 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1909 | { release_hack( (yyvaluep->node) ); }; |
1910 | |
1911 | /* Line 480 of lalr1.cc */ |
1912 | #line 1829 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1913 | break; |
1914 | - case 532: /* "opt_QuoteAttrContentList" */ |
1915 | + case 533: /* "opt_QuoteAttrContentList" */ |
1916 | |
1917 | /* Line 480 of lalr1.cc */ |
1918 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1919 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1920 | { release_hack( (yyvaluep->node) ); }; |
1921 | |
1922 | /* Line 480 of lalr1.cc */ |
1923 | #line 1838 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1924 | break; |
1925 | - case 533: /* "QuoteAttrContentList" */ |
1926 | + case 534: /* "QuoteAttrContentList" */ |
1927 | |
1928 | /* Line 480 of lalr1.cc */ |
1929 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1930 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1931 | { release_hack( (yyvaluep->node) ); }; |
1932 | |
1933 | /* Line 480 of lalr1.cc */ |
1934 | #line 1847 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1935 | break; |
1936 | - case 534: /* "opt_AposAttrContentList" */ |
1937 | + case 535: /* "opt_AposAttrContentList" */ |
1938 | |
1939 | /* Line 480 of lalr1.cc */ |
1940 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1941 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1942 | { release_hack( (yyvaluep->node) ); }; |
1943 | |
1944 | /* Line 480 of lalr1.cc */ |
1945 | #line 1856 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1946 | break; |
1947 | - case 535: /* "AposAttrContentList" */ |
1948 | + case 536: /* "AposAttrContentList" */ |
1949 | |
1950 | /* Line 480 of lalr1.cc */ |
1951 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1952 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1953 | { release_hack( (yyvaluep->node) ); }; |
1954 | |
1955 | /* Line 480 of lalr1.cc */ |
1956 | #line 1865 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1957 | break; |
1958 | - case 536: /* "QuoteAttrValueContent" */ |
1959 | + case 537: /* "QuoteAttrValueContent" */ |
1960 | |
1961 | /* Line 480 of lalr1.cc */ |
1962 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1963 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1964 | { release_hack( (yyvaluep->node) ); }; |
1965 | |
1966 | /* Line 480 of lalr1.cc */ |
1967 | #line 1874 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1968 | break; |
1969 | - case 537: /* "AposAttrValueContent" */ |
1970 | + case 538: /* "AposAttrValueContent" */ |
1971 | |
1972 | /* Line 480 of lalr1.cc */ |
1973 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1974 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1975 | { release_hack( (yyvaluep->node) ); }; |
1976 | |
1977 | /* Line 480 of lalr1.cc */ |
1978 | #line 1883 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1979 | break; |
1980 | - case 538: /* "DirElemContent" */ |
1981 | + case 539: /* "DirElemContent" */ |
1982 | |
1983 | /* Line 480 of lalr1.cc */ |
1984 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1985 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1986 | { release_hack( (yyvaluep->expr) ); }; |
1987 | |
1988 | /* Line 480 of lalr1.cc */ |
1989 | #line 1892 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
1990 | break; |
1991 | - case 539: /* "CommonContent" */ |
1992 | + case 540: /* "CommonContent" */ |
1993 | |
1994 | /* Line 480 of lalr1.cc */ |
1995 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1996 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
1997 | { release_hack( (yyvaluep->expr) ); }; |
1998 | |
1999 | /* Line 480 of lalr1.cc */ |
2000 | #line 1901 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2001 | break; |
2002 | - case 540: /* "DirCommentConstructor" */ |
2003 | + case 541: /* "DirCommentConstructor" */ |
2004 | |
2005 | /* Line 480 of lalr1.cc */ |
2006 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2007 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2008 | { release_hack( (yyvaluep->expr) ); }; |
2009 | |
2010 | /* Line 480 of lalr1.cc */ |
2011 | #line 1910 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2012 | break; |
2013 | - case 541: /* "DirPIConstructor" */ |
2014 | + case 542: /* "DirPIConstructor" */ |
2015 | |
2016 | /* Line 480 of lalr1.cc */ |
2017 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2018 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2019 | { release_hack( (yyvaluep->expr) ); }; |
2020 | |
2021 | /* Line 480 of lalr1.cc */ |
2022 | #line 1919 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2023 | break; |
2024 | - case 542: /* "CDataSection" */ |
2025 | + case 543: /* "CDataSection" */ |
2026 | |
2027 | /* Line 480 of lalr1.cc */ |
2028 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2029 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2030 | { release_hack( (yyvaluep->expr) ); }; |
2031 | |
2032 | /* Line 480 of lalr1.cc */ |
2033 | #line 1928 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2034 | break; |
2035 | - case 543: /* "ComputedConstructor" */ |
2036 | + case 544: /* "ComputedConstructor" */ |
2037 | |
2038 | /* Line 480 of lalr1.cc */ |
2039 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2040 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2041 | { release_hack( (yyvaluep->expr) ); }; |
2042 | |
2043 | /* Line 480 of lalr1.cc */ |
2044 | #line 1937 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2045 | break; |
2046 | - case 544: /* "CompDocConstructor" */ |
2047 | + case 545: /* "CompDocConstructor" */ |
2048 | |
2049 | /* Line 480 of lalr1.cc */ |
2050 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2051 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2052 | { release_hack( (yyvaluep->expr) ); }; |
2053 | |
2054 | /* Line 480 of lalr1.cc */ |
2055 | #line 1946 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2056 | break; |
2057 | - case 545: /* "CompElemConstructor" */ |
2058 | + case 546: /* "CompElemConstructor" */ |
2059 | |
2060 | /* Line 480 of lalr1.cc */ |
2061 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2062 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2063 | { release_hack( (yyvaluep->expr) ); }; |
2064 | |
2065 | /* Line 480 of lalr1.cc */ |
2066 | #line 1955 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2067 | break; |
2068 | - case 546: /* "CompAttrConstructor" */ |
2069 | + case 547: /* "CompAttrConstructor" */ |
2070 | |
2071 | /* Line 480 of lalr1.cc */ |
2072 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2073 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2074 | { release_hack( (yyvaluep->expr) ); }; |
2075 | |
2076 | /* Line 480 of lalr1.cc */ |
2077 | #line 1964 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2078 | break; |
2079 | - case 547: /* "CompTextConstructor" */ |
2080 | + case 548: /* "CompTextConstructor" */ |
2081 | |
2082 | /* Line 480 of lalr1.cc */ |
2083 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2084 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2085 | { release_hack( (yyvaluep->expr) ); }; |
2086 | |
2087 | /* Line 480 of lalr1.cc */ |
2088 | #line 1973 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2089 | break; |
2090 | - case 548: /* "CompCommentConstructor" */ |
2091 | + case 549: /* "CompCommentConstructor" */ |
2092 | |
2093 | /* Line 480 of lalr1.cc */ |
2094 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2095 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2096 | { release_hack( (yyvaluep->expr) ); }; |
2097 | |
2098 | /* Line 480 of lalr1.cc */ |
2099 | #line 1982 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2100 | break; |
2101 | - case 549: /* "CompPIConstructor" */ |
2102 | + case 550: /* "CompPIConstructor" */ |
2103 | |
2104 | /* Line 480 of lalr1.cc */ |
2105 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2106 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2107 | { release_hack( (yyvaluep->expr) ); }; |
2108 | |
2109 | /* Line 480 of lalr1.cc */ |
2110 | #line 1991 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2111 | break; |
2112 | - case 550: /* "CompNamespaceConstructor" */ |
2113 | + case 551: /* "CompNamespaceConstructor" */ |
2114 | |
2115 | /* Line 480 of lalr1.cc */ |
2116 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2117 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2118 | { release_hack( (yyvaluep->expr) ); }; |
2119 | |
2120 | /* Line 480 of lalr1.cc */ |
2121 | #line 2000 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2122 | break; |
2123 | - case 551: /* "TypeDeclaration" */ |
2124 | + case 552: /* "TypeDeclaration" */ |
2125 | |
2126 | /* Line 480 of lalr1.cc */ |
2127 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2128 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2129 | { release_hack( (yyvaluep->node) ); }; |
2130 | |
2131 | /* Line 480 of lalr1.cc */ |
2132 | #line 2009 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2133 | break; |
2134 | - case 552: /* "SequenceType" */ |
2135 | + case 553: /* "SequenceType" */ |
2136 | |
2137 | /* Line 480 of lalr1.cc */ |
2138 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2139 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2140 | { release_hack( (yyvaluep->node) ); }; |
2141 | |
2142 | /* Line 480 of lalr1.cc */ |
2143 | #line 2018 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2144 | break; |
2145 | - case 553: /* "OccurrenceIndicator" */ |
2146 | + case 554: /* "OccurrenceIndicator" */ |
2147 | |
2148 | /* Line 480 of lalr1.cc */ |
2149 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2150 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2151 | { release_hack( (yyvaluep->node) ); }; |
2152 | |
2153 | /* Line 480 of lalr1.cc */ |
2154 | #line 2027 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2155 | break; |
2156 | - case 554: /* "ItemType" */ |
2157 | + case 555: /* "ItemType" */ |
2158 | |
2159 | /* Line 480 of lalr1.cc */ |
2160 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2161 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2162 | { release_hack( (yyvaluep->node) ); }; |
2163 | |
2164 | /* Line 480 of lalr1.cc */ |
2165 | #line 2036 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2166 | break; |
2167 | - case 555: /* "TypeList" */ |
2168 | + case 556: /* "TypeList" */ |
2169 | |
2170 | /* Line 480 of lalr1.cc */ |
2171 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2172 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2173 | { release_hack( (yyvaluep->node) ); }; |
2174 | |
2175 | /* Line 480 of lalr1.cc */ |
2176 | #line 2045 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2177 | break; |
2178 | - case 556: /* "GeneralizedAtomicType" */ |
2179 | + case 557: /* "GeneralizedAtomicType" */ |
2180 | |
2181 | /* Line 480 of lalr1.cc */ |
2182 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2183 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2184 | { release_hack( (yyvaluep->node) ); }; |
2185 | |
2186 | /* Line 480 of lalr1.cc */ |
2187 | #line 2054 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2188 | break; |
2189 | - case 557: /* "SimpleType" */ |
2190 | + case 558: /* "SimpleType" */ |
2191 | |
2192 | /* Line 480 of lalr1.cc */ |
2193 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2194 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2195 | { release_hack( (yyvaluep->node) ); }; |
2196 | |
2197 | /* Line 480 of lalr1.cc */ |
2198 | #line 2063 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2199 | break; |
2200 | - case 558: /* "KindTest" */ |
2201 | + case 559: /* "KindTest" */ |
2202 | |
2203 | /* Line 480 of lalr1.cc */ |
2204 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2205 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2206 | { release_hack( (yyvaluep->node) ); }; |
2207 | |
2208 | /* Line 480 of lalr1.cc */ |
2209 | #line 2072 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2210 | break; |
2211 | - case 559: /* "AnyKindTest" */ |
2212 | + case 560: /* "AnyKindTest" */ |
2213 | |
2214 | /* Line 480 of lalr1.cc */ |
2215 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2216 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2217 | { release_hack( (yyvaluep->node) ); }; |
2218 | |
2219 | /* Line 480 of lalr1.cc */ |
2220 | #line 2081 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2221 | break; |
2222 | - case 560: /* "DocumentTest" */ |
2223 | + case 561: /* "DocumentTest" */ |
2224 | |
2225 | /* Line 480 of lalr1.cc */ |
2226 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2227 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2228 | { release_hack( (yyvaluep->node) ); }; |
2229 | |
2230 | /* Line 480 of lalr1.cc */ |
2231 | #line 2090 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2232 | break; |
2233 | - case 561: /* "NamespaceTest" */ |
2234 | + case 562: /* "NamespaceTest" */ |
2235 | |
2236 | /* Line 480 of lalr1.cc */ |
2237 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2238 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2239 | { release_hack( (yyvaluep->node) ); }; |
2240 | |
2241 | /* Line 480 of lalr1.cc */ |
2242 | #line 2099 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2243 | break; |
2244 | - case 562: /* "TextTest" */ |
2245 | + case 563: /* "TextTest" */ |
2246 | |
2247 | /* Line 480 of lalr1.cc */ |
2248 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2249 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2250 | { release_hack( (yyvaluep->node) ); }; |
2251 | |
2252 | /* Line 480 of lalr1.cc */ |
2253 | #line 2108 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2254 | break; |
2255 | - case 563: /* "CommentTest" */ |
2256 | + case 564: /* "CommentTest" */ |
2257 | |
2258 | /* Line 480 of lalr1.cc */ |
2259 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2260 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2261 | { release_hack( (yyvaluep->node) ); }; |
2262 | |
2263 | /* Line 480 of lalr1.cc */ |
2264 | #line 2117 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2265 | break; |
2266 | - case 564: /* "PITest" */ |
2267 | + case 565: /* "PITest" */ |
2268 | |
2269 | /* Line 480 of lalr1.cc */ |
2270 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2271 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2272 | { release_hack( (yyvaluep->node) ); }; |
2273 | |
2274 | /* Line 480 of lalr1.cc */ |
2275 | #line 2126 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2276 | break; |
2277 | - case 565: /* "AttributeTest" */ |
2278 | + case 566: /* "AttributeTest" */ |
2279 | |
2280 | /* Line 480 of lalr1.cc */ |
2281 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2282 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2283 | { release_hack( (yyvaluep->node) ); }; |
2284 | |
2285 | /* Line 480 of lalr1.cc */ |
2286 | #line 2135 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2287 | break; |
2288 | - case 566: /* "SchemaAttributeTest" */ |
2289 | + case 567: /* "SchemaAttributeTest" */ |
2290 | |
2291 | /* Line 480 of lalr1.cc */ |
2292 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2293 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2294 | { release_hack( (yyvaluep->node) ); }; |
2295 | |
2296 | /* Line 480 of lalr1.cc */ |
2297 | #line 2144 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2298 | break; |
2299 | - case 567: /* "ElementTest" */ |
2300 | + case 568: /* "ElementTest" */ |
2301 | |
2302 | /* Line 480 of lalr1.cc */ |
2303 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2304 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2305 | { release_hack( (yyvaluep->node) ); }; |
2306 | |
2307 | /* Line 480 of lalr1.cc */ |
2308 | #line 2153 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2309 | break; |
2310 | - case 568: /* "SchemaElementTest" */ |
2311 | + case 569: /* "SchemaElementTest" */ |
2312 | |
2313 | /* Line 480 of lalr1.cc */ |
2314 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2315 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2316 | { release_hack( (yyvaluep->node) ); }; |
2317 | |
2318 | /* Line 480 of lalr1.cc */ |
2319 | #line 2162 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2320 | break; |
2321 | - case 569: /* "TypeName" */ |
2322 | + case 570: /* "TypeName" */ |
2323 | |
2324 | /* Line 480 of lalr1.cc */ |
2325 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2326 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2327 | { release_hack( (yyvaluep->node) ); }; |
2328 | |
2329 | /* Line 480 of lalr1.cc */ |
2330 | #line 2171 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2331 | break; |
2332 | - case 570: /* "TypeName_WITH_HOOK" */ |
2333 | + case 571: /* "TypeName_WITH_HOOK" */ |
2334 | |
2335 | /* Line 480 of lalr1.cc */ |
2336 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2337 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2338 | { release_hack( (yyvaluep->node) ); }; |
2339 | |
2340 | /* Line 480 of lalr1.cc */ |
2341 | #line 2180 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2342 | break; |
2343 | - case 571: /* "StringLiteral" */ |
2344 | + case 572: /* "StringLiteral" */ |
2345 | |
2346 | /* Line 480 of lalr1.cc */ |
2347 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2348 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2349 | { release_hack( (yyvaluep->expr) ); }; |
2350 | |
2351 | /* Line 480 of lalr1.cc */ |
2352 | #line 2189 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2353 | break; |
2354 | - case 573: /* "AnyFunctionTest" */ |
2355 | + case 574: /* "AnyFunctionTest" */ |
2356 | |
2357 | /* Line 480 of lalr1.cc */ |
2358 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2359 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2360 | { release_hack( (yyvaluep->node) ); }; |
2361 | |
2362 | /* Line 480 of lalr1.cc */ |
2363 | #line 2198 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2364 | break; |
2365 | - case 574: /* "TypedFunctionTest" */ |
2366 | + case 575: /* "TypedFunctionTest" */ |
2367 | |
2368 | /* Line 480 of lalr1.cc */ |
2369 | -#line 931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2370 | +#line 932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2371 | { release_hack( (yyvaluep->node) ); }; |
2372 | |
2373 | /* Line 480 of lalr1.cc */ |
2374 | #line 2207 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2375 | break; |
2376 | - case 577: /* "InsertExpr" */ |
2377 | + case 578: /* "InsertExpr" */ |
2378 | |
2379 | /* Line 480 of lalr1.cc */ |
2380 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2381 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2382 | { release_hack( (yyvaluep->expr) ); }; |
2383 | |
2384 | /* Line 480 of lalr1.cc */ |
2385 | #line 2216 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2386 | break; |
2387 | - case 578: /* "DeleteExpr" */ |
2388 | + case 579: /* "DeleteExpr" */ |
2389 | |
2390 | /* Line 480 of lalr1.cc */ |
2391 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2392 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2393 | { release_hack( (yyvaluep->expr) ); }; |
2394 | |
2395 | /* Line 480 of lalr1.cc */ |
2396 | #line 2225 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2397 | break; |
2398 | - case 579: /* "ReplaceExpr" */ |
2399 | + case 580: /* "ReplaceExpr" */ |
2400 | |
2401 | /* Line 480 of lalr1.cc */ |
2402 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2403 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2404 | { release_hack( (yyvaluep->expr) ); }; |
2405 | |
2406 | /* Line 480 of lalr1.cc */ |
2407 | #line 2234 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2408 | break; |
2409 | - case 580: /* "RenameExpr" */ |
2410 | + case 581: /* "RenameExpr" */ |
2411 | |
2412 | /* Line 480 of lalr1.cc */ |
2413 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2414 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2415 | { release_hack( (yyvaluep->expr) ); }; |
2416 | |
2417 | /* Line 480 of lalr1.cc */ |
2418 | #line 2243 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2419 | break; |
2420 | - case 581: /* "TransformExpr" */ |
2421 | + case 582: /* "TransformExpr" */ |
2422 | |
2423 | /* Line 480 of lalr1.cc */ |
2424 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2425 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2426 | { release_hack( (yyvaluep->expr) ); }; |
2427 | |
2428 | /* Line 480 of lalr1.cc */ |
2429 | #line 2252 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2430 | break; |
2431 | - case 582: /* "VarNameList" */ |
2432 | + case 583: /* "VarNameList" */ |
2433 | |
2434 | /* Line 480 of lalr1.cc */ |
2435 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2436 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2437 | { release_hack( (yyvaluep->expr) ); }; |
2438 | |
2439 | /* Line 480 of lalr1.cc */ |
2440 | #line 2261 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2441 | break; |
2442 | - case 583: /* "VarNameDecl" */ |
2443 | + case 584: /* "VarNameDecl" */ |
2444 | |
2445 | /* Line 480 of lalr1.cc */ |
2446 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2447 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2448 | { release_hack( (yyvaluep->expr) ); }; |
2449 | |
2450 | /* Line 480 of lalr1.cc */ |
2451 | #line 2270 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2452 | break; |
2453 | - case 584: /* "TryExpr" */ |
2454 | + case 585: /* "TryExpr" */ |
2455 | |
2456 | /* Line 480 of lalr1.cc */ |
2457 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2458 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2459 | { release_hack( (yyvaluep->expr) ); }; |
2460 | |
2461 | /* Line 480 of lalr1.cc */ |
2462 | #line 2279 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2463 | break; |
2464 | - case 585: /* "CatchListExpr" */ |
2465 | + case 586: /* "CatchListExpr" */ |
2466 | |
2467 | /* Line 480 of lalr1.cc */ |
2468 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2469 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2470 | { release_hack( (yyvaluep->expr) ); }; |
2471 | |
2472 | /* Line 480 of lalr1.cc */ |
2473 | #line 2288 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2474 | break; |
2475 | - case 586: /* "CatchExpr" */ |
2476 | + case 587: /* "CatchExpr" */ |
2477 | |
2478 | /* Line 480 of lalr1.cc */ |
2479 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2480 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2481 | { release_hack( (yyvaluep->expr) ); }; |
2482 | |
2483 | /* Line 480 of lalr1.cc */ |
2484 | #line 2297 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2485 | break; |
2486 | - case 587: /* "BracedExpr" */ |
2487 | + case 588: /* "BracedExpr" */ |
2488 | |
2489 | /* Line 480 of lalr1.cc */ |
2490 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2491 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2492 | { release_hack( (yyvaluep->expr) ); }; |
2493 | |
2494 | /* Line 480 of lalr1.cc */ |
2495 | #line 2306 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2496 | break; |
2497 | - case 588: /* "NameTestList" */ |
2498 | + case 589: /* "NameTestList" */ |
2499 | |
2500 | /* Line 480 of lalr1.cc */ |
2501 | -#line 946 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2502 | +#line 947 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2503 | { delete (yyvaluep->name_test_list); }; |
2504 | |
2505 | /* Line 480 of lalr1.cc */ |
2506 | #line 2315 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2507 | break; |
2508 | - case 589: /* "FTSelection" */ |
2509 | + case 590: /* "FTSelection" */ |
2510 | |
2511 | /* Line 480 of lalr1.cc */ |
2512 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2513 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2514 | { release_hack( (yyvaluep->node) ); }; |
2515 | |
2516 | /* Line 480 of lalr1.cc */ |
2517 | #line 2324 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2518 | break; |
2519 | - case 592: /* "FTOr" */ |
2520 | + case 593: /* "FTOr" */ |
2521 | |
2522 | /* Line 480 of lalr1.cc */ |
2523 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2524 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2525 | { release_hack( (yyvaluep->node) ); }; |
2526 | |
2527 | /* Line 480 of lalr1.cc */ |
2528 | #line 2333 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2529 | break; |
2530 | - case 593: /* "FTAnd" */ |
2531 | + case 594: /* "FTAnd" */ |
2532 | |
2533 | /* Line 480 of lalr1.cc */ |
2534 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2535 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2536 | { release_hack( (yyvaluep->node) ); }; |
2537 | |
2538 | /* Line 480 of lalr1.cc */ |
2539 | #line 2342 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2540 | break; |
2541 | - case 594: /* "FTMildNot" */ |
2542 | + case 595: /* "FTMildNot" */ |
2543 | |
2544 | /* Line 480 of lalr1.cc */ |
2545 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2546 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2547 | { release_hack( (yyvaluep->node) ); }; |
2548 | |
2549 | /* Line 480 of lalr1.cc */ |
2550 | #line 2351 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2551 | break; |
2552 | - case 595: /* "FTUnaryNot" */ |
2553 | + case 596: /* "FTUnaryNot" */ |
2554 | |
2555 | /* Line 480 of lalr1.cc */ |
2556 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2557 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2558 | { release_hack( (yyvaluep->node) ); }; |
2559 | |
2560 | /* Line 480 of lalr1.cc */ |
2561 | #line 2360 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2562 | break; |
2563 | - case 596: /* "FTPrimaryWithOptions" */ |
2564 | + case 597: /* "FTPrimaryWithOptions" */ |
2565 | |
2566 | /* Line 480 of lalr1.cc */ |
2567 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2568 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2569 | { release_hack( (yyvaluep->node) ); }; |
2570 | |
2571 | /* Line 480 of lalr1.cc */ |
2572 | #line 2369 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2573 | break; |
2574 | - case 597: /* "opt_FTMatchOptions" */ |
2575 | + case 598: /* "opt_FTMatchOptions" */ |
2576 | |
2577 | /* Line 480 of lalr1.cc */ |
2578 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2579 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2580 | { release_hack( (yyvaluep->node) ); }; |
2581 | |
2582 | /* Line 480 of lalr1.cc */ |
2583 | #line 2378 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2584 | break; |
2585 | - case 599: /* "FTWeight" */ |
2586 | + case 600: /* "FTWeight" */ |
2587 | |
2588 | /* Line 480 of lalr1.cc */ |
2589 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2590 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2591 | { release_hack( (yyvaluep->node) ); }; |
2592 | |
2593 | /* Line 480 of lalr1.cc */ |
2594 | #line 2387 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2595 | break; |
2596 | - case 600: /* "FTPrimary" */ |
2597 | + case 601: /* "FTPrimary" */ |
2598 | |
2599 | /* Line 480 of lalr1.cc */ |
2600 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2601 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2602 | { release_hack( (yyvaluep->node) ); }; |
2603 | |
2604 | /* Line 480 of lalr1.cc */ |
2605 | #line 2396 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2606 | break; |
2607 | - case 601: /* "opt_FTTimes" */ |
2608 | + case 602: /* "opt_FTTimes" */ |
2609 | |
2610 | /* Line 480 of lalr1.cc */ |
2611 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2612 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2613 | { release_hack( (yyvaluep->node) ); }; |
2614 | |
2615 | /* Line 480 of lalr1.cc */ |
2616 | #line 2405 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2617 | break; |
2618 | - case 602: /* "FTExtensionSelection" */ |
2619 | + case 603: /* "FTExtensionSelection" */ |
2620 | |
2621 | /* Line 480 of lalr1.cc */ |
2622 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2623 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2624 | { release_hack( (yyvaluep->node) ); }; |
2625 | |
2626 | /* Line 480 of lalr1.cc */ |
2627 | #line 2414 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2628 | break; |
2629 | - case 604: /* "FTWords" */ |
2630 | + case 605: /* "FTWords" */ |
2631 | |
2632 | /* Line 480 of lalr1.cc */ |
2633 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2634 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2635 | { release_hack( (yyvaluep->node) ); }; |
2636 | |
2637 | /* Line 480 of lalr1.cc */ |
2638 | #line 2423 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2639 | break; |
2640 | - case 605: /* "FTWordsValue" */ |
2641 | + case 606: /* "FTWordsValue" */ |
2642 | |
2643 | /* Line 480 of lalr1.cc */ |
2644 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2645 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2646 | { release_hack( (yyvaluep->node) ); }; |
2647 | |
2648 | /* Line 480 of lalr1.cc */ |
2649 | #line 2432 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2650 | break; |
2651 | - case 607: /* "FTAnyallOption" */ |
2652 | + case 608: /* "FTAnyallOption" */ |
2653 | |
2654 | /* Line 480 of lalr1.cc */ |
2655 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2656 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2657 | { release_hack( (yyvaluep->node) ); }; |
2658 | |
2659 | /* Line 480 of lalr1.cc */ |
2660 | #line 2441 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2661 | break; |
2662 | - case 610: /* "FTPosFilter" */ |
2663 | + case 611: /* "FTPosFilter" */ |
2664 | |
2665 | /* Line 480 of lalr1.cc */ |
2666 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2667 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2668 | { release_hack( (yyvaluep->node) ); }; |
2669 | |
2670 | /* Line 480 of lalr1.cc */ |
2671 | #line 2450 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2672 | break; |
2673 | - case 611: /* "FTOrder" */ |
2674 | + case 612: /* "FTOrder" */ |
2675 | |
2676 | /* Line 480 of lalr1.cc */ |
2677 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2678 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2679 | { release_hack( (yyvaluep->node) ); }; |
2680 | |
2681 | /* Line 480 of lalr1.cc */ |
2682 | #line 2459 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2683 | break; |
2684 | - case 612: /* "FTWindow" */ |
2685 | + case 613: /* "FTWindow" */ |
2686 | |
2687 | /* Line 480 of lalr1.cc */ |
2688 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2689 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2690 | { release_hack( (yyvaluep->node) ); }; |
2691 | |
2692 | /* Line 480 of lalr1.cc */ |
2693 | #line 2468 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2694 | break; |
2695 | - case 613: /* "FTDistance" */ |
2696 | + case 614: /* "FTDistance" */ |
2697 | |
2698 | /* Line 480 of lalr1.cc */ |
2699 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2700 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2701 | { release_hack( (yyvaluep->node) ); }; |
2702 | |
2703 | /* Line 480 of lalr1.cc */ |
2704 | #line 2477 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2705 | break; |
2706 | - case 614: /* "FTUnit" */ |
2707 | + case 615: /* "FTUnit" */ |
2708 | |
2709 | /* Line 480 of lalr1.cc */ |
2710 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2711 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2712 | { release_hack( (yyvaluep->node) ); }; |
2713 | |
2714 | /* Line 480 of lalr1.cc */ |
2715 | #line 2486 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2716 | break; |
2717 | - case 615: /* "FTMatchOptions" */ |
2718 | + case 616: /* "FTMatchOptions" */ |
2719 | |
2720 | /* Line 480 of lalr1.cc */ |
2721 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2722 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2723 | { release_hack( (yyvaluep->node) ); }; |
2724 | |
2725 | /* Line 480 of lalr1.cc */ |
2726 | #line 2495 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2727 | break; |
2728 | - case 616: /* "FTMatchOption" */ |
2729 | + case 617: /* "FTMatchOption" */ |
2730 | |
2731 | /* Line 480 of lalr1.cc */ |
2732 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2733 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2734 | { release_hack( (yyvaluep->node) ); }; |
2735 | |
2736 | /* Line 480 of lalr1.cc */ |
2737 | #line 2504 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2738 | break; |
2739 | - case 617: /* "FTCaseOption" */ |
2740 | + case 618: /* "FTCaseOption" */ |
2741 | |
2742 | /* Line 480 of lalr1.cc */ |
2743 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2744 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2745 | { release_hack( (yyvaluep->node) ); }; |
2746 | |
2747 | /* Line 480 of lalr1.cc */ |
2748 | #line 2513 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2749 | break; |
2750 | - case 618: /* "FTDiacriticsOption" */ |
2751 | + case 619: /* "FTDiacriticsOption" */ |
2752 | |
2753 | /* Line 480 of lalr1.cc */ |
2754 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2755 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2756 | { release_hack( (yyvaluep->node) ); }; |
2757 | |
2758 | /* Line 480 of lalr1.cc */ |
2759 | #line 2522 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2760 | break; |
2761 | - case 619: /* "FTExtensionOption" */ |
2762 | + case 620: /* "FTExtensionOption" */ |
2763 | |
2764 | /* Line 480 of lalr1.cc */ |
2765 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2766 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2767 | { release_hack( (yyvaluep->node) ); }; |
2768 | |
2769 | /* Line 480 of lalr1.cc */ |
2770 | #line 2531 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2771 | break; |
2772 | - case 620: /* "FTStemOption" */ |
2773 | + case 621: /* "FTStemOption" */ |
2774 | |
2775 | /* Line 480 of lalr1.cc */ |
2776 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2777 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2778 | { release_hack( (yyvaluep->node) ); }; |
2779 | |
2780 | /* Line 480 of lalr1.cc */ |
2781 | #line 2540 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2782 | break; |
2783 | - case 621: /* "FTThesaurusOption" */ |
2784 | + case 622: /* "FTThesaurusOption" */ |
2785 | |
2786 | /* Line 480 of lalr1.cc */ |
2787 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2788 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2789 | { release_hack( (yyvaluep->node) ); }; |
2790 | |
2791 | /* Line 480 of lalr1.cc */ |
2792 | #line 2549 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2793 | break; |
2794 | - case 625: /* "FTThesaurusID" */ |
2795 | + case 626: /* "FTThesaurusID" */ |
2796 | |
2797 | /* Line 480 of lalr1.cc */ |
2798 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2799 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2800 | { release_hack( (yyvaluep->node) ); }; |
2801 | |
2802 | /* Line 480 of lalr1.cc */ |
2803 | #line 2558 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2804 | break; |
2805 | - case 628: /* "FTStopWordOption" */ |
2806 | + case 629: /* "FTStopWordOption" */ |
2807 | |
2808 | /* Line 480 of lalr1.cc */ |
2809 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2810 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2811 | { release_hack( (yyvaluep->node) ); }; |
2812 | |
2813 | /* Line 480 of lalr1.cc */ |
2814 | #line 2567 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2815 | break; |
2816 | - case 629: /* "FTStopWords" */ |
2817 | + case 630: /* "FTStopWords" */ |
2818 | |
2819 | /* Line 480 of lalr1.cc */ |
2820 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2821 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2822 | { release_hack( (yyvaluep->node) ); }; |
2823 | |
2824 | /* Line 480 of lalr1.cc */ |
2825 | #line 2576 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2826 | break; |
2827 | - case 633: /* "FTStopWordsInclExcl" */ |
2828 | + case 634: /* "FTStopWordsInclExcl" */ |
2829 | |
2830 | /* Line 480 of lalr1.cc */ |
2831 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2832 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2833 | { release_hack( (yyvaluep->node) ); }; |
2834 | |
2835 | /* Line 480 of lalr1.cc */ |
2836 | #line 2585 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2837 | break; |
2838 | - case 634: /* "FTLanguageOption" */ |
2839 | + case 635: /* "FTLanguageOption" */ |
2840 | |
2841 | /* Line 480 of lalr1.cc */ |
2842 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2843 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2844 | { release_hack( (yyvaluep->node) ); }; |
2845 | |
2846 | /* Line 480 of lalr1.cc */ |
2847 | #line 2594 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2848 | break; |
2849 | - case 635: /* "FTWildCardOption" */ |
2850 | + case 636: /* "FTWildCardOption" */ |
2851 | |
2852 | /* Line 480 of lalr1.cc */ |
2853 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2854 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2855 | { release_hack( (yyvaluep->node) ); }; |
2856 | |
2857 | /* Line 480 of lalr1.cc */ |
2858 | #line 2603 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2859 | break; |
2860 | - case 636: /* "FTContent" */ |
2861 | + case 637: /* "FTContent" */ |
2862 | |
2863 | /* Line 480 of lalr1.cc */ |
2864 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2865 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2866 | { release_hack( (yyvaluep->node) ); }; |
2867 | |
2868 | /* Line 480 of lalr1.cc */ |
2869 | #line 2612 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2870 | break; |
2871 | - case 637: /* "FTTimes" */ |
2872 | + case 638: /* "FTTimes" */ |
2873 | |
2874 | /* Line 480 of lalr1.cc */ |
2875 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2876 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2877 | { release_hack( (yyvaluep->node) ); }; |
2878 | |
2879 | /* Line 480 of lalr1.cc */ |
2880 | #line 2621 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2881 | break; |
2882 | - case 638: /* "FTRange" */ |
2883 | + case 639: /* "FTRange" */ |
2884 | |
2885 | /* Line 480 of lalr1.cc */ |
2886 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2887 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2888 | { release_hack( (yyvaluep->node) ); }; |
2889 | |
2890 | /* Line 480 of lalr1.cc */ |
2891 | #line 2630 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2892 | break; |
2893 | - case 639: /* "FTScope" */ |
2894 | + case 640: /* "FTScope" */ |
2895 | |
2896 | /* Line 480 of lalr1.cc */ |
2897 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2898 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2899 | { release_hack( (yyvaluep->node) ); }; |
2900 | |
2901 | /* Line 480 of lalr1.cc */ |
2902 | #line 2639 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2903 | break; |
2904 | - case 640: /* "FTBigUnit" */ |
2905 | + case 641: /* "FTBigUnit" */ |
2906 | |
2907 | /* Line 480 of lalr1.cc */ |
2908 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2909 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2910 | { release_hack( (yyvaluep->node) ); }; |
2911 | |
2912 | /* Line 480 of lalr1.cc */ |
2913 | #line 2648 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2914 | break; |
2915 | - case 641: /* "FTIgnoreOption" */ |
2916 | + case 642: /* "FTIgnoreOption" */ |
2917 | |
2918 | /* Line 480 of lalr1.cc */ |
2919 | -#line 934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2920 | +#line 935 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2921 | { release_hack( (yyvaluep->node) ); }; |
2922 | |
2923 | /* Line 480 of lalr1.cc */ |
2924 | #line 2657 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2925 | break; |
2926 | - case 642: /* "JSONArrayConstructor" */ |
2927 | + case 643: /* "JSONArrayConstructor" */ |
2928 | |
2929 | /* Line 480 of lalr1.cc */ |
2930 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2931 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2932 | { release_hack( (yyvaluep->expr) ); }; |
2933 | |
2934 | /* Line 480 of lalr1.cc */ |
2935 | #line 2666 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2936 | break; |
2937 | - case 643: /* "JSONSimpleObjectUnion" */ |
2938 | + case 644: /* "JSONSimpleObjectUnion" */ |
2939 | |
2940 | /* Line 480 of lalr1.cc */ |
2941 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2942 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2943 | { release_hack( (yyvaluep->expr) ); }; |
2944 | |
2945 | /* Line 480 of lalr1.cc */ |
2946 | #line 2675 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2947 | break; |
2948 | - case 644: /* "JSONAccumulatorObjectUnion" */ |
2949 | + case 645: /* "JSONAccumulatorObjectUnion" */ |
2950 | |
2951 | /* Line 480 of lalr1.cc */ |
2952 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2953 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2954 | { release_hack( (yyvaluep->expr) ); }; |
2955 | |
2956 | /* Line 480 of lalr1.cc */ |
2957 | #line 2684 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2958 | break; |
2959 | - case 645: /* "JSONObjectConstructor" */ |
2960 | + case 646: /* "JSONObjectConstructor" */ |
2961 | |
2962 | /* Line 480 of lalr1.cc */ |
2963 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2964 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2965 | { release_hack( (yyvaluep->expr) ); }; |
2966 | |
2967 | /* Line 480 of lalr1.cc */ |
2968 | #line 2693 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2969 | break; |
2970 | - case 646: /* "JSONPairList" */ |
2971 | + case 647: /* "JSONPairList" */ |
2972 | |
2973 | /* Line 480 of lalr1.cc */ |
2974 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2975 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2976 | { release_hack( (yyvaluep->node) ); }; |
2977 | |
2978 | /* Line 480 of lalr1.cc */ |
2979 | #line 2702 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2980 | break; |
2981 | - case 647: /* "JSONInsertExpr" */ |
2982 | + case 648: /* "JSONInsertExpr" */ |
2983 | |
2984 | /* Line 480 of lalr1.cc */ |
2985 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2986 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2987 | { release_hack( (yyvaluep->expr) ); }; |
2988 | |
2989 | /* Line 480 of lalr1.cc */ |
2990 | #line 2711 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
2991 | break; |
2992 | - case 648: /* "JSONAppendExpr" */ |
2993 | + case 649: /* "JSONAppendExpr" */ |
2994 | |
2995 | /* Line 480 of lalr1.cc */ |
2996 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2997 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
2998 | { release_hack( (yyvaluep->expr) ); }; |
2999 | |
3000 | /* Line 480 of lalr1.cc */ |
3001 | #line 2720 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
3002 | break; |
3003 | - case 649: /* "JSONDeleteExpr" */ |
3004 | + case 650: /* "JSONDeleteExpr" */ |
3005 | |
3006 | /* Line 480 of lalr1.cc */ |
3007 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3008 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3009 | { release_hack( (yyvaluep->expr) ); }; |
3010 | |
3011 | /* Line 480 of lalr1.cc */ |
3012 | #line 2729 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
3013 | break; |
3014 | - case 650: /* "JSONRenameExpr" */ |
3015 | + case 651: /* "JSONRenameExpr" */ |
3016 | |
3017 | /* Line 480 of lalr1.cc */ |
3018 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3019 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3020 | { release_hack( (yyvaluep->expr) ); }; |
3021 | |
3022 | /* Line 480 of lalr1.cc */ |
3023 | #line 2738 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
3024 | break; |
3025 | - case 651: /* "JSONReplaceExpr" */ |
3026 | + case 652: /* "JSONReplaceExpr" */ |
3027 | |
3028 | /* Line 480 of lalr1.cc */ |
3029 | -#line 937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3030 | +#line 938 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3031 | { release_hack( (yyvaluep->expr) ); }; |
3032 | |
3033 | /* Line 480 of lalr1.cc */ |
3034 | #line 2747 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
3035 | break; |
3036 | - case 658: /* "QNAME" */ |
3037 | + case 659: /* "QNAME" */ |
3038 | |
3039 | /* Line 480 of lalr1.cc */ |
3040 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3041 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3042 | { release_hack( (yyvaluep->expr) ); }; |
3043 | |
3044 | /* Line 480 of lalr1.cc */ |
3045 | #line 2756 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
3046 | break; |
3047 | - case 659: /* "FUNCTION_NAME" */ |
3048 | + case 660: /* "FUNCTION_NAME" */ |
3049 | |
3050 | /* Line 480 of lalr1.cc */ |
3051 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3052 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3053 | { release_hack( (yyvaluep->expr) ); }; |
3054 | |
3055 | /* Line 480 of lalr1.cc */ |
3056 | #line 2765 "/home/mbrantner/zorba/build/src/compiler/parser/jsoniq_parser.cpp" |
3057 | break; |
3058 | - case 660: /* "EQNAME" */ |
3059 | + case 661: /* "EQNAME" */ |
3060 | |
3061 | /* Line 480 of lalr1.cc */ |
3062 | -#line 943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3063 | +#line 944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3064 | { release_hack( (yyvaluep->expr) ); }; |
3065 | |
3066 | /* Line 480 of lalr1.cc */ |
3067 | @@ -2986,7 +2986,7 @@ |
3068 | case 3: |
3069 | |
3070 | /* Line 690 of lalr1.cc */ |
3071 | -#line 1070 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3072 | +#line 1071 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3073 | { |
3074 | (yyval.node) = (yysemantic_stack_[(2) - (2)].node); |
3075 | } |
3076 | @@ -2995,7 +2995,7 @@ |
3077 | case 4: |
3078 | |
3079 | /* Line 690 of lalr1.cc */ |
3080 | -#line 1074 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3081 | +#line 1075 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3082 | { |
3083 | (yyval.node) = (yysemantic_stack_[(2) - (2)].node); |
3084 | } |
3085 | @@ -3004,7 +3004,7 @@ |
3086 | case 5: |
3087 | |
3088 | /* Line 690 of lalr1.cc */ |
3089 | -#line 1078 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3090 | +#line 1079 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3091 | { |
3092 | (yyval.node) = (yysemantic_stack_[(3) - (3)].node); |
3093 | } |
3094 | @@ -3013,7 +3013,7 @@ |
3095 | case 6: |
3096 | |
3097 | /* Line 690 of lalr1.cc */ |
3098 | -#line 1086 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3099 | +#line 1087 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3100 | { |
3101 | (yyval.node) = NULL; |
3102 | } |
3103 | @@ -3022,7 +3022,7 @@ |
3104 | case 7: |
3105 | |
3106 | /* Line 690 of lalr1.cc */ |
3107 | -#line 1092 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3108 | +#line 1093 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3109 | { |
3110 | (yyval.node) = NULL; YYABORT; |
3111 | } |
3112 | @@ -3031,7 +3031,7 @@ |
3113 | case 8: |
3114 | |
3115 | /* Line 690 of lalr1.cc */ |
3116 | -#line 1096 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3117 | +#line 1097 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3118 | { |
3119 | (yyval.node) = NULL; YYABORT; |
3120 | } |
3121 | @@ -3040,7 +3040,7 @@ |
3122 | case 9: |
3123 | |
3124 | /* Line 690 of lalr1.cc */ |
3125 | -#line 1105 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3126 | +#line 1106 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3127 | { |
3128 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); |
3129 | driver.set_expr( (yyval.node) ); |
3130 | @@ -3050,7 +3050,7 @@ |
3131 | case 10: |
3132 | |
3133 | /* Line 690 of lalr1.cc */ |
3134 | -#line 1111 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3135 | +#line 1112 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3136 | { |
3137 | MainModule* mm = dynamic_cast<MainModule*>((yysemantic_stack_[(2) - (2)].node)); |
3138 | mm->set_version_decl( static_cast<VersionDecl*>((yysemantic_stack_[(2) - (1)].node)) ); |
3139 | @@ -3062,7 +3062,7 @@ |
3140 | case 11: |
3141 | |
3142 | /* Line 690 of lalr1.cc */ |
3143 | -#line 1119 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3144 | +#line 1120 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3145 | { |
3146 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); |
3147 | driver.set_expr( (yyval.node) ); |
3148 | @@ -3072,7 +3072,7 @@ |
3149 | case 12: |
3150 | |
3151 | /* Line 690 of lalr1.cc */ |
3152 | -#line 1125 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3153 | +#line 1126 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3154 | { |
3155 | LibraryModule* lm = dynamic_cast<LibraryModule*>((yysemantic_stack_[(2) - (2)].node)); |
3156 | lm->set_version_decl( static_cast<VersionDecl*>((yysemantic_stack_[(2) - (1)].node)) ); |
3157 | @@ -3084,7 +3084,7 @@ |
3158 | case 13: |
3159 | |
3160 | /* Line 690 of lalr1.cc */ |
3161 | -#line 1136 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3162 | +#line 1137 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3163 | { |
3164 | (yyval.node) = new VersionDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(4) - (3)].sval)), "utf-8" ); |
3165 | } |
3166 | @@ -3093,7 +3093,7 @@ |
3167 | case 14: |
3168 | |
3169 | /* Line 690 of lalr1.cc */ |
3170 | -#line 1141 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3171 | +#line 1142 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3172 | { |
3173 | (yyval.node) = new VersionDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(6) - (3)].sval)), SYMTAB((yysemantic_stack_[(6) - (5)].sval)) ); |
3174 | } |
3175 | @@ -3102,7 +3102,7 @@ |
3176 | case 15: |
3177 | |
3178 | /* Line 690 of lalr1.cc */ |
3179 | -#line 1145 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3180 | +#line 1146 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3181 | { |
3182 | (yyval.node) = new VersionDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(4) - (3)].sval)), "utf-8", VersionDecl::jsoniq ); |
3183 | } |
3184 | @@ -3111,7 +3111,7 @@ |
3185 | case 16: |
3186 | |
3187 | /* Line 690 of lalr1.cc */ |
3188 | -#line 1150 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3189 | +#line 1151 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3190 | { |
3191 | (yyval.node) = new VersionDecl( |
3192 | LOC((yyloc)), SYMTAB((yysemantic_stack_[(6) - (3)].sval)), SYMTAB((yysemantic_stack_[(6) - (5)].sval)), VersionDecl::jsoniq ); |
3193 | @@ -3121,7 +3121,7 @@ |
3194 | case 17: |
3195 | |
3196 | /* Line 690 of lalr1.cc */ |
3197 | -#line 1159 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3198 | +#line 1160 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3199 | { |
3200 | Prolog* prolog = new Prolog(LOC((yyloc)), static_cast<SIND_DeclList*>((yysemantic_stack_[(3) - (1)].node)), NULL); |
3201 | |
3202 | @@ -3132,7 +3132,7 @@ |
3203 | case 18: |
3204 | |
3205 | /* Line 690 of lalr1.cc */ |
3206 | -#line 1166 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3207 | +#line 1167 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3208 | { |
3209 | Prolog* prolog = new Prolog(LOC((yyloc)), NULL, static_cast<VFO_DeclList*>((yysemantic_stack_[(3) - (1)].node))); |
3210 | |
3211 | @@ -3143,7 +3143,7 @@ |
3212 | case 19: |
3213 | |
3214 | /* Line 690 of lalr1.cc */ |
3215 | -#line 1173 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3216 | +#line 1174 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3217 | { |
3218 | Prolog* prolog = new Prolog(LOC((yyloc)), |
3219 | static_cast<SIND_DeclList*>((yysemantic_stack_[(5) - (1)].node)), |
3220 | @@ -3156,7 +3156,7 @@ |
3221 | case 20: |
3222 | |
3223 | /* Line 690 of lalr1.cc */ |
3224 | -#line 1182 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3225 | +#line 1183 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3226 | { |
3227 | (yyval.node) = new MainModule( LOC((yyloc)), static_cast<QueryBody*>((yysemantic_stack_[(1) - (1)].expr)), NULL ); |
3228 | } |
3229 | @@ -3165,7 +3165,7 @@ |
3230 | case 21: |
3231 | |
3232 | /* Line 690 of lalr1.cc */ |
3233 | -#line 1189 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3234 | +#line 1190 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3235 | { |
3236 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); (yyval.node) = (yysemantic_stack_[(3) - (3)].expr); // to prevent the Bison warning |
3237 | (yylocation_stack_[(3) - (1)]).step(); |
3238 | @@ -3177,7 +3177,7 @@ |
3239 | case 22: |
3240 | |
3241 | /* Line 690 of lalr1.cc */ |
3242 | -#line 1197 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3243 | +#line 1198 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3244 | { |
3245 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); (yyval.node) = (yysemantic_stack_[(3) - (3)].expr); // to prevent the Bison warning |
3246 | (yylocation_stack_[(3) - (1)]).step(); |
3247 | @@ -3189,7 +3189,7 @@ |
3248 | case 23: |
3249 | |
3250 | /* Line 690 of lalr1.cc */ |
3251 | -#line 1205 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3252 | +#line 1206 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3253 | { |
3254 | (yyval.node) = (yysemantic_stack_[(5) - (1)].node); (yyval.node) = (yysemantic_stack_[(5) - (3)].node); (yyval.node) = (yysemantic_stack_[(5) - (5)].expr); // to prevent the Bison warning |
3255 | (yylocation_stack_[(5) - (3)]).step(); |
3256 | @@ -3201,7 +3201,7 @@ |
3257 | case 24: |
3258 | |
3259 | /* Line 690 of lalr1.cc */ |
3260 | -#line 1213 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3261 | +#line 1214 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3262 | { |
3263 | (yyval.node) = (yysemantic_stack_[(5) - (1)].node); (yyval.node) = (yysemantic_stack_[(5) - (3)].node); (yyval.node) = (yysemantic_stack_[(5) - (5)].expr); // to prevent the Bison warning |
3264 | (yylocation_stack_[(5) - (1)]).step(); |
3265 | @@ -3213,7 +3213,7 @@ |
3266 | case 25: |
3267 | |
3268 | /* Line 690 of lalr1.cc */ |
3269 | -#line 1224 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3270 | +#line 1225 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3271 | { |
3272 | (yyval.node) = new LibraryModule(LOC((yyloc)), static_cast<ModuleDecl*>((yysemantic_stack_[(1) - (1)].node)), NULL); |
3273 | } |
3274 | @@ -3222,7 +3222,7 @@ |
3275 | case 26: |
3276 | |
3277 | /* Line 690 of lalr1.cc */ |
3278 | -#line 1229 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3279 | +#line 1230 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3280 | { |
3281 | Prolog* prolog = new Prolog(LOC((yyloc)), static_cast<SIND_DeclList*>((yysemantic_stack_[(3) - (2)].node)), NULL); |
3282 | |
3283 | @@ -3233,7 +3233,7 @@ |
3284 | case 27: |
3285 | |
3286 | /* Line 690 of lalr1.cc */ |
3287 | -#line 1236 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3288 | +#line 1237 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3289 | { |
3290 | Prolog* prolog = new Prolog(LOC((yyloc)), NULL, static_cast<VFO_DeclList*>((yysemantic_stack_[(3) - (2)].node))); |
3291 | |
3292 | @@ -3244,7 +3244,7 @@ |
3293 | case 28: |
3294 | |
3295 | /* Line 690 of lalr1.cc */ |
3296 | -#line 1243 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3297 | +#line 1244 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3298 | { |
3299 | Prolog* prolog = new Prolog(LOC((yyloc)), |
3300 | static_cast<SIND_DeclList*>((yysemantic_stack_[(5) - (2)].node)), |
3301 | @@ -3257,7 +3257,7 @@ |
3302 | case 29: |
3303 | |
3304 | /* Line 690 of lalr1.cc */ |
3305 | -#line 1255 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3306 | +#line 1256 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3307 | { |
3308 | (yyval.node) = new ModuleDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(6) - (3)].sval)), SYMTAB((yysemantic_stack_[(6) - (5)].sval)) ); |
3309 | |
3310 | @@ -3268,7 +3268,7 @@ |
3311 | case 30: |
3312 | |
3313 | /* Line 690 of lalr1.cc */ |
3314 | -#line 1265 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3315 | +#line 1266 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3316 | { |
3317 | SIND_DeclList *sdl = new SIND_DeclList( LOC((yyloc)) ); |
3318 | sdl->push_back( (yysemantic_stack_[(1) - (1)].node) ); |
3319 | @@ -3279,7 +3279,7 @@ |
3320 | case 31: |
3321 | |
3322 | /* Line 690 of lalr1.cc */ |
3323 | -#line 1272 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3324 | +#line 1273 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3325 | { |
3326 | ((SIND_DeclList*)(yysemantic_stack_[(3) - (1)].node))->push_back( (yysemantic_stack_[(3) - (3)].node) ); |
3327 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); |
3328 | @@ -3289,7 +3289,7 @@ |
3329 | case 32: |
3330 | |
3331 | /* Line 690 of lalr1.cc */ |
3332 | -#line 1279 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3333 | +#line 1280 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3334 | { |
3335 | // error |
3336 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); (yyval.node) = (yysemantic_stack_[(3) - (3)].node); // to prevent the Bison warning |
3337 | @@ -3302,7 +3302,7 @@ |
3338 | case 46: |
3339 | |
3340 | /* Line 690 of lalr1.cc */ |
3341 | -#line 1314 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3342 | +#line 1315 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3343 | { |
3344 | (yyval.node) = new BoundarySpaceDecl(LOC((yyloc)), StaticContextConsts::preserve_space); |
3345 | } |
3346 | @@ -3311,7 +3311,7 @@ |
3347 | case 47: |
3348 | |
3349 | /* Line 690 of lalr1.cc */ |
3350 | -#line 1319 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3351 | +#line 1320 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3352 | { |
3353 | (yyval.node) = new BoundarySpaceDecl(LOC((yyloc)), StaticContextConsts::strip_space); |
3354 | } |
3355 | @@ -3320,7 +3320,7 @@ |
3356 | case 48: |
3357 | |
3358 | /* Line 690 of lalr1.cc */ |
3359 | -#line 1327 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3360 | +#line 1328 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3361 | { |
3362 | (yyval.node) = new DefaultCollationDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(4) - (4)].sval)) ); |
3363 | } |
3364 | @@ -3329,7 +3329,7 @@ |
3365 | case 49: |
3366 | |
3367 | /* Line 690 of lalr1.cc */ |
3368 | -#line 1335 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3369 | +#line 1336 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3370 | { |
3371 | (yyval.node) = new BaseURIDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(3) - (3)].sval)) ); |
3372 | } |
3373 | @@ -3338,7 +3338,7 @@ |
3374 | case 50: |
3375 | |
3376 | /* Line 690 of lalr1.cc */ |
3377 | -#line 1343 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3378 | +#line 1344 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3379 | { |
3380 | (yyval.node) = new ConstructionDecl(LOC((yyloc)), StaticContextConsts::cons_preserve); |
3381 | } |
3382 | @@ -3347,7 +3347,7 @@ |
3383 | case 51: |
3384 | |
3385 | /* Line 690 of lalr1.cc */ |
3386 | -#line 1348 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3387 | +#line 1349 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3388 | { |
3389 | (yyval.node) = new ConstructionDecl(LOC((yyloc)), StaticContextConsts::cons_strip); |
3390 | } |
3391 | @@ -3356,7 +3356,7 @@ |
3392 | case 52: |
3393 | |
3394 | /* Line 690 of lalr1.cc */ |
3395 | -#line 1356 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3396 | +#line 1357 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3397 | { |
3398 | (yyval.node) = new OrderingModeDecl(LOC((yyloc)), StaticContextConsts::ordered); |
3399 | } |
3400 | @@ -3365,7 +3365,7 @@ |
3401 | case 53: |
3402 | |
3403 | /* Line 690 of lalr1.cc */ |
3404 | -#line 1361 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3405 | +#line 1362 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3406 | { |
3407 | (yyval.node) = new OrderingModeDecl(LOC((yyloc)), StaticContextConsts::unordered); |
3408 | } |
3409 | @@ -3374,7 +3374,7 @@ |
3410 | case 54: |
3411 | |
3412 | /* Line 690 of lalr1.cc */ |
3413 | -#line 1369 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3414 | +#line 1370 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3415 | { |
3416 | (yyval.node) = new EmptyOrderDecl(LOC((yyloc)), StaticContextConsts::empty_greatest); |
3417 | } |
3418 | @@ -3383,7 +3383,7 @@ |
3419 | case 55: |
3420 | |
3421 | /* Line 690 of lalr1.cc */ |
3422 | -#line 1374 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3423 | +#line 1375 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3424 | { |
3425 | (yyval.node) = new EmptyOrderDecl(LOC((yyloc)), StaticContextConsts::empty_least); |
3426 | } |
3427 | @@ -3392,7 +3392,7 @@ |
3428 | case 56: |
3429 | |
3430 | /* Line 690 of lalr1.cc */ |
3431 | -#line 1382 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3432 | +#line 1383 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3433 | { |
3434 | (yyval.node) = new CopyNamespacesDecl(LOC((yyloc)), true, true); |
3435 | } |
3436 | @@ -3401,7 +3401,7 @@ |
3437 | case 57: |
3438 | |
3439 | /* Line 690 of lalr1.cc */ |
3440 | -#line 1387 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3441 | +#line 1388 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3442 | { |
3443 | (yyval.node) = new CopyNamespacesDecl(LOC((yyloc)), true, false); |
3444 | } |
3445 | @@ -3410,7 +3410,7 @@ |
3446 | case 58: |
3447 | |
3448 | /* Line 690 of lalr1.cc */ |
3449 | -#line 1392 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3450 | +#line 1393 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3451 | { |
3452 | (yyval.node) = new CopyNamespacesDecl(LOC((yyloc)), false, true); |
3453 | } |
3454 | @@ -3419,7 +3419,7 @@ |
3455 | case 59: |
3456 | |
3457 | /* Line 690 of lalr1.cc */ |
3458 | -#line 1397 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3459 | +#line 1398 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3460 | { |
3461 | (yyval.node) = new CopyNamespacesDecl(LOC((yyloc)), false, false); |
3462 | } |
3463 | @@ -3428,7 +3428,7 @@ |
3464 | case 62: |
3465 | |
3466 | /* Line 690 of lalr1.cc */ |
3467 | -#line 1410 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3468 | +#line 1411 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3469 | { |
3470 | (yyval.node) = (yyval.node); // to prevent the Bison warning |
3471 | error((yylocation_stack_[(3) - (2)]), "syntax error, \"import\" should be followed by either \"schema\" or \"module\"."); |
3472 | @@ -3439,7 +3439,7 @@ |
3473 | case 63: |
3474 | |
3475 | /* Line 690 of lalr1.cc */ |
3476 | -#line 1420 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3477 | +#line 1421 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3478 | { |
3479 | (yyval.node) = new SchemaImport( LOC((yyloc)), NULL, SYMTAB((yysemantic_stack_[(3) - (3)].sval)), NULL ); |
3480 | } |
3481 | @@ -3448,7 +3448,7 @@ |
3482 | case 64: |
3483 | |
3484 | /* Line 690 of lalr1.cc */ |
3485 | -#line 1425 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3486 | +#line 1426 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3487 | { |
3488 | (yyval.node) = new SchemaImport(LOC((yyloc)), |
3489 | dynamic_cast<SchemaPrefix*>((yysemantic_stack_[(4) - (3)].node)), |
3490 | @@ -3460,7 +3460,7 @@ |
3491 | case 65: |
3492 | |
3493 | /* Line 690 of lalr1.cc */ |
3494 | -#line 1433 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3495 | +#line 1434 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3496 | { |
3497 | (yyval.node) = new SchemaImport(LOC((yyloc)), |
3498 | NULL, |
3499 | @@ -3472,7 +3472,7 @@ |
3500 | case 66: |
3501 | |
3502 | /* Line 690 of lalr1.cc */ |
3503 | -#line 1441 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3504 | +#line 1442 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3505 | { |
3506 | (yyval.node) = new SchemaImport(LOC((yyloc)), |
3507 | dynamic_cast<SchemaPrefix*>((yysemantic_stack_[(6) - (3)].node)), |
3508 | @@ -3484,7 +3484,7 @@ |
3509 | case 67: |
3510 | |
3511 | /* Line 690 of lalr1.cc */ |
3512 | -#line 1452 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3513 | +#line 1453 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3514 | { |
3515 | URILiteralList *ull = new URILiteralList( LOC((yyloc))); |
3516 | ull->push_back( SYMTAB((yysemantic_stack_[(1) - (1)].sval)) ); |
3517 | @@ -3495,7 +3495,7 @@ |
3518 | case 68: |
3519 | |
3520 | /* Line 690 of lalr1.cc */ |
3521 | -#line 1459 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3522 | +#line 1460 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3523 | { |
3524 | if ( URILiteralList *ull = dynamic_cast<URILiteralList*>((yysemantic_stack_[(3) - (1)].node)) ) |
3525 | ull->push_back( SYMTAB((yysemantic_stack_[(3) - (3)].sval)) ); |
3526 | @@ -3507,7 +3507,7 @@ |
3527 | case 69: |
3528 | |
3529 | /* Line 690 of lalr1.cc */ |
3530 | -#line 1470 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3531 | +#line 1471 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3532 | { |
3533 | (yyval.node) = new SchemaPrefix( LOC((yyloc)), SYMTAB((yysemantic_stack_[(3) - (2)].sval)) ); |
3534 | } |
3535 | @@ -3516,7 +3516,7 @@ |
3536 | case 70: |
3537 | |
3538 | /* Line 690 of lalr1.cc */ |
3539 | -#line 1475 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3540 | +#line 1476 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3541 | { |
3542 | (yyval.node) = new SchemaPrefix( LOC((yyloc)), true ); |
3543 | } |
3544 | @@ -3525,7 +3525,7 @@ |
3545 | case 71: |
3546 | |
3547 | /* Line 690 of lalr1.cc */ |
3548 | -#line 1483 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3549 | +#line 1484 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3550 | { |
3551 | (yyval.node) = new ModuleImport(LOC((yyloc)), SYMTAB((yysemantic_stack_[(3) - (3)].sval)), NULL); |
3552 | |
3553 | @@ -3536,7 +3536,7 @@ |
3554 | case 72: |
3555 | |
3556 | /* Line 690 of lalr1.cc */ |
3557 | -#line 1490 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3558 | +#line 1491 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3559 | { |
3560 | (yyval.node) = new ModuleImport(LOC((yyloc)), SYMTAB((yysemantic_stack_[(6) - (4)].sval)), SYMTAB((yysemantic_stack_[(6) - (6)].sval)), NULL); |
3561 | |
3562 | @@ -3547,7 +3547,7 @@ |
3563 | case 73: |
3564 | |
3565 | /* Line 690 of lalr1.cc */ |
3566 | -#line 1497 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3567 | +#line 1498 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3568 | { |
3569 | (yyval.node) = new ModuleImport(LOC((yyloc)), |
3570 | SYMTAB((yysemantic_stack_[(5) - (3)].sval)), |
3571 | @@ -3560,7 +3560,7 @@ |
3572 | case 74: |
3573 | |
3574 | /* Line 690 of lalr1.cc */ |
3575 | -#line 1506 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3576 | +#line 1507 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3577 | { |
3578 | (yyval.node) = new ModuleImport(LOC((yyloc)), |
3579 | SYMTAB((yysemantic_stack_[(8) - (4)].sval)), |
3580 | @@ -3574,7 +3574,7 @@ |
3581 | case 75: |
3582 | |
3583 | /* Line 690 of lalr1.cc */ |
3584 | -#line 1519 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3585 | +#line 1520 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3586 | { |
3587 | (yyval.node) = new NamespaceDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(5) - (3)].sval)), SYMTAB((yysemantic_stack_[(5) - (5)].sval)) ); |
3588 | } |
3589 | @@ -3583,7 +3583,7 @@ |
3590 | case 76: |
3591 | |
3592 | /* Line 690 of lalr1.cc */ |
3593 | -#line 1527 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3594 | +#line 1528 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3595 | { |
3596 | (yyval.node) = new DefaultNamespaceDecl(LOC((yyloc)), |
3597 | ParseConstants::ns_element_default, |
3598 | @@ -3594,7 +3594,7 @@ |
3599 | case 77: |
3600 | |
3601 | /* Line 690 of lalr1.cc */ |
3602 | -#line 1534 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3603 | +#line 1535 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3604 | { |
3605 | (yyval.node) = new DefaultNamespaceDecl(LOC((yyloc)), |
3606 | ParseConstants::ns_function_default, |
3607 | @@ -3605,7 +3605,7 @@ |
3608 | case 78: |
3609 | |
3610 | /* Line 690 of lalr1.cc */ |
3611 | -#line 1544 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3612 | +#line 1545 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3613 | { |
3614 | VFO_DeclList *vdl = new VFO_DeclList( LOC((yyloc))); |
3615 | vdl->push_back( (yysemantic_stack_[(1) - (1)].node) ); |
3616 | @@ -3616,7 +3616,7 @@ |
3617 | case 79: |
3618 | |
3619 | /* Line 690 of lalr1.cc */ |
3620 | -#line 1551 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3621 | +#line 1552 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3622 | { |
3623 | ((VFO_DeclList*)(yysemantic_stack_[(3) - (1)].node))->push_back( (yysemantic_stack_[(3) - (3)].node) ); |
3624 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); |
3625 | @@ -3626,7 +3626,7 @@ |
3626 | case 80: |
3627 | |
3628 | /* Line 690 of lalr1.cc */ |
3629 | -#line 1558 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3630 | +#line 1559 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3631 | { |
3632 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); (yyval.node) = (yysemantic_stack_[(3) - (3)].node); // to prevent the Bison warning |
3633 | (yylocation_stack_[(3) - (1)]).step(); |
3634 | @@ -3638,7 +3638,7 @@ |
3635 | case 89: |
3636 | |
3637 | /* Line 690 of lalr1.cc */ |
3638 | -#line 1581 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3639 | +#line 1582 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3640 | { |
3641 | (yyval.node) = new DecimalFormatNode(LOC((yyloc)), (yysemantic_stack_[(4) - (4)].vstrpair)); |
3642 | delete (yysemantic_stack_[(4) - (4)].vstrpair); |
3643 | @@ -3648,7 +3648,7 @@ |
3644 | case 90: |
3645 | |
3646 | /* Line 690 of lalr1.cc */ |
3647 | -#line 1587 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3648 | +#line 1588 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3649 | { |
3650 | (yyval.node) = new DecimalFormatNode(LOC((yyloc)), static_cast<QName*>((yysemantic_stack_[(4) - (3)].expr)), (yysemantic_stack_[(4) - (4)].vstrpair)); |
3651 | delete (yysemantic_stack_[(4) - (4)].vstrpair); |
3652 | @@ -3658,7 +3658,7 @@ |
3653 | case 91: |
3654 | |
3655 | /* Line 690 of lalr1.cc */ |
3656 | -#line 1596 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3657 | +#line 1597 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3658 | { |
3659 | (yyval.vstrpair) = new vector<string_pair_t>(); |
3660 | (yyval.vstrpair)->push_back( *(yysemantic_stack_[(1) - (1)].strpair) ); |
3661 | @@ -3669,7 +3669,7 @@ |
3662 | case 92: |
3663 | |
3664 | /* Line 690 of lalr1.cc */ |
3665 | -#line 1603 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3666 | +#line 1604 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3667 | { |
3668 | (yysemantic_stack_[(2) - (1)].vstrpair)->push_back( *(yysemantic_stack_[(2) - (2)].strpair) ); |
3669 | delete (yysemantic_stack_[(2) - (2)].strpair); |
3670 | @@ -3680,7 +3680,7 @@ |
3671 | case 93: |
3672 | |
3673 | /* Line 690 of lalr1.cc */ |
3674 | -#line 1613 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3675 | +#line 1614 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3676 | { |
3677 | StringLiteral *sl = static_cast<StringLiteral*>((yysemantic_stack_[(3) - (3)].expr)); |
3678 | (yyval.strpair) = new string_pair_t( (yysemantic_stack_[(3) - (1)].strval), sl->get_strval().str() ); |
3679 | @@ -3691,77 +3691,77 @@ |
3680 | case 94: |
3681 | |
3682 | /* Line 690 of lalr1.cc */ |
3683 | -#line 1622 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3684 | +#line 1623 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3685 | { (yyval.strval) = "decimal-separator"; } |
3686 | break; |
3687 | |
3688 | case 95: |
3689 | |
3690 | /* Line 690 of lalr1.cc */ |
3691 | -#line 1623 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3692 | +#line 1624 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3693 | { (yyval.strval) = "digit"; } |
3694 | break; |
3695 | |
3696 | case 96: |
3697 | |
3698 | /* Line 690 of lalr1.cc */ |
3699 | -#line 1624 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3700 | +#line 1625 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3701 | { (yyval.strval) = "grouping-separator"; } |
3702 | break; |
3703 | |
3704 | case 97: |
3705 | |
3706 | /* Line 690 of lalr1.cc */ |
3707 | -#line 1625 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3708 | +#line 1626 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3709 | { (yyval.strval) = "infinty"; } |
3710 | break; |
3711 | |
3712 | case 98: |
3713 | |
3714 | /* Line 690 of lalr1.cc */ |
3715 | -#line 1626 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3716 | +#line 1627 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3717 | { (yyval.strval) = "minus-sign"; } |
3718 | break; |
3719 | |
3720 | case 99: |
3721 | |
3722 | /* Line 690 of lalr1.cc */ |
3723 | -#line 1627 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3724 | +#line 1628 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3725 | { (yyval.strval) = "NaN"; } |
3726 | break; |
3727 | |
3728 | case 100: |
3729 | |
3730 | /* Line 690 of lalr1.cc */ |
3731 | -#line 1628 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3732 | +#line 1629 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3733 | { (yyval.strval) = "pattern-separator"; } |
3734 | break; |
3735 | |
3736 | case 101: |
3737 | |
3738 | /* Line 690 of lalr1.cc */ |
3739 | -#line 1629 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3740 | +#line 1630 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3741 | { (yyval.strval) = "percent"; } |
3742 | break; |
3743 | |
3744 | case 102: |
3745 | |
3746 | /* Line 690 of lalr1.cc */ |
3747 | -#line 1630 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3748 | +#line 1631 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3749 | { (yyval.strval) = "per-mille"; } |
3750 | break; |
3751 | |
3752 | case 103: |
3753 | |
3754 | /* Line 690 of lalr1.cc */ |
3755 | -#line 1631 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3756 | +#line 1632 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3757 | { (yyval.strval) = "zero-digit"; } |
3758 | break; |
3759 | |
3760 | case 104: |
3761 | |
3762 | /* Line 690 of lalr1.cc */ |
3763 | -#line 1637 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3764 | +#line 1638 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3765 | { |
3766 | (yyval.node) = new OptionDecl(LOC((yyloc)), static_cast<QName*>((yysemantic_stack_[(4) - (3)].expr)), SYMTAB((yysemantic_stack_[(4) - (4)].sval))); |
3767 | } |
3768 | @@ -3770,7 +3770,7 @@ |
3769 | case 105: |
3770 | |
3771 | /* Line 690 of lalr1.cc */ |
3772 | -#line 1645 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3773 | +#line 1646 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3774 | { |
3775 | (yyval.node) = new FTOptionDecl( LOC((yyloc)), dynamic_cast<FTMatchOptions*>((yysemantic_stack_[(3) - (3)].node)) ); |
3776 | } |
3777 | @@ -3779,7 +3779,7 @@ |
3778 | case 106: |
3779 | |
3780 | /* Line 690 of lalr1.cc */ |
3781 | -#line 1653 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3782 | +#line 1654 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3783 | { |
3784 | (yyval.node) = (yysemantic_stack_[(4) - (4)].node); |
3785 | } |
3786 | @@ -3788,7 +3788,7 @@ |
3787 | case 107: |
3788 | |
3789 | /* Line 690 of lalr1.cc */ |
3790 | -#line 1661 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3791 | +#line 1662 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3792 | { |
3793 | CtxItemDecl* d = dynamic_cast<CtxItemDecl*>((yysemantic_stack_[(3) - (3)].node)); |
3794 | d->theType = (yysemantic_stack_[(3) - (2)].node); |
3795 | @@ -3799,7 +3799,7 @@ |
3796 | case 108: |
3797 | |
3798 | /* Line 690 of lalr1.cc */ |
3799 | -#line 1668 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3800 | +#line 1669 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3801 | { |
3802 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); |
3803 | } |
3804 | @@ -3808,7 +3808,7 @@ |
3805 | case 109: |
3806 | |
3807 | /* Line 690 of lalr1.cc */ |
3808 | -#line 1676 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3809 | +#line 1677 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3810 | { |
3811 | CtxItemDecl* d = dynamic_cast<CtxItemDecl*>((yysemantic_stack_[(1) - (1)].node)); |
3812 | d->theIsExternal = false; |
3813 | @@ -3819,7 +3819,7 @@ |
3814 | case 110: |
3815 | |
3816 | /* Line 690 of lalr1.cc */ |
3817 | -#line 1683 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3818 | +#line 1684 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3819 | { |
3820 | (yyval.node) = new CtxItemDecl(LOC((yyloc)), NULL); |
3821 | } |
3822 | @@ -3828,7 +3828,7 @@ |
3823 | case 111: |
3824 | |
3825 | /* Line 690 of lalr1.cc */ |
3826 | -#line 1688 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3827 | +#line 1689 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3828 | { |
3829 | (yyval.node) = (yysemantic_stack_[(2) - (2)].node); |
3830 | } |
3831 | @@ -3837,7 +3837,7 @@ |
3832 | case 112: |
3833 | |
3834 | /* Line 690 of lalr1.cc */ |
3835 | -#line 1696 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3836 | +#line 1697 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3837 | { |
3838 | (yyval.node) = new CtxItemDecl(LOC((yyloc)), (yysemantic_stack_[(2) - (2)].expr)); |
3839 | } |
3840 | @@ -3846,7 +3846,7 @@ |
3841 | case 113: |
3842 | |
3843 | /* Line 690 of lalr1.cc */ |
3844 | -#line 1704 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3845 | +#line 1705 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3846 | { |
3847 | std::auto_ptr<VarNameAndType> nt(dynamic_cast<VarNameAndType *>((yysemantic_stack_[(4) - (2)].varnametype))); |
3848 | |
3849 | @@ -3864,7 +3864,7 @@ |
3850 | case 114: |
3851 | |
3852 | /* Line 690 of lalr1.cc */ |
3853 | -#line 1718 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3854 | +#line 1719 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3855 | { |
3856 | std::auto_ptr<VarNameAndType> nt(dynamic_cast<VarNameAndType *>((yysemantic_stack_[(3) - (2)].varnametype))); |
3857 | |
3858 | @@ -3882,7 +3882,7 @@ |
3859 | case 115: |
3860 | |
3861 | /* Line 690 of lalr1.cc */ |
3862 | -#line 1732 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3863 | +#line 1733 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3864 | { |
3865 | std::auto_ptr<VarNameAndType> nt(dynamic_cast<VarNameAndType *>((yysemantic_stack_[(5) - (2)].varnametype))); |
3866 | |
3867 | @@ -3900,7 +3900,7 @@ |
3868 | case 116: |
3869 | |
3870 | /* Line 690 of lalr1.cc */ |
3871 | -#line 1749 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3872 | +#line 1750 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3873 | { |
3874 | (yyval.varnametype) = new VarNameAndType(LOC((yyloc)), static_cast<QName*>((yysemantic_stack_[(3) - (3)].expr)), NULL, NULL); |
3875 | } |
3876 | @@ -3909,7 +3909,7 @@ |
3877 | case 117: |
3878 | |
3879 | /* Line 690 of lalr1.cc */ |
3880 | -#line 1754 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3881 | +#line 1755 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3882 | { |
3883 | (yyval.varnametype) = new VarNameAndType(LOC((yyloc)), |
3884 | static_cast<QName*>((yysemantic_stack_[(4) - (3)].expr)), |
3885 | @@ -3921,7 +3921,7 @@ |
3886 | case 118: |
3887 | |
3888 | /* Line 690 of lalr1.cc */ |
3889 | -#line 1762 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3890 | +#line 1763 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3891 | { |
3892 | (yyval.varnametype) = new VarNameAndType(LOC((yyloc)), |
3893 | static_cast<QName*>((yysemantic_stack_[(4) - (4)].expr)), |
3894 | @@ -3933,7 +3933,7 @@ |
3895 | case 119: |
3896 | |
3897 | /* Line 690 of lalr1.cc */ |
3898 | -#line 1770 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3899 | +#line 1771 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3900 | { |
3901 | (yyval.varnametype) = new VarNameAndType(LOC((yyloc)), |
3902 | static_cast<QName*>((yysemantic_stack_[(5) - (4)].expr)), |
3903 | @@ -3945,7 +3945,7 @@ |
3904 | case 120: |
3905 | |
3906 | /* Line 690 of lalr1.cc */ |
3907 | -#line 1781 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3908 | +#line 1782 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3909 | { |
3910 | (yyval.node) = new AnnotationListParsenode(LOC((yyloc)), static_cast<AnnotationParsenode*>((yysemantic_stack_[(1) - (1)].node))); |
3911 | } |
3912 | @@ -3954,7 +3954,7 @@ |
3913 | case 121: |
3914 | |
3915 | /* Line 690 of lalr1.cc */ |
3916 | -#line 1786 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3917 | +#line 1787 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3918 | { |
3919 | static_cast<AnnotationListParsenode*>((yysemantic_stack_[(2) - (1)].node))->push_back(static_cast<AnnotationParsenode*>((yysemantic_stack_[(2) - (2)].node))); |
3920 | (yyval.node) = (yysemantic_stack_[(2) - (1)].node); |
3921 | @@ -3964,7 +3964,7 @@ |
3922 | case 122: |
3923 | |
3924 | /* Line 690 of lalr1.cc */ |
3925 | -#line 1795 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3926 | +#line 1796 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3927 | { |
3928 | (yyval.node) = new AnnotationParsenode(LOC((yyloc)), new QName(LOC((yyloc)), SYMTAB((yysemantic_stack_[(1) - (1)].sval))), NULL); |
3929 | } |
3930 | @@ -3973,7 +3973,7 @@ |
3931 | case 123: |
3932 | |
3933 | /* Line 690 of lalr1.cc */ |
3934 | -#line 1800 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3935 | +#line 1801 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3936 | { |
3937 | (yyval.node) = new AnnotationParsenode(LOC((yyloc)), |
3938 | new QName(LOC((yyloc)), SYMTAB((yysemantic_stack_[(4) - (1)].sval))), |
3939 | @@ -3984,7 +3984,7 @@ |
3940 | case 124: |
3941 | |
3942 | /* Line 690 of lalr1.cc */ |
3943 | -#line 1807 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3944 | +#line 1808 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3945 | { |
3946 | (yyval.node) = new AnnotationParsenode(LOC((yyloc)), new QName(LOC((yyloc)), SYMTAB((yysemantic_stack_[(1) - (1)].sval)), true), NULL); |
3947 | } |
3948 | @@ -3993,7 +3993,7 @@ |
3949 | case 125: |
3950 | |
3951 | /* Line 690 of lalr1.cc */ |
3952 | -#line 1812 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3953 | +#line 1813 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3954 | { |
3955 | (yyval.node) = new AnnotationParsenode(LOC((yyloc)), |
3956 | new QName(LOC((yyloc)), SYMTAB((yysemantic_stack_[(4) - (1)].sval)), true), |
3957 | @@ -4004,7 +4004,7 @@ |
3958 | case 126: |
3959 | |
3960 | /* Line 690 of lalr1.cc */ |
3961 | -#line 1822 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3962 | +#line 1823 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3963 | { |
3964 | (yyval.node) = new AnnotationLiteralListParsenode(LOC((yyloc)), (yysemantic_stack_[(1) - (1)].expr)); |
3965 | } |
3966 | @@ -4013,7 +4013,7 @@ |
3967 | case 127: |
3968 | |
3969 | /* Line 690 of lalr1.cc */ |
3970 | -#line 1827 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3971 | +#line 1828 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3972 | { |
3973 | static_cast<AnnotationLiteralListParsenode*>((yysemantic_stack_[(3) - (1)].node))->push_back((yysemantic_stack_[(3) - (3)].expr)); |
3974 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); |
3975 | @@ -4023,7 +4023,7 @@ |
3976 | case 128: |
3977 | |
3978 | /* Line 690 of lalr1.cc */ |
3979 | -#line 1836 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3980 | +#line 1837 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3981 | { |
3982 | static_cast<FunctionDecl*>((yysemantic_stack_[(2) - (2)].node))->setComment( SYMTAB((yysemantic_stack_[(2) - (1)].sval)) ); |
3983 | (yyval.node) = (yysemantic_stack_[(2) - (2)].node); |
3984 | @@ -4033,7 +4033,7 @@ |
3985 | case 129: |
3986 | |
3987 | /* Line 690 of lalr1.cc */ |
3988 | -#line 1842 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3989 | +#line 1843 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3990 | { |
3991 | FunctionDecl* fdecl = static_cast<FunctionDecl*>((yysemantic_stack_[(3) - (3)].node)); |
3992 | |
3993 | @@ -4047,7 +4047,7 @@ |
3994 | case 130: |
3995 | |
3996 | /* Line 690 of lalr1.cc */ |
3997 | -#line 1855 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3998 | +#line 1856 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
3999 | { |
4000 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); |
4001 | } |
4002 | @@ -4056,7 +4056,7 @@ |
4003 | case 131: |
4004 | |
4005 | /* Line 690 of lalr1.cc */ |
4006 | -#line 1860 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4007 | +#line 1861 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4008 | { |
4009 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); |
4010 | } |
4011 | @@ -4065,7 +4065,7 @@ |
4012 | case 132: |
4013 | |
4014 | /* Line 690 of lalr1.cc */ |
4015 | -#line 1868 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4016 | +#line 1869 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4017 | { |
4018 | (yyval.node) = new FunctionDecl(LOC((yyloc)), |
4019 | static_cast<QName*>((yysemantic_stack_[(4) - (2)].expr)), |
4020 | @@ -4081,7 +4081,7 @@ |
4021 | case 133: |
4022 | |
4023 | /* Line 690 of lalr1.cc */ |
4024 | -#line 1879 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4025 | +#line 1880 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4026 | { |
4027 | (yyval.node) = new FunctionDecl(LOC ((yyloc)), |
4028 | static_cast<QName*>((yysemantic_stack_[(4) - (2)].expr)), |
4029 | @@ -4097,7 +4097,7 @@ |
4030 | case 134: |
4031 | |
4032 | /* Line 690 of lalr1.cc */ |
4033 | -#line 1894 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4034 | +#line 1895 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4035 | { |
4036 | (yyval.node) = new FunctionDecl(LOC ((yyloc)), |
4037 | static_cast<QName*>((yysemantic_stack_[(5) - (3)].expr)), |
4038 | @@ -4113,7 +4113,7 @@ |
4039 | case 135: |
4040 | |
4041 | /* Line 690 of lalr1.cc */ |
4042 | -#line 1906 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4043 | +#line 1907 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4044 | { |
4045 | (yyval.node) = new FunctionDecl(LOC((yyloc)), |
4046 | static_cast<QName*>((yysemantic_stack_[(5) - (3)].expr)), |
4047 | @@ -4129,7 +4129,7 @@ |
4048 | case 136: |
4049 | |
4050 | /* Line 690 of lalr1.cc */ |
4051 | -#line 1921 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4052 | +#line 1922 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4053 | { |
4054 | (yyval.fnsig) = new FunctionSig(NULL); |
4055 | } |
4056 | @@ -4138,7 +4138,7 @@ |
4057 | case 137: |
4058 | |
4059 | /* Line 690 of lalr1.cc */ |
4060 | -#line 1926 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4061 | +#line 1927 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4062 | { |
4063 | (yyval.fnsig) = new FunctionSig(dynamic_cast<ParamList*>((yysemantic_stack_[(3) - (2)].node))); |
4064 | } |
4065 | @@ -4147,7 +4147,7 @@ |
4066 | case 138: |
4067 | |
4068 | /* Line 690 of lalr1.cc */ |
4069 | -#line 1931 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4070 | +#line 1932 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4071 | { |
4072 | (yyval.fnsig) = new FunctionSig(NULL, dynamic_cast<SequenceType*>((yysemantic_stack_[(4) - (4)].node))); |
4073 | } |
4074 | @@ -4156,7 +4156,7 @@ |
4075 | case 139: |
4076 | |
4077 | /* Line 690 of lalr1.cc */ |
4078 | -#line 1936 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4079 | +#line 1937 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4080 | { |
4081 | (yyval.fnsig) = new FunctionSig(dynamic_cast<ParamList*>((yysemantic_stack_[(5) - (2)].node)), dynamic_cast<SequenceType*>((yysemantic_stack_[(5) - (5)].node))); |
4082 | } |
4083 | @@ -4165,7 +4165,7 @@ |
4084 | case 140: |
4085 | |
4086 | /* Line 690 of lalr1.cc */ |
4087 | -#line 1944 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4088 | +#line 1945 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4089 | { |
4090 | ParamList *pl = new ParamList( LOC((yyloc)) ); |
4091 | pl->push_back( dynamic_cast<Param*>((yysemantic_stack_[(1) - (1)].node)) ); |
4092 | @@ -4176,7 +4176,7 @@ |
4093 | case 141: |
4094 | |
4095 | /* Line 690 of lalr1.cc */ |
4096 | -#line 1951 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4097 | +#line 1952 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4098 | { |
4099 | if ( ParamList *pl = dynamic_cast<ParamList*>((yysemantic_stack_[(3) - (1)].node)) ) |
4100 | pl->push_back( dynamic_cast<Param*>((yysemantic_stack_[(3) - (3)].node)) ); |
4101 | @@ -4188,7 +4188,7 @@ |
4102 | case 142: |
4103 | |
4104 | /* Line 690 of lalr1.cc */ |
4105 | -#line 1962 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4106 | +#line 1963 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4107 | { |
4108 | (yyval.node) = new Param(LOC((yyloc)), static_cast<QName*>((yysemantic_stack_[(2) - (2)].expr)), NULL); |
4109 | } |
4110 | @@ -4197,7 +4197,7 @@ |
4111 | case 143: |
4112 | |
4113 | /* Line 690 of lalr1.cc */ |
4114 | -#line 1967 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4115 | +#line 1968 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4116 | { |
4117 | (yyval.node) = new Param(LOC((yyloc)), |
4118 | static_cast<QName*>((yysemantic_stack_[(3) - (2)].expr)), |
4119 | @@ -4208,7 +4208,7 @@ |
4120 | case 144: |
4121 | |
4122 | /* Line 690 of lalr1.cc */ |
4123 | -#line 1977 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4124 | +#line 1978 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4125 | { |
4126 | (yyval.node) = new CollectionDecl( LOC((yyloc)), |
4127 | static_cast<QName*>((yysemantic_stack_[(3) - (3)].expr)), |
4128 | @@ -4222,7 +4222,7 @@ |
4129 | case 145: |
4130 | |
4131 | /* Line 690 of lalr1.cc */ |
4132 | -#line 1986 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4133 | +#line 1987 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4134 | { |
4135 | (yyval.node) = new CollectionDecl( LOC((yyloc)), |
4136 | static_cast<QName*>((yysemantic_stack_[(5) - (3)].expr)), |
4137 | @@ -4236,7 +4236,7 @@ |
4138 | case 146: |
4139 | |
4140 | /* Line 690 of lalr1.cc */ |
4141 | -#line 1995 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4142 | +#line 1996 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4143 | { |
4144 | (yyval.node) = new CollectionDecl( LOC((yyloc)), |
4145 | static_cast<QName*>((yysemantic_stack_[(4) - (4)].expr)), |
4146 | @@ -4250,7 +4250,7 @@ |
4147 | case 147: |
4148 | |
4149 | /* Line 690 of lalr1.cc */ |
4150 | -#line 2004 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4151 | +#line 2005 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4152 | { |
4153 | (yyval.node) = new CollectionDecl( LOC((yyloc)), |
4154 | static_cast<QName*>((yysemantic_stack_[(6) - (4)].expr)), |
4155 | @@ -4264,7 +4264,7 @@ |
4156 | case 148: |
4157 | |
4158 | /* Line 690 of lalr1.cc */ |
4159 | -#line 2016 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4160 | +#line 2017 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4161 | { |
4162 | (yyval.node) = static_cast<parsenode*>(new SequenceType(LOC((yyloc)), (yysemantic_stack_[(1) - (1)].node), NULL)); |
4163 | } |
4164 | @@ -4273,7 +4273,7 @@ |
4165 | case 149: |
4166 | |
4167 | /* Line 690 of lalr1.cc */ |
4168 | -#line 2020 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4169 | +#line 2021 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4170 | { |
4171 | (yyval.node) = static_cast<parsenode*>(new SequenceType(LOC((yyloc)), |
4172 | (yysemantic_stack_[(2) - (1)].node), |
4173 | @@ -4284,7 +4284,7 @@ |
4174 | case 150: |
4175 | |
4176 | /* Line 690 of lalr1.cc */ |
4177 | -#line 2026 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4178 | +#line 2027 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4179 | { |
4180 | (yyval.node) = static_cast<parsenode*>(new SequenceType(LOC((yyloc)), (yysemantic_stack_[(1) - (1)].node), NULL)); |
4181 | } |
4182 | @@ -4293,7 +4293,7 @@ |
4183 | case 151: |
4184 | |
4185 | /* Line 690 of lalr1.cc */ |
4186 | -#line 2030 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4187 | +#line 2031 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4188 | { |
4189 | (yyval.node) = static_cast<parsenode*>(new SequenceType(LOC((yyloc)), |
4190 | (yysemantic_stack_[(2) - (1)].node), |
4191 | @@ -4305,7 +4305,7 @@ |
4192 | case 152: |
4193 | |
4194 | /* Line 690 of lalr1.cc */ |
4195 | -#line 2040 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4196 | +#line 2041 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4197 | { |
4198 | (yyval.node) = new AST_IndexDecl(LOC((yyloc)), |
4199 | static_cast<QName*>((yysemantic_stack_[(8) - (3)].expr)), |
4200 | @@ -4320,7 +4320,7 @@ |
4201 | case 153: |
4202 | |
4203 | /* Line 690 of lalr1.cc */ |
4204 | -#line 2050 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4205 | +#line 2051 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4206 | { |
4207 | (yyval.node) = new AST_IndexDecl(LOC((yyloc)), |
4208 | static_cast<QName*>((yysemantic_stack_[(9) - (4)].expr)), |
4209 | @@ -4335,7 +4335,7 @@ |
4210 | case 154: |
4211 | |
4212 | /* Line 690 of lalr1.cc */ |
4213 | -#line 2063 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4214 | +#line 2064 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4215 | { |
4216 | IndexKeyList* keyList = new IndexKeyList(LOC((yyloc))); |
4217 | keyList->addKeySpec(dynamic_cast<IndexKeySpec*>((yysemantic_stack_[(1) - (1)].node))); |
4218 | @@ -4346,7 +4346,7 @@ |
4219 | case 155: |
4220 | |
4221 | /* Line 690 of lalr1.cc */ |
4222 | -#line 2069 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4223 | +#line 2070 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4224 | { |
4225 | dynamic_cast<IndexKeyList*>((yysemantic_stack_[(3) - (1)].node))->addKeySpec(dynamic_cast<IndexKeySpec*>((yysemantic_stack_[(3) - (3)].node))); |
4226 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); |
4227 | @@ -4356,7 +4356,7 @@ |
4228 | case 156: |
4229 | |
4230 | /* Line 690 of lalr1.cc */ |
4231 | -#line 2078 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4232 | +#line 2079 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4233 | { |
4234 | (yyval.node) = new IndexKeySpec(LOC((yyloc)), (yysemantic_stack_[(1) - (1)].expr), NULL, NULL); |
4235 | } |
4236 | @@ -4365,7 +4365,7 @@ |
4237 | case 157: |
4238 | |
4239 | /* Line 690 of lalr1.cc */ |
4240 | -#line 2083 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4241 | +#line 2084 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4242 | { |
4243 | (yyval.node) = new IndexKeySpec(LOC((yyloc)), |
4244 | (yysemantic_stack_[(2) - (1)].expr), |
4245 | @@ -4377,7 +4377,7 @@ |
4246 | case 158: |
4247 | |
4248 | /* Line 690 of lalr1.cc */ |
4249 | -#line 2090 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4250 | +#line 2091 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4251 | { |
4252 | (yyval.node) = new IndexKeySpec(LOC((yyloc)), |
4253 | (yysemantic_stack_[(2) - (1)].expr), |
4254 | @@ -4389,7 +4389,7 @@ |
4255 | case 159: |
4256 | |
4257 | /* Line 690 of lalr1.cc */ |
4258 | -#line 2097 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4259 | +#line 2098 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4260 | { |
4261 | (yyval.node) = new IndexKeySpec(LOC((yyloc)), |
4262 | (yysemantic_stack_[(3) - (1)].expr), |
4263 | @@ -4401,7 +4401,7 @@ |
4264 | case 160: |
4265 | |
4266 | /* Line 690 of lalr1.cc */ |
4267 | -#line 2109 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4268 | +#line 2110 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4269 | { |
4270 | (yyval.node) = new ICCollSimpleCheck(LOC((yyloc)), |
4271 | static_cast<QName*>((yysemantic_stack_[(11) - (4)].expr)), |
4272 | @@ -4414,7 +4414,7 @@ |
4273 | case 161: |
4274 | |
4275 | /* Line 690 of lalr1.cc */ |
4276 | -#line 2119 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4277 | +#line 2120 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4278 | { |
4279 | (yyval.node) = new ICCollUniqueKeyCheck(LOC((yyloc)), |
4280 | static_cast<QName*>((yysemantic_stack_[(14) - (4)].expr)), |
4281 | @@ -4427,7 +4427,7 @@ |
4282 | case 162: |
4283 | |
4284 | /* Line 690 of lalr1.cc */ |
4285 | -#line 2129 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4286 | +#line 2130 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4287 | { |
4288 | (yyval.node) = new ICCollForeachNode(LOC((yyloc)), |
4289 | static_cast<QName*>((yysemantic_stack_[(13) - (4)].expr)), |
4290 | @@ -4440,7 +4440,7 @@ |
4291 | case 163: |
4292 | |
4293 | /* Line 690 of lalr1.cc */ |
4294 | -#line 2140 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4295 | +#line 2141 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4296 | { |
4297 | (yyval.node) = new ICForeignKey( LOC((yyloc)), |
4298 | static_cast<QName*>((yysemantic_stack_[(22) - (4)].expr)), |
4299 | @@ -4456,7 +4456,7 @@ |
4300 | case 164: |
4301 | |
4302 | /* Line 690 of lalr1.cc */ |
4303 | -#line 2156 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4304 | +#line 2157 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4305 | { |
4306 | if ((yysemantic_stack_[(1) - (1)].expr) == NULL) |
4307 | { |
4308 | @@ -4477,7 +4477,7 @@ |
4309 | case 165: |
4310 | |
4311 | /* Line 690 of lalr1.cc */ |
4312 | -#line 2176 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4313 | +#line 2177 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4314 | { |
4315 | (yyval.expr) = (yysemantic_stack_[(1) - (1)].expr); |
4316 | } |
4317 | @@ -4486,7 +4486,7 @@ |
4318 | case 166: |
4319 | |
4320 | /* Line 690 of lalr1.cc */ |
4321 | -#line 2180 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4322 | +#line 2181 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4323 | { |
4324 | (yyval.expr) = (yysemantic_stack_[(1) - (1)].expr); |
4325 | } |
4326 | @@ -4495,7 +4495,7 @@ |
4327 | case 167: |
4328 | |
4329 | /* Line 690 of lalr1.cc */ |
4330 | -#line 2184 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4331 | +#line 2185 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4332 | { |
4333 | (yyval.expr) = NULL; |
4334 | } |
4335 | @@ -4504,7 +4504,7 @@ |
4336 | case 168: |
4337 | |
4338 | /* Line 690 of lalr1.cc */ |
4339 | -#line 2192 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4340 | +#line 2193 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4341 | { |
4342 | (yyval.expr) = (yysemantic_stack_[(1) - (1)].expr); |
4343 | } |
4344 | @@ -4513,7 +4513,7 @@ |
4345 | case 169: |
4346 | |
4347 | /* Line 690 of lalr1.cc */ |
4348 | -#line 2196 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4349 | +#line 2197 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4350 | { |
4351 | (yyval.expr) = (yysemantic_stack_[(1) - (1)].expr); |
4352 | } |
4353 | @@ -4522,7 +4522,7 @@ |
4354 | case 170: |
4355 | |
4356 | /* Line 690 of lalr1.cc */ |
4357 | -#line 2200 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4358 | +#line 2201 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4359 | { |
4360 | (yyval.expr) = new BlockBody(LOC((yyloc))); |
4361 | } |
4362 | @@ -4531,7 +4531,7 @@ |
4363 | case 171: |
4364 | |
4365 | /* Line 690 of lalr1.cc */ |
4366 | -#line 2208 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4367 | +#line 2209 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4368 | { |
4369 | (yyval.expr) = (yysemantic_stack_[(1) - (1)].expr); |
4370 | } |
4371 | @@ -4540,7 +4540,7 @@ |
4372 | case 172: |
4373 | |
4374 | /* Line 690 of lalr1.cc */ |
4375 | -#line 2213 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4376 | +#line 2214 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4377 | { |
4378 | BlockBody* blk = static_cast<BlockBody*>((yysemantic_stack_[(2) - (1)].expr)); |
4379 | |
4380 | @@ -4553,7 +4553,7 @@ |
4381 | case 173: |
4382 | |
4383 | /* Line 690 of lalr1.cc */ |
4384 | -#line 2225 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4385 | +#line 2226 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4386 | { |
4387 | BlockBody* blk = new BlockBody(LOC((yyloc))); |
4388 | blk->add((yysemantic_stack_[(1) - (1)].expr)); |
4389 | @@ -4564,7 +4564,7 @@ |
4390 | case 174: |
4391 | |
4392 | /* Line 690 of lalr1.cc */ |
4393 | -#line 2232 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4394 | +#line 2233 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4395 | { |
4396 | BlockBody* blk = static_cast<BlockBody*>((yysemantic_stack_[(2) - (1)].expr)); |
4397 | |
4398 | @@ -4577,7 +4577,7 @@ |
4399 | case 175: |
4400 | |
4401 | /* Line 690 of lalr1.cc */ |
4402 | -#line 2242 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4403 | +#line 2243 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4404 | { |
4405 | (yyval.expr) = (yysemantic_stack_[(4) - (1)].expr); // to prevent the Bison warning |
4406 | (yyval.expr) = (yysemantic_stack_[(4) - (2)].expr); // to prevent the Bison warning |
4407 | @@ -4593,7 +4593,7 @@ |
4408 | case 189: |
4409 | |
4410 | /* Line 690 of lalr1.cc */ |
4411 | -#line 2275 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4412 | +#line 2276 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4413 | { |
4414 | (yyval.expr) = (yysemantic_stack_[(3) - (2)].expr); |
4415 | } |
4416 | @@ -4602,14 +4602,9 @@ |
4417 | case 190: |
4418 | |
4419 | /* Line 690 of lalr1.cc */ |
4420 | -#line 2283 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4421 | +#line 2284 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4422 | { |
4423 | - BlockBody* block = dynamic_cast<BlockBody*>((yysemantic_stack_[(3) - (2)].expr)); |
4424 | - if ((yysemantic_stack_[(3) - (2)].expr) == NULL || (block != NULL && block->isEmpty())) |
4425 | - { |
4426 | - (yyval.expr) = new JSONDirectObjectConstructor(LOC((yyloc))); |
4427 | - } |
4428 | - else if (block == NULL) |
4429 | + if (dynamic_cast<BlockBody*>((yysemantic_stack_[(3) - (2)].expr)) == NULL) |
4430 | { |
4431 | BlockBody* blk = new BlockBody(LOC((yyloc))); |
4432 | blk->add((yysemantic_stack_[(3) - (2)].expr)); |
4433 | @@ -4625,7 +4620,7 @@ |
4434 | case 191: |
4435 | |
4436 | /* Line 690 of lalr1.cc */ |
4437 | -#line 2305 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4438 | +#line 2301 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4439 | { |
4440 | (yyval.expr) = (yysemantic_stack_[(3) - (2)].expr); |
4441 | } |
4442 | @@ -4634,7 +4629,7 @@ |
4443 | case 192: |
4444 | |
4445 | /* Line 690 of lalr1.cc */ |
4446 | -#line 2313 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4447 | +#line 2309 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4448 | { |
4449 | (yyval.expr) = (yysemantic_stack_[(2) - (1)].expr); |
4450 | } |
4451 | @@ -4643,7 +4638,7 @@ |
4452 | case 193: |
4453 | |
4454 | /* Line 690 of lalr1.cc */ |
4455 | -#line 2321 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4456 | +#line 2317 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4457 | { |
4458 | VarDeclStmt* vdecl = static_cast<VarDeclStmt*>((yysemantic_stack_[(3) - (1)].expr)); |
4459 | vdecl->add((yysemantic_stack_[(3) - (3)].node)); |
4460 | @@ -4654,7 +4649,7 @@ |
4461 | case 194: |
4462 | |
4463 | /* Line 690 of lalr1.cc */ |
4464 | -#line 2328 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4465 | +#line 2324 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4466 | { |
4467 | VarDeclStmt* vdecl = new VarDeclStmt(LOC((yyloc)), NULL); |
4468 | vdecl->add((yysemantic_stack_[(2) - (2)].node)); |
4469 | @@ -4665,7 +4660,7 @@ |
4470 | case 195: |
4471 | |
4472 | /* Line 690 of lalr1.cc */ |
4473 | -#line 2335 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4474 | +#line 2331 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4475 | { |
4476 | VarDeclStmt* vdecl = new VarDeclStmt(LOC((yyloc)), |
4477 | static_cast<AnnotationListParsenode*>((yysemantic_stack_[(3) - (1)].node))); |
4478 | @@ -4677,7 +4672,7 @@ |
4479 | case 196: |
4480 | |
4481 | /* Line 690 of lalr1.cc */ |
4482 | -#line 2346 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4483 | +#line 2342 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4484 | { |
4485 | LocalVarDecl* vd = new LocalVarDecl(LOC((yyloc)), |
4486 | static_cast<QName*>((yysemantic_stack_[(2) - (2)].expr)), |
4487 | @@ -4691,7 +4686,7 @@ |
4488 | case 197: |
4489 | |
4490 | /* Line 690 of lalr1.cc */ |
4491 | -#line 2355 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4492 | +#line 2351 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4493 | { |
4494 | LocalVarDecl* vd = new LocalVarDecl(LOC((yyloc)), |
4495 | static_cast<QName*>((yysemantic_stack_[(3) - (2)].expr)), |
4496 | @@ -4705,7 +4700,7 @@ |
4497 | case 198: |
4498 | |
4499 | /* Line 690 of lalr1.cc */ |
4500 | -#line 2364 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4501 | +#line 2360 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4502 | { |
4503 | LocalVarDecl* vd = new LocalVarDecl(LOC((yyloc)), |
4504 | static_cast<QName*>((yysemantic_stack_[(4) - (2)].expr)), |
4505 | @@ -4719,7 +4714,7 @@ |
4506 | case 199: |
4507 | |
4508 | /* Line 690 of lalr1.cc */ |
4509 | -#line 2373 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4510 | +#line 2369 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4511 | { |
4512 | LocalVarDecl* vd = new LocalVarDecl(LOC((yyloc)), |
4513 | static_cast<QName*>((yysemantic_stack_[(5) - (2)].expr)), |
4514 | @@ -4733,7 +4728,7 @@ |
4515 | case 200: |
4516 | |
4517 | /* Line 690 of lalr1.cc */ |
4518 | -#line 2386 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4519 | +#line 2382 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4520 | { |
4521 | (yyval.expr) = new AssignExpr(LOC((yyloc)), static_cast<QName*>((yysemantic_stack_[(5) - (2)].expr)), (yysemantic_stack_[(5) - (4)].expr)); |
4522 | } |
4523 | @@ -4742,7 +4737,7 @@ |
4524 | case 201: |
4525 | |
4526 | /* Line 690 of lalr1.cc */ |
4527 | -#line 2394 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4528 | +#line 2390 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4529 | { |
4530 | (yyval.expr) = new ApplyExpr(LOC((yyloc)), (yysemantic_stack_[(2) - (1)].expr)); |
4531 | } |
4532 | @@ -4751,7 +4746,7 @@ |
4533 | case 202: |
4534 | |
4535 | /* Line 690 of lalr1.cc */ |
4536 | -#line 2402 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4537 | +#line 2398 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4538 | { |
4539 | (yyval.expr) = new ExitExpr(LOC((yyloc)), (yysemantic_stack_[(4) - (3)].expr)); |
4540 | } |
4541 | @@ -4760,7 +4755,7 @@ |
4542 | case 203: |
4543 | |
4544 | /* Line 690 of lalr1.cc */ |
4545 | -#line 2410 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4546 | +#line 2406 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4547 | { |
4548 | BlockBody* bb = dynamic_cast<BlockBody *>((yysemantic_stack_[(5) - (5)].expr)); |
4549 | if (bb == NULL) |
4550 | @@ -4776,7 +4771,7 @@ |
4551 | case 204: |
4552 | |
4553 | /* Line 690 of lalr1.cc */ |
4554 | -#line 2425 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4555 | +#line 2421 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4556 | { |
4557 | (yyval.expr) = new FlowCtlStatement(LOC((yyloc)), FlowCtlStatement::BREAK); |
4558 | } |
4559 | @@ -4785,7 +4780,7 @@ |
4560 | case 205: |
4561 | |
4562 | /* Line 690 of lalr1.cc */ |
4563 | -#line 2430 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4564 | +#line 2426 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4565 | { |
4566 | (yyval.expr) = new FlowCtlStatement( LOC((yyloc)), FlowCtlStatement::CONTINUE ); |
4567 | } |
4568 | @@ -4794,7 +4789,7 @@ |
4569 | case 206: |
4570 | |
4571 | /* Line 690 of lalr1.cc */ |
4572 | -#line 2438 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4573 | +#line 2434 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4574 | { |
4575 | ReturnExpr* re = dynamic_cast<ReturnExpr*>((yysemantic_stack_[(2) - (2)].expr)); |
4576 | (yyval.expr) = new FLWORExpr(LOC((yyloc)), |
4577 | @@ -4809,7 +4804,7 @@ |
4578 | case 207: |
4579 | |
4580 | /* Line 690 of lalr1.cc */ |
4581 | -#line 2452 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4582 | +#line 2448 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4583 | { |
4584 | exprnode* retExpr = (yysemantic_stack_[(2) - (2)].expr); |
4585 | |
4586 | @@ -4827,7 +4822,7 @@ |
4587 | case 208: |
4588 | |
4589 | /* Line 690 of lalr1.cc */ |
4590 | -#line 2469 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4591 | +#line 2465 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4592 | { |
4593 | exprnode* thenExpr = (yysemantic_stack_[(8) - (6)].expr); |
4594 | exprnode* elseExpr = (yysemantic_stack_[(8) - (8)].expr); |
4595 | @@ -4853,7 +4848,7 @@ |
4596 | case 209: |
4597 | |
4598 | /* Line 690 of lalr1.cc */ |
4599 | -#line 2494 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4600 | +#line 2490 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4601 | { |
4602 | (yyval.expr) = new TryExpr(LOC((yyloc)), (yysemantic_stack_[(3) - (2)].expr), (yysemantic_stack_[(3) - (3)].expr)); |
4603 | } |
4604 | @@ -4862,7 +4857,7 @@ |
4605 | case 210: |
4606 | |
4607 | /* Line 690 of lalr1.cc */ |
4608 | -#line 2502 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4609 | +#line 2498 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4610 | { |
4611 | CatchListExpr* cle = new CatchListExpr( LOC((yyloc)) ); |
4612 | cle->push_back( static_cast<CatchExpr*>((yysemantic_stack_[(1) - (1)].expr)) ); |
4613 | @@ -4873,7 +4868,7 @@ |
4614 | case 211: |
4615 | |
4616 | /* Line 690 of lalr1.cc */ |
4617 | -#line 2509 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4618 | +#line 2505 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4619 | { |
4620 | CatchListExpr *cle = dynamic_cast<CatchListExpr*>((yysemantic_stack_[(2) - (1)].expr)); |
4621 | if ( cle ) |
4622 | @@ -4885,7 +4880,7 @@ |
4623 | case 212: |
4624 | |
4625 | /* Line 690 of lalr1.cc */ |
4626 | -#line 2520 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4627 | +#line 2516 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4628 | { |
4629 | (yyval.expr) = new CatchExpr(LOC((yyloc)), *(yysemantic_stack_[(3) - (2)].name_test_list), (yysemantic_stack_[(3) - (3)].expr)); |
4630 | delete (yysemantic_stack_[(3) - (2)].name_test_list); |
4631 | @@ -4895,7 +4890,7 @@ |
4632 | case 213: |
4633 | |
4634 | /* Line 690 of lalr1.cc */ |
4635 | -#line 2529 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4636 | +#line 2525 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4637 | { |
4638 | (yyval.expr) = new BlockBody(LOC((yyloc))); |
4639 | } |
4640 | @@ -4904,7 +4899,7 @@ |
4641 | case 214: |
4642 | |
4643 | /* Line 690 of lalr1.cc */ |
4644 | -#line 2536 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4645 | +#line 2532 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4646 | { |
4647 | (yyval.expr) = (yysemantic_stack_[(1) - (1)].expr); |
4648 | } |
4649 | @@ -4913,7 +4908,7 @@ |
4650 | case 215: |
4651 | |
4652 | /* Line 690 of lalr1.cc */ |
4653 | -#line 2541 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4654 | +#line 2537 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4655 | { |
4656 | Expr* expr = dynamic_cast<Expr*>((yysemantic_stack_[(3) - (1)].expr)); |
4657 | if ( !expr ) |
4658 | @@ -4929,7 +4924,7 @@ |
4659 | case 216: |
4660 | |
4661 | /* Line 690 of lalr1.cc */ |
4662 | -#line 2554 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4663 | +#line 2550 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4664 | { |
4665 | (yyval.expr) = (yysemantic_stack_[(3) - (1)].expr); // to prevent the Bison warning |
4666 | (yyval.expr) = (yysemantic_stack_[(3) - (3)].expr); // to prevent the Bison warning |
4667 | @@ -4947,7 +4942,7 @@ |
4668 | case 235: |
4669 | |
4670 | /* Line 690 of lalr1.cc */ |
4671 | -#line 2601 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4672 | +#line 2597 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4673 | { |
4674 | ReturnExpr *re = dynamic_cast<ReturnExpr*>((yysemantic_stack_[(2) - (2)].expr)); |
4675 | (yyval.expr) = new FLWORExpr(LOC((yyloc)), |
4676 | @@ -4962,7 +4957,7 @@ |
4677 | case 236: |
4678 | |
4679 | /* Line 690 of lalr1.cc */ |
4680 | -#line 2615 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4681 | +#line 2611 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4682 | { |
4683 | (yyval.expr) = new ReturnExpr( LOC((yyloc)), (yysemantic_stack_[(2) - (2)].expr) ); |
4684 | } |
4685 | @@ -4971,7 +4966,7 @@ |
4686 | case 237: |
4687 | |
4688 | /* Line 690 of lalr1.cc */ |
4689 | -#line 2623 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4690 | +#line 2619 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4691 | { |
4692 | (yyval.strval) = parser::the_sliding; |
4693 | } |
4694 | @@ -4980,7 +4975,7 @@ |
4695 | case 238: |
4696 | |
4697 | /* Line 690 of lalr1.cc */ |
4698 | -#line 2628 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4699 | +#line 2624 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4700 | { |
4701 | (yyval.strval) = parser::the_tumbling; |
4702 | } |
4703 | @@ -4989,7 +4984,7 @@ |
4704 | case 239: |
4705 | |
4706 | /* Line 690 of lalr1.cc */ |
4707 | -#line 2636 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4708 | +#line 2632 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4709 | { |
4710 | (yyval.strval) = parser::the_start; |
4711 | } |
4712 | @@ -4998,7 +4993,7 @@ |
4713 | case 240: |
4714 | |
4715 | /* Line 690 of lalr1.cc */ |
4716 | -#line 2641 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4717 | +#line 2637 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4718 | { |
4719 | (yyval.strval) = parser::the_end; |
4720 | } |
4721 | @@ -5007,7 +5002,7 @@ |
4722 | case 241: |
4723 | |
4724 | /* Line 690 of lalr1.cc */ |
4725 | -#line 2646 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4726 | +#line 2642 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4727 | { |
4728 | (yyval.strval) = parser::the_only_end; |
4729 | } |
4730 | @@ -5016,7 +5011,7 @@ |
4731 | case 242: |
4732 | |
4733 | /* Line 690 of lalr1.cc */ |
4734 | -#line 2654 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4735 | +#line 2650 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4736 | { |
4737 | (yyval.node) = new FLWORWinCond(LOC((yyloc)), |
4738 | dynamic_cast<WindowVars*>((yysemantic_stack_[(4) - (2)].node)), |
4739 | @@ -5029,7 +5024,7 @@ |
4740 | case 243: |
4741 | |
4742 | /* Line 690 of lalr1.cc */ |
4743 | -#line 2663 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4744 | +#line 2659 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4745 | { |
4746 | (yyval.node) = new FLWORWinCond(LOC((yyloc)), |
4747 | NULL, |
4748 | @@ -5042,7 +5037,7 @@ |
4749 | case 244: |
4750 | |
4751 | /* Line 690 of lalr1.cc */ |
4752 | -#line 2675 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4753 | +#line 2671 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4754 | { |
4755 | (yyval.node) = new WindowClause (LOC ((yyloc)), |
4756 | ((yysemantic_stack_[(5) - (2)].strval) == parser::the_tumbling ? |
4757 | @@ -5057,7 +5052,7 @@ |
4758 | case 245: |
4759 | |
4760 | /* Line 690 of lalr1.cc */ |
4761 | -#line 2685 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4762 | +#line 2681 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4763 | { |
4764 | (yyval.node) = new WindowClause (LOC ((yyloc)), |
4765 | ((yysemantic_stack_[(4) - (2)].strval) == parser::the_tumbling ? |
4766 | @@ -5071,7 +5066,7 @@ |
4767 | case 246: |
4768 | |
4769 | /* Line 690 of lalr1.cc */ |
4770 | -#line 2698 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4771 | +#line 2694 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4772 | { |
4773 | (yyval.node) = new CountClause(LOC((yyloc)), static_cast<QName*>((yysemantic_stack_[(3) - (3)].expr))); |
4774 | } |
4775 | @@ -5080,7 +5075,7 @@ |
4776 | case 255: |
4777 | |
4778 | /* Line 690 of lalr1.cc */ |
4779 | -#line 2722 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4780 | +#line 2718 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4781 | { |
4782 | FLWORClauseList *fcl = new FLWORClauseList( LOC((yyloc)) ); |
4783 | fcl->push_back( dynamic_cast<FLWORClause*>((yysemantic_stack_[(1) - (1)].node)) ); |
4784 | @@ -5091,7 +5086,7 @@ |
4785 | case 256: |
4786 | |
4787 | /* Line 690 of lalr1.cc */ |
4788 | -#line 2729 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4789 | +#line 2725 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4790 | { |
4791 | FLWORClauseList *fcl = dynamic_cast<FLWORClauseList*>((yysemantic_stack_[(2) - (1)].node)); |
4792 | fcl->push_back( dynamic_cast<FLWORClause*>((yysemantic_stack_[(2) - (2)].node)) ); |
4793 | @@ -5102,7 +5097,7 @@ |
4794 | case 257: |
4795 | |
4796 | /* Line 690 of lalr1.cc */ |
4797 | -#line 2739 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4798 | +#line 2735 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4799 | { |
4800 | (yyval.node) = new ForClause(LOC((yyloc)), dynamic_cast<VarInDeclList*>((yysemantic_stack_[(3) - (3)].node))); |
4801 | } |
4802 | @@ -5111,7 +5106,7 @@ |
4803 | case 258: |
4804 | |
4805 | /* Line 690 of lalr1.cc */ |
4806 | -#line 2745 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4807 | +#line 2741 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4808 | { |
4809 | (yyval.node) = (yysemantic_stack_[(3) - (3)].node); // to prevent the Bison warning |
4810 | error((yylocation_stack_[(3) - (2)]), "syntax error, unexpected qualified name \"" |
4811 | @@ -5124,7 +5119,7 @@ |
4812 | case 259: |
4813 | |
4814 | /* Line 690 of lalr1.cc */ |
4815 | -#line 2754 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4816 | +#line 2750 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4817 | { |
4818 | (yyval.node) = NULL; // to prevent the Bison warning |
4819 | error((yylocation_stack_[(2) - (2)]), ""); // the error message is already set in the driver's parseError member |
4820 | @@ -5135,7 +5130,7 @@ |
4821 | case 261: |
4822 | |
4823 | /* Line 690 of lalr1.cc */ |
4824 | -#line 2764 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4825 | +#line 2760 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4826 | { |
4827 | // this adds on shift-reduce conflict (probably with FTRange expression) |
4828 | } |
4829 | @@ -5144,7 +5139,7 @@ |
4830 | case 262: |
4831 | |
4832 | /* Line 690 of lalr1.cc */ |
4833 | -#line 2772 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4834 | +#line 2768 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4835 | { |
4836 | VarInDeclList* vdl = new VarInDeclList( LOC((yyloc)) ); |
4837 | vdl->push_back( dynamic_cast<VarInDecl*>((yysemantic_stack_[(1) - (1)].node)) ); |
4838 | @@ -5155,7 +5150,7 @@ |
4839 | case 263: |
4840 | |
4841 | /* Line 690 of lalr1.cc */ |
4842 | -#line 2779 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4843 | +#line 2775 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4844 | { |
4845 | if ( VarInDeclList* vdl = dynamic_cast<VarInDeclList*>((yysemantic_stack_[(4) - (1)].node)) ) |
4846 | vdl->push_back( dynamic_cast<VarInDecl*>((yysemantic_stack_[(4) - (4)].node)) ); |
4847 | @@ -5166,7 +5161,7 @@ |
4848 | case 264: |
4849 | |
4850 | /* Line 690 of lalr1.cc */ |
4851 | -#line 2787 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4852 | +#line 2783 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4853 | { |
4854 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); // to prevent the Bison warning |
4855 | error((yylocation_stack_[(3) - (3)]), "syntax error, unexpected QName \"" |
4856 | @@ -5179,7 +5174,7 @@ |
4857 | case 265: |
4858 | |
4859 | /* Line 690 of lalr1.cc */ |
4860 | -#line 2799 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4861 | +#line 2795 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4862 | { |
4863 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4864 | static_cast<QName*>((yysemantic_stack_[(3) - (1)].expr)), |
4865 | @@ -5194,7 +5189,7 @@ |
4866 | case 266: |
4867 | |
4868 | /* Line 690 of lalr1.cc */ |
4869 | -#line 2809 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4870 | +#line 2805 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4871 | { |
4872 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4873 | static_cast<QName*>((yysemantic_stack_[(5) - (1)].expr)), |
4874 | @@ -5209,7 +5204,7 @@ |
4875 | case 267: |
4876 | |
4877 | /* Line 690 of lalr1.cc */ |
4878 | -#line 2819 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4879 | +#line 2815 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4880 | { |
4881 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4882 | static_cast<QName*>((yysemantic_stack_[(4) - (1)].expr)), |
4883 | @@ -5224,7 +5219,7 @@ |
4884 | case 268: |
4885 | |
4886 | /* Line 690 of lalr1.cc */ |
4887 | -#line 2829 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4888 | +#line 2825 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4889 | { |
4890 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4891 | static_cast<QName*>((yysemantic_stack_[(6) - (1)].expr)), |
4892 | @@ -5239,7 +5234,7 @@ |
4893 | case 269: |
4894 | |
4895 | /* Line 690 of lalr1.cc */ |
4896 | -#line 2839 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4897 | +#line 2835 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4898 | { |
4899 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4900 | static_cast<QName*>((yysemantic_stack_[(4) - (1)].expr)), |
4901 | @@ -5254,7 +5249,7 @@ |
4902 | case 270: |
4903 | |
4904 | /* Line 690 of lalr1.cc */ |
4905 | -#line 2849 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4906 | +#line 2845 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4907 | { |
4908 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4909 | static_cast<QName*>((yysemantic_stack_[(6) - (1)].expr)), |
4910 | @@ -5269,7 +5264,7 @@ |
4911 | case 271: |
4912 | |
4913 | /* Line 690 of lalr1.cc */ |
4914 | -#line 2859 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4915 | +#line 2855 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4916 | { |
4917 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4918 | static_cast<QName*>((yysemantic_stack_[(5) - (1)].expr)), |
4919 | @@ -5284,7 +5279,7 @@ |
4920 | case 272: |
4921 | |
4922 | /* Line 690 of lalr1.cc */ |
4923 | -#line 2869 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4924 | +#line 2865 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4925 | { |
4926 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4927 | static_cast<QName*>((yysemantic_stack_[(7) - (1)].expr)), |
4928 | @@ -5299,7 +5294,7 @@ |
4929 | case 273: |
4930 | |
4931 | /* Line 690 of lalr1.cc */ |
4932 | -#line 2880 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4933 | +#line 2876 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4934 | { |
4935 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4936 | static_cast<QName*>((yysemantic_stack_[(4) - (1)].expr)), |
4937 | @@ -5313,7 +5308,7 @@ |
4938 | case 274: |
4939 | |
4940 | /* Line 690 of lalr1.cc */ |
4941 | -#line 2889 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4942 | +#line 2885 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4943 | { |
4944 | (yyval.node) = new VarInDecl(LOC((yyloc)), |
4945 | static_cast<QName*>((yysemantic_stack_[(5) - (1)].expr)), |
4946 | @@ -5328,7 +5323,7 @@ |
4947 | case 275: |
4948 | |
4949 | /* Line 690 of lalr1.cc */ |
4950 | -#line 2899 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4951 | +#line 2895 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4952 | { |
4953 | (yyval.node) = new VarInDecl(LOC ((yyloc)), |
4954 | static_cast<QName*>((yysemantic_stack_[(5) - (1)].expr)), |
4955 | @@ -5343,7 +5338,7 @@ |
4956 | case 276: |
4957 | |
4958 | /* Line 690 of lalr1.cc */ |
4959 | -#line 2909 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4960 | +#line 2905 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4961 | { |
4962 | (yyval.node) = new VarInDecl(LOC ((yyloc)), |
4963 | static_cast<QName*>((yysemantic_stack_[(6) - (1)].expr)), |
4964 | @@ -5358,7 +5353,7 @@ |
4965 | case 277: |
4966 | |
4967 | /* Line 690 of lalr1.cc */ |
4968 | -#line 2925 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4969 | +#line 2921 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4970 | { |
4971 | (yyval.node) = new PositionalVar(LOC((yyloc)), static_cast<QName*>((yysemantic_stack_[(3) - (3)].expr))); |
4972 | } |
4973 | @@ -5367,7 +5362,7 @@ |
4974 | case 278: |
4975 | |
4976 | /* Line 690 of lalr1.cc */ |
4977 | -#line 2934 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4978 | +#line 2930 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4979 | { |
4980 | (yyval.node) = new FTScoreVar(LOC((yyloc)), static_cast<QName*>((yysemantic_stack_[(3) - (3)].expr))); |
4981 | } |
4982 | @@ -5376,7 +5371,7 @@ |
4983 | case 279: |
4984 | |
4985 | /* Line 690 of lalr1.cc */ |
4986 | -#line 2943 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4987 | +#line 2939 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4988 | { |
4989 | (yyval.node) = new LetClause( LOC((yyloc)), dynamic_cast<VarGetsDeclList*>((yysemantic_stack_[(2) - (2)].node)) ); |
4990 | } |
4991 | @@ -5385,7 +5380,7 @@ |
4992 | case 280: |
4993 | |
4994 | /* Line 690 of lalr1.cc */ |
4995 | -#line 2951 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4996 | +#line 2947 "/home/mbrantner/zorba/sandbox/src/compiler/parser/jsoniq_parser.y" |
4997 | { |
4998 | VarGetsDeclList *vgdl = new VarGetsDeclList( LOC((yyloc)) ); |
4999 | vgdl->push_back( dynamic_cast<VarGetsDecl*>((yysemantic_stack_[(1) - (1)].node)) ); |
5000 | @@ -5396,7 +5391,7 @@ |
Attempt to merge into lp:zorba failed due to conflicts:
missing parent in src/runtime/ function_ item function_ item function_ item/dynamic_ fncall_ iterator. cpp
unversioned parent in src/runtime/
contents conflict in src/runtime/