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