Status: | Superseded | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Proposed branch: | lp:~nbrinza/zorba/hof | ||||||||||||
Merge into: | lp:zorba | ||||||||||||
Diff against target: |
37622 lines (+13008/-9485) 189 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 (+4/-1) src/compiler/api/compilercb.cpp (+5/-0) src/compiler/codegen/plan_visitor.cpp (+252/-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 (+27/-12) src/compiler/expression/expr_manager.h (+18/-7) src/compiler/expression/expr_put.cpp (+62/-11) src/compiler/expression/expr_type.cpp (+10/-1) src/compiler/expression/expr_visitor.h (+6/-5) src/compiler/expression/function_item_expr.cpp (+79/-40) src/compiler/expression/function_item_expr.h (+77/-32) src/compiler/expression/var_expr.cpp (+2/-1) src/compiler/expression/var_expr.h (+2/-0) src/compiler/parser/xquery_parser.cpp (+7005/-6829) src/compiler/parser/xquery_parser.hpp (+18/-59) src/compiler/parser/xquery_parser.y (+32/-8) src/compiler/parser/xquery_scanner.cpp (+360/-360) 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 (+15/-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/hoist_rules.cpp (+1/-0) 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 (+1492/-854) src/compiler/translator/translator.h (+15/-0) src/context/dynamic_context.cpp (+35/-0) src/context/dynamic_context.h (+8/-0) src/context/root_static_context.cpp (+1/-1) src/context/static_context.cpp (+47/-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 (+216/-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 (+26/-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 (+53/-1) src/runtime/base/plan_iterator.h (+39/-14) src/runtime/core/constructors.cpp (+14/-2) src/runtime/core/flwor_iterator.h (+50/-50) src/runtime/core/fncall_iterator.cpp (+38/-4) src/runtime/core/fncall_iterator.h (+24/-17) src/runtime/core/sequencetypes.cpp (+1/-1) src/runtime/core/var_iterators.cpp (+33/-1) src/runtime/core/var_iterators.h (+27/-27) src/runtime/function_item/dynamic_fncall_iterator.cpp (+114/-64) src/runtime/function_item/dynamic_fncall_iterator.h (+56/-14) src/runtime/function_item/function_item.cpp (+557/-86) src/runtime/function_item/function_item.h (+132/-29) src/runtime/function_item/function_item_iter_impl.cpp (+363/-29) 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.h (+1/-1) 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 (+4/-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 (+36/-22) src/store/api/iterator.h (+5/-0) src/store/api/temp_seq.h (+5/-0) src/store/naive/atomic_items.cpp (+7/-0) src/store/naive/atomic_items.h (+18/-4) 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 (+5/-0) src/store/naive/simple_temp_seq.cpp (+48/-0) src/store/naive/simple_temp_seq.h (+12/-1) src/system/zorba_properties.h (+8/-1) src/system/zorba_properties.txt (+1/-0) src/types/typeimpl.cpp (+4/-3) src/types/typeimpl.h (+1/-1) src/types/typemanagerimpl.cpp (+14/-3) src/types/typeops.cpp (+1/-2) src/zorbaserialization/archiver_consts.h (+18/-15) src/zorbaserialization/class_serializer.h (+64/-31) src/zorbaserialization/serialize_template_types.h (+4/-0) test/apitest.cpp (+59/-4) test/fots/CMakeLists.txt (+13/-5) test/rbkt/ExpCompilerResults/IterPlan/zorba/collections/count_w3c_collection.iter (+1/-1) test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/gflwor_04.iter (+1/-1) test/rbkt/ExpCompilerResults/IterPlan/zorba/index/match_veq_06.iter (+1/-1) test/rbkt/ExpCompilerResults/IterPlan/zorba/misc/inline_var1.iter (+1/-1) test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide-c.iter (+4/-4) test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide-nc.iter (+4/-4) test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide2-c.iter (+4/-4) test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/dataguide2-nc.iter (+4/-4) test/rbkt/ExpCompilerResults/IterPlan/zorba/no-copy/udfs1.iter (+3/-3) test/rbkt/ExpCompilerResults/IterPlan/zorba/optim/hoist01.iter (+1/-1) test/rbkt/ExpCompilerResults/IterPlan/zorba/udf/udf-fib-rec2.iter (+3/-3) test/rbkt/ExpCompilerResults/IterPlan/zorba/udf/udf-recursive-1.iter (+6/-6) test/rbkt/ExpCompilerResults/IterPlan/zorba/udf/udf-recursive-2.iter (+3/-3) test/rbkt/ExpCompilerResults/IterPlan/zorba/udf/udf1.iter (+1/-1) test/rbkt/ExpCompilerResults/IterPlan/zorba/xray/ppm_10.iter (+22/-22) 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/ExpQueryResults/zorba/introspection/introsp-fn-7.xml.res (+1/-1) test/rbkt/Queries/CMakeLists.txt (+17/-2) test/rbkt/Queries/w3c_known_failures.txt (+4/-0) test/rbkt/Queries/w3c_known_failures_XQueryX.txt (+4/-0) 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+151650@code.launchpad.net |
This proposal supersedes a proposal from 2013-03-04.
Commit message
Implementation of higher order functions.
Description of the change
Implementation of higher order functions.
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal | # |
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal | # |
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-2013-
status was:
No tests were run - build or configure step must have failed.
Not commiting changes.
Error in read script: /home/ceej/
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal | # |
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-2013-
status was:
1 tests did not succeed - changes not commited.
Error in read script: /home/ceej/
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue job hof-2013-
All tests succeeded!
Zorba Build Bot (zorba-buildbot) wrote : | # |
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 1 Pending.
- 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 2013-02-26 04:12:43 +0000 | |||
3 | +++ include/zorba/pregenerated/diagnostic_list.h 2013-03-05 00:47:22 +0000 | |||
4 | @@ -64,6 +64,8 @@ | |||
5 | 64 | 64 | ||
6 | 65 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XQTY0086; | 65 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XQTY0086; |
7 | 66 | 66 | ||
8 | 67 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XQTY0105; | ||
9 | 68 | |||
10 | 67 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XQST0009; | 69 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XQST0009; |
11 | 68 | 70 | ||
12 | 69 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XQST0012; | 71 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XQST0012; |
13 | @@ -300,6 +302,8 @@ | |||
14 | 300 | 302 | ||
15 | 301 | extern ZORBA_DLL_PUBLIC XQueryErrorCode FOUT1190; | 303 | extern ZORBA_DLL_PUBLIC XQueryErrorCode FOUT1190; |
16 | 302 | 304 | ||
17 | 305 | extern ZORBA_DLL_PUBLIC XQueryErrorCode FOFL0001; | ||
18 | 306 | |||
19 | 303 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XUST0001; | 307 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XUST0001; |
20 | 304 | 308 | ||
21 | 305 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XUST0002; | 309 | extern ZORBA_DLL_PUBLIC XQueryErrorCode XUST0002; |
22 | 306 | 310 | ||
23 | === modified file 'modules/w3c/pregenerated/xqt-errors.xq' | |||
24 | --- modules/w3c/pregenerated/xqt-errors.xq 2013-02-26 04:12:43 +0000 | |||
25 | +++ modules/w3c/pregenerated/xqt-errors.xq 2013-03-05 00:47:22 +0000 | |||
26 | @@ -203,6 +203,14 @@ | |||
27 | 203 | 203 | ||
28 | 204 | (:~ | 204 | (:~ |
29 | 205 | : | 205 | : |
30 | 206 | : It is a type error if the content sequence in an element constructor contains a function item. | ||
31 | 207 | : | ||
32 | 208 | : @see http://www.w3.org/2005/xqt-errors | ||
33 | 209 | :) | ||
34 | 210 | declare variable $err:XQTY0105 as xs:QName := fn:QName($err:NS, "err:XQTY0105"); | ||
35 | 211 | |||
36 | 212 | (:~ | ||
37 | 213 | : | ||
38 | 206 | : An implementation that does not support the Schema Import Feature must | 214 | : An implementation that does not support the Schema Import Feature must |
39 | 207 | : raise a static error if a Prolog contains a schema import. | 215 | : raise a static error if a Prolog contains a schema import. |
40 | 208 | : | 216 | : |
41 | @@ -1303,6 +1311,14 @@ | |||
42 | 1303 | 1311 | ||
43 | 1304 | (:~ | 1312 | (:~ |
44 | 1305 | : | 1313 | : |
45 | 1314 | : This error is raised if the fn:function-lookup returns a context-dependent function and the context-dependent function is then called. | ||
46 | 1315 | : | ||
47 | 1316 | : @see http://www.w3.org/2005/xqt-errors | ||
48 | 1317 | :) | ||
49 | 1318 | declare variable $err:FOFL0001 as xs:QName := fn:QName($err:NS, "err:FOFL0001"); | ||
50 | 1319 | |||
51 | 1320 | (:~ | ||
52 | 1321 | : | ||
53 | 1306 | : It is a static error if an updating expression is used in any position | 1322 | : It is a static error if an updating expression is used in any position |
54 | 1307 | : other than one of the following: | 1323 | : other than one of the following: |
55 | 1308 | : - The topmost expression in the body of a query. | 1324 | : - The topmost expression in the body of a query. |
56 | 1309 | 1325 | ||
57 | === modified file 'src/api/serialization/serializer.cpp' | |||
58 | --- src/api/serialization/serializer.cpp 2013-02-26 04:12:43 +0000 | |||
59 | +++ src/api/serialization/serializer.cpp 2013-03-05 00:47:22 +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 2013-02-07 17:24:36 +0000 | |||
75 | +++ src/compiler/api/compiler_api.cpp 2013-03-05 00:47:22 +0000 | |||
76 | @@ -273,6 +273,9 @@ | |||
77 | 273 | lTimer); | 273 | lTimer); |
78 | 274 | 274 | ||
79 | 275 | rootExpr = optimize(rootExpr); | 275 | rootExpr = optimize(rootExpr); |
80 | 276 | |||
81 | 277 | // TODO: remove debug message | ||
82 | 278 | // std::cerr << "==========================================\nOptimizations finished" << std::endl; | ||
83 | 276 | } | 279 | } |
84 | 277 | 280 | ||
85 | 278 | #if 0 | 281 | #if 0 |
86 | @@ -355,7 +358,7 @@ | |||
87 | 355 | // are actually non-deterministic and mark them as such. This has to be done | 358 | // are actually non-deterministic and mark them as such. This has to be done |
88 | 356 | // before optimization. | 359 | // before optimization. |
89 | 357 | udfGraph.inferDeterminism(); | 360 | udfGraph.inferDeterminism(); |
91 | 358 | 361 | ||
92 | 359 | if (theCompilerCB->theConfig.opt_level <= CompilerCB::config::O0) | 362 | if (theCompilerCB->theConfig.opt_level <= CompilerCB::config::O0) |
93 | 360 | { | 363 | { |
94 | 361 | theCompilerCB->setPhase(CompilerCB::NONE); | 364 | theCompilerCB->setPhase(CompilerCB::NONE); |
95 | 362 | 365 | ||
96 | === modified file 'src/compiler/api/compilercb.cpp' | |||
97 | --- src/compiler/api/compilercb.cpp 2013-02-07 17:24:36 +0000 | |||
98 | +++ src/compiler/api/compilercb.cpp 2013-03-05 00:47:22 +0000 | |||
99 | @@ -127,6 +127,8 @@ | |||
100 | 127 | { | 127 | { |
101 | 128 | if (timeout >= 0) | 128 | if (timeout >= 0) |
102 | 129 | theHaveTimeout = true; | 129 | theHaveTimeout = true; |
103 | 130 | |||
104 | 131 | // std::cerr << "--> created CompilerCB: " << this << std::endl; | ||
105 | 130 | } | 132 | } |
106 | 131 | 133 | ||
107 | 132 | 134 | ||
108 | @@ -155,6 +157,7 @@ | |||
109 | 155 | theConfig(cb.theConfig), | 157 | theConfig(cb.theConfig), |
110 | 156 | theEM(new ExprManager(this)) | 158 | theEM(new ExprManager(this)) |
111 | 157 | { | 159 | { |
112 | 160 | // std::cerr << "--> created CompilerCB: " << this << std::endl; | ||
113 | 158 | } | 161 | } |
114 | 159 | 162 | ||
115 | 160 | 163 | ||
116 | @@ -185,6 +188,8 @@ | |||
117 | 185 | { | 188 | { |
118 | 186 | delete theEM; | 189 | delete theEM; |
119 | 187 | theSctxMap.clear(); | 190 | theSctxMap.clear(); |
120 | 191 | |||
121 | 192 | // std::cerr << "--> deleted ~CompilerCB: " << this << std::endl; | ||
122 | 188 | } | 193 | } |
123 | 189 | 194 | ||
124 | 190 | 195 | ||
125 | 191 | 196 | ||
126 | === modified file 'src/compiler/codegen/plan_visitor.cpp' | |||
127 | --- src/compiler/codegen/plan_visitor.cpp 2013-02-26 04:12:43 +0000 | |||
128 | +++ src/compiler/codegen/plan_visitor.cpp 2013-03-05 00:47:22 +0000 | |||
129 | @@ -466,29 +466,185 @@ | |||
130 | 466 | void end_visit(function_item_expr& v) | 466 | void end_visit(function_item_expr& v) |
131 | 467 | { | 467 | { |
132 | 468 | CODEGEN_TRACE_OUT(""); | 468 | CODEGEN_TRACE_OUT(""); |
139 | 469 | store::Item_t lQName = v.get_qname(); | 469 | |
140 | 470 | store::Item_t lFItem; | 470 | // std::cerr << "--> plan_visitor() end_visit of function_item_expr" << std::endl; |
141 | 471 | 471 | ||
142 | 472 | bool isInline = (lQName == 0); | 472 | DynamicFunctionInfo* fnInfo = v.get_dynamic_fn_info(); |
143 | 473 | 473 | fnInfo->theCCB = theCCB; | |
144 | 474 | if (!isInline) | 474 | fnInfo->theMustDeleteCCB = false; |
145 | 475 | fnInfo->theLoc = qloc; | ||
146 | 476 | fnInfo->theFunction = v.get_function(); | ||
147 | 477 | fnInfo->theQName = v.get_qname(); | ||
148 | 478 | fnInfo->theArity = v.get_arity(); | ||
149 | 479 | |||
150 | 480 | if (v.is_inline()) | ||
151 | 475 | { | 481 | { |
154 | 476 | // literal function item | 482 | for (csize i = 0; i < v.get_subst_vars_values().size(); ++i) |
155 | 477 | lFItem = new FunctionItem(theCCB, sctx, &v); | 483 | { |
156 | 484 | if (!v.get_is_global_var()[i]) | ||
157 | 485 | fnInfo->theScopedVarsIterators.push_back(pop_itstack()); | ||
158 | 486 | |||
159 | 487 | // TODO: cleanup debug info | ||
160 | 488 | /* | ||
161 | 489 | PlanIter_t varIter = NULL; | ||
162 | 490 | PlanIter_t enclosedIter = NULL; | ||
163 | 491 | |||
164 | 492 | store::Item* var_qname = NULL; | ||
165 | 493 | if (dynamic_cast<LetVarIterator*>(varIter.getp()) != NULL) | ||
166 | 494 | var_qname = dynamic_cast<LetVarIterator*>(varIter.getp())->getVarName(); | ||
167 | 495 | else if (dynamic_cast<ForVarIterator*>(varIter.getp()) != NULL) | ||
168 | 496 | var_qname = dynamic_cast<ForVarIterator*>(varIter.getp())->getVarName(); | ||
169 | 497 | else | ||
170 | 498 | var_qname = v.get_scoped_vars_names()[i].getp(); | ||
171 | 499 | |||
172 | 500 | std::cerr << "--> PlanVisitor function_item_expr: var name: " << v.get_scoped_vars_names()[i]->show() | ||
173 | 501 | << " global: " << v.get_is_global_var()[i] | ||
174 | 502 | << " with iter: " | ||
175 | 503 | << (enclosedIter.getp()?enclosedIter->toString() : "NULL"); | ||
176 | 504 | if (dynamic_cast<LetVarIterator*>(enclosedIter.getp()) != NULL) | ||
177 | 505 | std::cerr << " var name: " << dynamic_cast<LetVarIterator*>(enclosedIter.getp())->getVarName()->show(); | ||
178 | 506 | else if (dynamic_cast<ForVarIterator*>(enclosedIter.getp()) != NULL) | ||
179 | 507 | std::cerr << " var name: " << dynamic_cast<ForVarIterator*>(enclosedIter.getp())->getVarName()->show(); | ||
180 | 508 | else | ||
181 | 509 | std::cerr << " var name (from the expr, not the iterator): " << (var_qname? var_qname->show() : "NULL"); | ||
182 | 510 | std::cerr << std::endl; | ||
183 | 511 | */ | ||
184 | 512 | } | ||
185 | 513 | |||
186 | 514 | std::reverse(fnInfo->theScopedVarsIterators.begin(), fnInfo->theScopedVarsIterators.end()); | ||
187 | 478 | } | 515 | } |
189 | 479 | else | 516 | |
190 | 517 | |||
191 | 518 | // This portion is taken from the eval iterator | ||
192 | 480 | { | 519 | { |
197 | 481 | // inline function | 520 | // Create the "import" sctx. The importOuterEnv() method (called below) will |
198 | 482 | std::vector<PlanIter_t> lVariableValues; | 521 | // register into the importSctx (a) the outer vars of the eval query and (b) |
199 | 483 | size_t lSize = v.get_vars().size(); | 522 | // the expression-level ns bindings of the outer query at the place where |
200 | 484 | for (size_t i = 0; i < lSize; ++i) | 523 | // the eval call appears at. |
201 | 524 | // static_context* importSctx = sctx->create_child_context(); | ||
202 | 525 | |||
203 | 526 | // Create the root sctx for the eval query | ||
204 | 527 | // static_context* evalSctx = importSctx->create_child_context(); | ||
205 | 528 | |||
206 | 529 | // Create the ccb for the eval query | ||
207 | 530 | |||
208 | 531 | // fnInfo->theCCBHolder.reset(new CompilerCB(*theCCB)); | ||
209 | 532 | // fnInfo->theCCB = fnInfo->theCCBHolder.get(); | ||
210 | 533 | // fnInfo->theCCB->theRootSctx = evalSctx; | ||
211 | 534 | // (fnInfo->theCCB->theSctxMap)[1] = evalSctx; | ||
212 | 535 | |||
213 | 536 | // Create the dynamic context for the eval query | ||
214 | 537 | // std::auto_ptr<dynamic_context> evalDctx; | ||
215 | 538 | // evalDctx.reset(new dynamic_context(planState.theGlobalDynCtx)); | ||
216 | 539 | // evalDctx.reset(new dynamic_context()); | ||
217 | 540 | |||
218 | 541 | // Import the outer environment. | ||
219 | 542 | // importOuterEnv(planState, evalCCB.get(), importSctx, evalDctx.get()); | ||
220 | 543 | |||
221 | 544 | // Set the values for the (explicit) external vars of the eval query | ||
222 | 545 | // setExternalVariables(evalCCB.get(), importSctx, evalDctx.get()); | ||
223 | 546 | |||
224 | 547 | |||
225 | 548 | // std::cerr << "--> " << toString() << ": creating function item with params: " << std::endl; | ||
226 | 549 | // for (csize i=0; i<theChildren.size(); i++) | ||
227 | 550 | // std::cerr << " " << (theDynamicFunctionInfo->theScopedVarsNames[i].getp() ? theDynamicFunctionInfo->theScopedVarsNames[i]->show() : "") << std::endl; | ||
228 | 551 | |||
229 | 552 | // std::cerr << "--> the body before: " << static_cast<user_function*>(theDynamicFunctionInfo->theFunction.getp())->getBody()->toString() << std::endl; | ||
230 | 553 | |||
231 | 554 | // result = new FunctionItem(theDynamicFunctionInfo, evalCCB.release(), evalDctx.release()); | ||
232 | 555 | |||
233 | 556 | // std::cerr << "--> sctx: " << sctx->toString() << std::endl; | ||
234 | 557 | // std::cerr << "--> closureSctx: " << fnInfo->theClosureSctx->toString() << std::endl; | ||
235 | 558 | |||
236 | 559 | // ulong maxOuterVarId = 1; | ||
237 | 560 | // ++maxOuterVarId; // TODO: get it from the plan_visitor | ||
238 | 561 | |||
239 | 562 | csize curChild = -1; | ||
240 | 563 | csize numOuterVars = fnInfo->theScopedVarsNames.size(); | ||
241 | 564 | for (csize i = 0; i < numOuterVars; ++i) | ||
242 | 485 | { | 565 | { |
244 | 486 | lVariableValues.push_back(pop_itstack()); | 566 | var_expr* ve = theCCB->theEM->create_var_expr(fnInfo->theClosureSctx, |
245 | 567 | NULL, | ||
246 | 568 | qloc, | ||
247 | 569 | var_expr::hof_var, | ||
248 | 570 | fnInfo->theScopedVarsNames[i].getp()); | ||
249 | 571 | |||
250 | 572 | // ve->set_type(theOuterVarTypes[i]); TODO: get types | ||
251 | 573 | if (!fnInfo->theIsGlobalVar[i]) | ||
252 | 574 | { | ||
253 | 575 | ++curChild; | ||
254 | 576 | // store::Iterator_t iter = new PlanIteratorWrapper(theChildren[curChild], planState); | ||
255 | 577 | // evalDctx->add_variable(maxOuterVarId, iter); | ||
256 | 578 | // ve->set_unique_id(maxOuterVarId); | ||
257 | 579 | |||
258 | 580 | if (fnInfo->theSubstVarsValues[i] != NULL | ||
259 | 581 | && | ||
260 | 582 | fnInfo->theSubstVarsValues[i]->get_unique_id() == 0) | ||
261 | 583 | { | ||
262 | 584 | fnInfo->theSubstVarsValues[i]->set_var_info(NULL); | ||
263 | 585 | // fnInfo->theSubstVarsValues[i]->set_unique_id(maxOuterVarId); | ||
264 | 586 | fnInfo->theSubstVarsValues[i]->set_unique_id(theNextDynamicVarId++); | ||
265 | 587 | } | ||
266 | 588 | |||
267 | 589 | // std::cerr << "--> plan_visitor: " << fnInfo->theQName->toString() << " var: " << fnInfo->theScopedVarsNames[i]->toString() << " has id: " << fnInfo->theSubstVarsValues[i]->get_unique_id() << std::endl; | ||
268 | 590 | |||
269 | 591 | ve->set_unique_id(fnInfo->theSubstVarsValues[i]->get_unique_id()); | ||
270 | 592 | fnInfo->theVarId[i] = fnInfo->theSubstVarsValues[i]->get_unique_id(); | ||
271 | 593 | |||
272 | 594 | // ++maxOuterVarId; | ||
273 | 595 | // theNextDynamicVarId++; | ||
274 | 596 | } | ||
275 | 597 | else | ||
276 | 598 | { | ||
277 | 599 | // static_context* outerSctx = importSctx->get_parent(); | ||
278 | 600 | static_context* outerSctx = fnInfo->theClosureSctx->get_parent(); | ||
279 | 601 | |||
280 | 602 | VarInfo* outerGlobalVar = outerSctx->lookup_var(fnInfo->theScopedVarsNames[i]); | ||
281 | 603 | |||
282 | 604 | ulong outerGlobalVarId = 0; | ||
283 | 605 | |||
284 | 606 | if (outerGlobalVar) | ||
285 | 607 | { | ||
286 | 608 | outerGlobalVarId = outerGlobalVar->getId(); | ||
287 | 609 | } | ||
288 | 610 | else | ||
289 | 611 | { | ||
290 | 612 | // std::cerr << "--> searching for var: " << theDynamicFunctionInfo->theScopedVarsNames[i]->toString() << std::endl; | ||
291 | 613 | for (csize j=0; j<fnInfo->theSubstVarsValues.size(); j++) | ||
292 | 614 | { | ||
293 | 615 | // std::cerr << " substVar: " << (theDynamicFunctionInfo->theSubstVarsValues[j] ? theDynamicFunctionInfo->theSubstVarsValues[j]->toString() : "NULL"); | ||
294 | 616 | if (fnInfo->theSubstVarsValues[j]->get_name()->equals(fnInfo->theScopedVarsNames[i].getp())) | ||
295 | 617 | outerGlobalVarId = fnInfo->theSubstVarsValues[j]->get_unique_id(); | ||
296 | 618 | } | ||
297 | 619 | } | ||
298 | 620 | |||
299 | 621 | // ZORBA_ASSERT(outerGlobalVar); | ||
300 | 622 | |||
301 | 623 | // std::cerr << "--> importOuterEnv(): outerSctx: " << outerSctx->toString() << std::endl; | ||
302 | 624 | // std::cerr << "--> plan_visitor: " << fnInfo->theQName->toString() << " updating id for subst_var: " << (fnInfo->theSubstVarsValues[i] ? fnInfo->theSubstVarsValues[i]->toString() : "NULL\n"); | ||
303 | 625 | |||
304 | 626 | if (fnInfo->theSubstVarsValues[i] != NULL | ||
305 | 627 | && | ||
306 | 628 | fnInfo->theSubstVarsValues[i]->get_unique_id() == 0) | ||
307 | 629 | { | ||
308 | 630 | fnInfo->theSubstVarsValues[i]->set_unique_id(outerGlobalVarId); | ||
309 | 631 | } | ||
310 | 632 | |||
311 | 633 | ve->set_unique_id(outerGlobalVarId); | ||
312 | 634 | |||
313 | 635 | fnInfo->theVarId[i] = outerGlobalVarId; | ||
314 | 636 | } | ||
315 | 637 | |||
316 | 638 | // importSctx->bind_var(ve, qloc); | ||
317 | 639 | // fnInfo->theClosureSctx->bind_var(ve, qloc); | ||
318 | 487 | } | 640 | } |
319 | 488 | lFItem = new FunctionItem(theCCB, sctx, &v, lVariableValues); | ||
320 | 489 | } | 641 | } |
321 | 490 | 642 | ||
323 | 491 | push_itstack(new SingletonIterator (sctx, qloc, lFItem)); | 643 | // std::cerr << "--> the body now: " << static_cast<user_function*>(fnInfo->theFunction.getp())->getBody()->toString() << std::endl; |
324 | 644 | |||
325 | 645 | PlanIter_t tmp = new DynamicFunctionIterator(sctx, qloc, fnInfo); | ||
326 | 646 | // std::cerr << "--> plan_visitor: pushing iter: " << tmp->toString() << std::endl; | ||
327 | 647 | push_itstack(tmp); | ||
328 | 492 | } | 648 | } |
329 | 493 | 649 | ||
330 | 494 | 650 | ||
331 | @@ -507,18 +663,49 @@ | |||
332 | 507 | 663 | ||
333 | 508 | ulong numArgs = (ulong)v.get_args().size() + 1; | 664 | ulong numArgs = (ulong)v.get_args().size() + 1; |
334 | 509 | 665 | ||
347 | 510 | std::vector<PlanIter_t> argIters(numArgs); | 666 | std::vector<PlanIter_t> argIters; |
348 | 511 | 667 | ||
349 | 512 | for (size_t i = 1; i < numArgs; ++i) | 668 | bool isPartialApply = false; |
350 | 513 | { | 669 | |
351 | 514 | argIters[i] = pop_itstack(); | 670 | // the arguments are reversed on the stack |
352 | 515 | } | 671 | for (csize i=0; i<v.get_dot_vars().size(); i++) |
353 | 516 | 672 | { | |
354 | 517 | argIters[0] = pop_itstack(); | 673 | PlanIter_t iter = pop_itstack(); |
355 | 518 | 674 | argIters.push_back(iter); | |
356 | 519 | push_itstack(new DynamicFnCallIterator(sctx, qloc, argIters)); | 675 | // std::cerr << "--> plan_visitor dot var iterator: " << iter->toString() << std::endl; // TODO |
357 | 520 | } | 676 | } |
358 | 521 | 677 | ||
359 | 678 | for (size_t i = 0; i < numArgs-1; ++i) | ||
360 | 679 | { | ||
361 | 680 | if (v.get_args()[i]->get_expr_kind() == argument_placeholder_expr_kind) | ||
362 | 681 | isPartialApply = true; | ||
363 | 682 | |||
364 | 683 | argIters.push_back(pop_itstack()); | ||
365 | 684 | } | ||
366 | 685 | |||
367 | 686 | argIters.push_back(pop_itstack()); | ||
368 | 687 | |||
369 | 688 | std::reverse(argIters.begin(), argIters.end()); | ||
370 | 689 | |||
371 | 690 | push_itstack(new DynamicFnCallIterator(sctx, qloc, argIters, v.get_dot_vars().size(), isPartialApply)); | ||
372 | 691 | } | ||
373 | 692 | |||
374 | 693 | |||
375 | 694 | /***************************************************************************//** | ||
376 | 695 | |||
377 | 696 | ********************************************************************************/ | ||
378 | 697 | bool begin_visit(argument_placeholder_expr& v) | ||
379 | 698 | { | ||
380 | 699 | CODEGEN_TRACE_IN(""); | ||
381 | 700 | return true; | ||
382 | 701 | } | ||
383 | 702 | |||
384 | 703 | void end_visit(argument_placeholder_expr& v) | ||
385 | 704 | { | ||
386 | 705 | CODEGEN_TRACE_OUT(""); | ||
387 | 706 | PlanIter_t it = new ArgumentPlaceholderIterator(sctx, qloc); | ||
388 | 707 | push_itstack(it); | ||
389 | 708 | } | ||
390 | 522 | 709 | ||
391 | 523 | /***************************************************************************//** | 710 | /***************************************************************************//** |
392 | 524 | 711 | ||
393 | @@ -743,6 +930,8 @@ | |||
394 | 743 | 930 | ||
395 | 744 | bool isForVar = false; | 931 | bool isForVar = false; |
396 | 745 | 932 | ||
397 | 933 | // std::cerr << "--> general_var_codegen() on var: " << var.toString(); | ||
398 | 934 | |||
399 | 746 | switch (var.get_kind()) | 935 | switch (var.get_kind()) |
400 | 747 | { | 936 | { |
401 | 748 | case var_expr::for_var: | 937 | case var_expr::for_var: |
402 | @@ -836,6 +1025,7 @@ | |||
403 | 836 | 1025 | ||
404 | 837 | case var_expr::arg_var: | 1026 | case var_expr::arg_var: |
405 | 838 | { | 1027 | { |
406 | 1028 | ZORBA_ASSERT(arg_var_iter_map != NULL); | ||
407 | 839 | PlanIter_t iter = base_var_codegen(var, *arg_var_iter_map); | 1029 | PlanIter_t iter = base_var_codegen(var, *arg_var_iter_map); |
408 | 840 | push_itstack(iter); | 1030 | push_itstack(iter); |
409 | 841 | break; | 1031 | break; |
410 | @@ -856,6 +1046,7 @@ | |||
411 | 856 | } | 1046 | } |
412 | 857 | 1047 | ||
413 | 858 | case var_expr::prolog_var: | 1048 | case var_expr::prolog_var: |
414 | 1049 | case var_expr::hof_var: | ||
415 | 859 | { | 1050 | { |
416 | 860 | push_itstack(new CtxVarIterator(sctx, | 1051 | push_itstack(new CtxVarIterator(sctx, |
417 | 861 | qloc, | 1052 | qloc, |
418 | @@ -3577,6 +3768,11 @@ | |||
419 | 3577 | #ifndef NDEBUG | 3768 | #ifndef NDEBUG |
420 | 3578 | if (!itstack.empty()) | 3769 | if (!itstack.empty()) |
421 | 3579 | { | 3770 | { |
422 | 3771 | std::cout << "Plan_visitor partial iterator tree:\n"; // TODO: remove this debug output | ||
423 | 3772 | XMLIterPrinter vp(std::cout); | ||
424 | 3773 | print_iter_plan(vp, res); | ||
425 | 3774 | std::cout<< std::endl; | ||
426 | 3775 | |||
427 | 3580 | std::cout << "\nPlan_visitor stack still contains " | 3776 | std::cout << "\nPlan_visitor stack still contains " |
428 | 3581 | << itstack.size() << " entries: " << std::endl; | 3777 | << itstack.size() << " entries: " << std::endl; |
429 | 3582 | while (!itstack.empty()) | 3778 | while (!itstack.empty()) |
430 | @@ -3689,9 +3885,37 @@ | |||
431 | 3689 | hash64map<std::vector<LetVarIter_t> *>* arg_var_map) | 3885 | hash64map<std::vector<LetVarIter_t> *>* arg_var_map) |
432 | 3690 | { | 3886 | { |
433 | 3691 | plan_visitor c(ccb, nextDynamicVarId, arg_var_map); | 3887 | plan_visitor c(ccb, nextDynamicVarId, arg_var_map); |
434 | 3888 | |||
435 | 3889 | /* | ||
436 | 3890 | std::cerr << "------------------- codegen: -------------------\n"; | ||
437 | 3891 | if (dynamic_cast<function_item_expr*>(root) != NULL) | ||
438 | 3892 | std::cerr << "--> function_item_expr " << root->get_loc() << std::endl; | ||
439 | 3893 | |||
440 | 3894 | std::cerr << std::endl; | ||
441 | 3895 | std::cerr << root->toString() << std::endl; | ||
442 | 3896 | std::cerr << "------------------------------------------------\n"; | ||
443 | 3897 | */ | ||
444 | 3898 | |||
445 | 3692 | root->accept(c); | 3899 | root->accept(c); |
446 | 3693 | PlanIter_t result = c.result(); | 3900 | PlanIter_t result = c.result(); |
447 | 3694 | 3901 | ||
448 | 3902 | /* | ||
449 | 3903 | std::cerr << "--> arg_var_map: " << arg_var_map << " size: " << (arg_var_map==NULL?0 : arg_var_map->size()) << " iterators: "; | ||
450 | 3904 | if (arg_var_map != NULL) | ||
451 | 3905 | { | ||
452 | 3906 | csize i = 0; | ||
453 | 3907 | for (checked_vector<hash64map<std::vector<LetVarIter_t> *>::entry>::const_iterator it = arg_var_map->begin(); it != arg_var_map->end(); ++it, ++i) | ||
454 | 3908 | { | ||
455 | 3909 | var_expr* var = (var_expr*)it->key; | ||
456 | 3910 | std::cerr << std::endl << "--> [" << i << "] " << var->toString() << "--> [" << i << "] referenced by:"; | ||
457 | 3911 | for (csize j=0; j < it->val->size(); j++) | ||
458 | 3912 | std::cerr << " " << (*it->val)[j]->getId() << " = LetVarIterator"; | ||
459 | 3913 | } | ||
460 | 3914 | } | ||
461 | 3915 | std::cerr << std::endl << "------------------------------------------------\n"; | ||
462 | 3916 | */ | ||
463 | 3917 | |||
464 | 3918 | |||
465 | 3695 | if (result != NULL && | 3919 | if (result != NULL && |
466 | 3696 | descr != NULL && | 3920 | descr != NULL && |
467 | 3697 | Properties::instance()->printIteratorTree()) | 3921 | Properties::instance()->printIteratorTree()) |
468 | 3698 | 3922 | ||
469 | === modified file 'src/compiler/expression/abstract_expr_visitor.h' | |||
470 | --- src/compiler/expression/abstract_expr_visitor.h 2013-02-07 17:24:36 +0000 | |||
471 | +++ src/compiler/expression/abstract_expr_visitor.h 2013-03-05 00:47:22 +0000 | |||
472 | @@ -1,12 +1,12 @@ | |||
473 | 1 | /* | 1 | /* |
474 | 2 | * Copyright 2006-2008 The FLWOR Foundation. | 2 | * Copyright 2006-2008 The FLWOR Foundation. |
476 | 3 | * | 3 | * |
477 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
478 | 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. |
479 | 6 | * You may obtain a copy of the License at | 6 | * You may obtain a copy of the License at |
481 | 7 | * | 7 | * |
482 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
484 | 9 | * | 9 | * |
485 | 10 | * Unless required by applicable law or agreed to in writing, software | 10 | * Unless required by applicable law or agreed to in writing, software |
486 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
487 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
488 | @@ -22,18 +22,18 @@ | |||
489 | 22 | #include "compiler/expression/expr_visitor.h" | 22 | #include "compiler/expression/expr_visitor.h" |
490 | 23 | 23 | ||
491 | 24 | /*______________________________________________________________________ | 24 | /*______________________________________________________________________ |
493 | 25 | | | 25 | | |
494 | 26 | | Design note: Visitor pattern. See, for example: | 26 | | Design note: Visitor pattern. See, for example: |
495 | 27 | | "Modern C++ Design" by Andrei Alexandrescu, | 27 | | "Modern C++ Design" by Andrei Alexandrescu, |
496 | 28 | | Addison Wesley (2001), Chapter 10. | 28 | | Addison Wesley (2001), Chapter 10. |
497 | 29 | |_______________________________________________________________________*/ | 29 | |_______________________________________________________________________*/ |
498 | 30 | 30 | ||
500 | 31 | namespace zorba | 31 | namespace zorba |
501 | 32 | { | 32 | { |
502 | 33 | 33 | ||
503 | 34 | class abstract_expr_visitor : public expr_visitor | 34 | class abstract_expr_visitor : public expr_visitor |
504 | 35 | { | 35 | { |
506 | 36 | public: | 36 | public: |
507 | 37 | virtual ~abstract_expr_visitor() {} | 37 | virtual ~abstract_expr_visitor() {} |
508 | 38 | 38 | ||
509 | 39 | public: | 39 | public: |
510 | @@ -80,6 +80,7 @@ | |||
511 | 80 | EXPR_VISITOR_METHODS(trycatch_expr); | 80 | EXPR_VISITOR_METHODS(trycatch_expr); |
512 | 81 | EXPR_VISITOR_METHODS(function_item_expr); | 81 | EXPR_VISITOR_METHODS(function_item_expr); |
513 | 82 | EXPR_VISITOR_METHODS(dynamic_function_invocation_expr); | 82 | EXPR_VISITOR_METHODS(dynamic_function_invocation_expr); |
514 | 83 | EXPR_VISITOR_METHODS(argument_placeholder_epxr); | ||
515 | 83 | 84 | ||
516 | 84 | EXPR_VISITOR_METHODS (delete_expr); | 85 | EXPR_VISITOR_METHODS (delete_expr); |
517 | 85 | EXPR_VISITOR_METHODS (insert_expr); | 86 | EXPR_VISITOR_METHODS (insert_expr); |
518 | 86 | 87 | ||
519 | === modified file 'src/compiler/expression/expr_base.cpp' | |||
520 | --- src/compiler/expression/expr_base.cpp 2013-02-21 16:34:45 +0000 | |||
521 | +++ src/compiler/expression/expr_base.cpp 2013-03-05 00:47:22 +0000 | |||
522 | @@ -288,6 +288,13 @@ | |||
523 | 288 | return oss.str(); | 288 | return oss.str(); |
524 | 289 | } | 289 | } |
525 | 290 | 290 | ||
526 | 291 | /******************************************************************************* | ||
527 | 292 | to mirror the Item's class show() method | ||
528 | 293 | ********************************************************************************/ | ||
529 | 294 | std::string expr::show() const | ||
530 | 295 | { | ||
531 | 296 | return toString(); | ||
532 | 297 | } | ||
533 | 291 | 298 | ||
534 | 292 | /******************************************************************************* | 299 | /******************************************************************************* |
535 | 293 | 300 | ||
536 | 294 | 301 | ||
537 | === modified file 'src/compiler/expression/expr_base.h' | |||
538 | --- src/compiler/expression/expr_base.h 2013-02-13 12:53:50 +0000 | |||
539 | +++ src/compiler/expression/expr_base.h 2013-03-05 00:47:22 +0000 | |||
540 | @@ -70,6 +70,7 @@ | |||
541 | 70 | 70 | ||
542 | 71 | fo_expr_kind, | 71 | fo_expr_kind, |
543 | 72 | dynamic_function_invocation_expr_kind, | 72 | dynamic_function_invocation_expr_kind, |
544 | 73 | argument_placeholder_expr_kind, | ||
545 | 73 | function_item_expr_kind, | 74 | function_item_expr_kind, |
546 | 74 | 75 | ||
547 | 75 | castable_expr_kind, | 76 | castable_expr_kind, |
548 | @@ -269,6 +270,8 @@ | |||
549 | 269 | 270 | ||
550 | 270 | std::string toString() const; | 271 | std::string toString() const; |
551 | 271 | 272 | ||
552 | 273 | std::string show() const; // to mirror the Item's class show() method | ||
553 | 274 | |||
554 | 272 | public: | 275 | public: |
555 | 273 | // | 276 | // |
556 | 274 | void setVisitId(uint8_t id) { theVisitId = id; } | 277 | void setVisitId(uint8_t id) { theVisitId = id; } |
557 | 275 | 278 | ||
558 | === modified file 'src/compiler/expression/expr_classes.h' | |||
559 | --- src/compiler/expression/expr_classes.h 2013-02-07 17:24:36 +0000 | |||
560 | +++ src/compiler/expression/expr_classes.h 2013-03-05 00:47:22 +0000 | |||
561 | @@ -50,6 +50,7 @@ | |||
562 | 50 | class trycatch_expr; | 50 | class trycatch_expr; |
563 | 51 | class function_item_expr; | 51 | class function_item_expr; |
564 | 52 | class dynamic_function_invocation_expr; | 52 | class dynamic_function_invocation_expr; |
565 | 53 | class argument_placeholder_expr; | ||
566 | 53 | 54 | ||
567 | 54 | class insert_expr; | 55 | class insert_expr; |
568 | 55 | class delete_expr; | 56 | class delete_expr; |
569 | 56 | 57 | ||
570 | === modified file 'src/compiler/expression/expr_clone.cpp' | |||
571 | --- src/compiler/expression/expr_clone.cpp 2013-02-21 16:34:45 +0000 | |||
572 | +++ src/compiler/expression/expr_clone.cpp 2013-03-05 00:47:22 +0000 | |||
573 | @@ -31,6 +31,7 @@ | |||
574 | 31 | #include "compiler/api/compilercb.h" | 31 | #include "compiler/api/compilercb.h" |
575 | 32 | 32 | ||
576 | 33 | #include "functions/function.h" | 33 | #include "functions/function.h" |
577 | 34 | #include "functions/udf.h" | ||
578 | 34 | 35 | ||
579 | 35 | #include "diagnostics/xquery_diagnostics.h" | 36 | #include "diagnostics/xquery_diagnostics.h" |
580 | 36 | #include "diagnostics/util_macros.h" | 37 | #include "diagnostics/util_macros.h" |
581 | @@ -147,7 +148,7 @@ | |||
582 | 147 | 148 | ||
583 | 148 | std::vector<expr*> names; | 149 | std::vector<expr*> names; |
584 | 149 | std::vector<expr*> values; | 150 | std::vector<expr*> values; |
586 | 150 | 151 | ||
587 | 151 | names.reserve(e->theNames.size()); | 152 | names.reserve(e->theNames.size()); |
588 | 152 | values.reserve(e->theValues.size()); | 153 | values.reserve(e->theValues.size()); |
589 | 153 | 154 | ||
590 | @@ -333,7 +334,7 @@ | |||
591 | 333 | } | 334 | } |
592 | 334 | case dynamic_function_invocation_expr_kind: | 335 | case dynamic_function_invocation_expr_kind: |
593 | 335 | { | 336 | { |
595 | 336 | const dynamic_function_invocation_expr* e = | 337 | const dynamic_function_invocation_expr* e = |
596 | 337 | static_cast<const dynamic_function_invocation_expr*>(this); | 338 | static_cast<const dynamic_function_invocation_expr*>(this); |
597 | 338 | 339 | ||
598 | 339 | checked_vector<expr*> newArgs; | 340 | checked_vector<expr*> newArgs; |
599 | @@ -344,12 +345,26 @@ | |||
600 | 344 | newArgs.push_back((*ite)->clone(udf, subst)); | 345 | newArgs.push_back((*ite)->clone(udf, subst)); |
601 | 345 | } | 346 | } |
602 | 346 | 347 | ||
603 | 348 | checked_vector<expr*> newDotVars; | ||
604 | 349 | for (checked_vector<expr*>::const_iterator ite = e->theDotVars.begin(); | ||
605 | 350 | ite != e->theDotVars.end(); | ||
606 | 351 | ++ite) | ||
607 | 352 | { | ||
608 | 353 | newDotVars.push_back((*ite)->clone(udf, subst)); | ||
609 | 354 | } | ||
610 | 355 | |||
611 | 347 | newExpr = theCCB->theEM-> | 356 | newExpr = theCCB->theEM-> |
612 | 348 | create_dynamic_function_invocation_expr(theSctx, | 357 | create_dynamic_function_invocation_expr(theSctx, |
613 | 349 | udf, | 358 | udf, |
614 | 350 | theLoc, | 359 | theLoc, |
615 | 351 | e->theExpr->clone(udf, subst), | 360 | e->theExpr->clone(udf, subst), |
617 | 352 | newArgs); | 361 | newArgs, |
618 | 362 | newDotVars); | ||
619 | 363 | break; | ||
620 | 364 | } | ||
621 | 365 | case argument_placeholder_expr_kind: | ||
622 | 366 | { | ||
623 | 367 | newExpr = theCCB->theEM->create_argument_placeholder_expr(theSctx, udf, theLoc); | ||
624 | 353 | break; | 368 | break; |
625 | 354 | } | 369 | } |
626 | 355 | case function_item_expr_kind: | 370 | case function_item_expr_kind: |
627 | @@ -359,17 +374,24 @@ | |||
628 | 359 | function_item_expr* cloneExpr = theCCB->theEM-> | 374 | function_item_expr* cloneExpr = theCCB->theEM-> |
629 | 360 | create_function_item_expr(theSctx, | 375 | create_function_item_expr(theSctx, |
630 | 361 | udf, | 376 | udf, |
635 | 362 | theLoc, | 377 | get_loc(), |
636 | 363 | e->theFunction->getName(), | 378 | e->theDynamicFunctionInfo->theClosureSctx, |
637 | 364 | e->theFunction.getp(), | 379 | e->theDynamicFunctionInfo->theFunction, |
638 | 365 | e->theArity); | 380 | e->theDynamicFunctionInfo->theFunction->getName(), |
639 | 381 | e->theDynamicFunctionInfo->theArity, | ||
640 | 382 | e->is_inline(), | ||
641 | 383 | e->needs_context_item()); | ||
642 | 366 | 384 | ||
647 | 367 | std::vector<expr*> lNewVariables; | 385 | std::vector<expr*>::const_iterator varIter = e->theDynamicFunctionInfo->theScopedVarsValues.begin(); |
648 | 368 | for (std::vector<expr*>::const_iterator ite = e->theScopedVariables.begin(); | 386 | std::vector<var_expr*>::const_iterator substVarIter = e->theDynamicFunctionInfo->theSubstVarsValues.begin(); |
649 | 369 | ite != e->theScopedVariables.end(); | 387 | std::vector<store::Item_t>::const_iterator nameIter = e->theDynamicFunctionInfo->theScopedVarsNames.begin(); |
650 | 370 | ++ite) | 388 | std::vector<int>::const_iterator isGlobalIter = e->theDynamicFunctionInfo->theIsGlobalVar.begin(); |
651 | 389 | for (; varIter != e->theDynamicFunctionInfo->theScopedVarsValues.end(); ++varIter, ++substVarIter, ++nameIter, ++isGlobalIter) | ||
652 | 371 | { | 390 | { |
654 | 372 | cloneExpr->add_variable((*ite)->clone(udf, subst)); | 391 | cloneExpr->add_variable((*varIter) ? (*varIter)->clone(udf, subst) : NULL, |
655 | 392 | (*substVarIter) ? static_cast<var_expr*>((*substVarIter)->clone(udf, subst)) : NULL, | ||
656 | 393 | *nameIter, | ||
657 | 394 | *isGlobalIter); | ||
658 | 373 | } | 395 | } |
659 | 374 | 396 | ||
660 | 375 | newExpr = cloneExpr; | 397 | newExpr = cloneExpr; |
661 | @@ -581,7 +603,7 @@ | |||
662 | 581 | 603 | ||
663 | 582 | transform_expr* cloneExpr = theCCB->theEM-> | 604 | transform_expr* cloneExpr = theCCB->theEM-> |
664 | 583 | create_transform_expr(theSctx, udf, theLoc); | 605 | create_transform_expr(theSctx, udf, theLoc); |
666 | 584 | 606 | ||
667 | 585 | for (std::vector<copy_clause*>::const_iterator ite = e->theCopyClauses.begin(); | 607 | for (std::vector<copy_clause*>::const_iterator ite = e->theCopyClauses.begin(); |
668 | 586 | ite != e->theCopyClauses.end(); | 608 | ite != e->theCopyClauses.end(); |
669 | 587 | ++ite) | 609 | ++ite) |
670 | @@ -686,10 +708,10 @@ | |||
671 | 686 | for (; ite != end; ++ite) | 708 | for (; ite != end; ++ite) |
672 | 687 | { | 709 | { |
673 | 688 | assert(subst.find(*ite) != subst.end()); | 710 | assert(subst.find(*ite) != subst.end()); |
675 | 689 | 711 | ||
676 | 690 | clonedExits.push_back(subst[*ite]); | 712 | clonedExits.push_back(subst[*ite]); |
677 | 691 | } | 713 | } |
679 | 692 | 714 | ||
680 | 693 | newExpr = theCCB->theEM-> | 715 | newExpr = theCCB->theEM-> |
681 | 694 | create_exit_catcher_expr(theSctx, udf, theLoc, clonedInput, clonedExits); | 716 | create_exit_catcher_expr(theSctx, udf, theLoc, clonedInput, clonedExits); |
682 | 695 | 717 | ||
683 | 696 | 718 | ||
684 | === modified file 'src/compiler/expression/expr_iter.cpp' | |||
685 | --- src/compiler/expression/expr_iter.cpp 2013-02-21 16:34:45 +0000 | |||
686 | +++ src/compiler/expression/expr_iter.cpp 2013-03-05 00:47:22 +0000 | |||
687 | @@ -195,9 +195,9 @@ | |||
688 | 195 | 195 | ||
689 | 196 | theArgsIter = oc->theOrderingExprs.begin(); | 196 | theArgsIter = oc->theOrderingExprs.begin(); |
690 | 197 | theArgsEnd = oc->theOrderingExprs.end(); | 197 | theArgsEnd = oc->theOrderingExprs.end(); |
692 | 198 | 198 | ||
693 | 199 | theCurrentChild = &(*theArgsIter); | 199 | theCurrentChild = &(*theArgsIter); |
695 | 200 | 200 | ||
696 | 201 | ++theArgsIter; | 201 | ++theArgsIter; |
697 | 202 | theState = 3; | 202 | theState = 3; |
698 | 203 | return; | 203 | return; |
699 | @@ -242,7 +242,7 @@ | |||
700 | 242 | while (theWincondIter < 2) | 242 | while (theWincondIter < 2) |
701 | 243 | { | 243 | { |
702 | 244 | window_clause* wc = static_cast<window_clause *>(*theClausesIter); | 244 | window_clause* wc = static_cast<window_clause *>(*theClausesIter); |
704 | 245 | 245 | ||
705 | 246 | flwor_wincond* wincond = (theWincondIter == 0 ? | 246 | flwor_wincond* wincond = (theWincondIter == 0 ? |
706 | 247 | wc->theWinStartCond : | 247 | wc->theWinStartCond : |
707 | 248 | wc->theWinStopCond ); | 248 | wc->theWinStopCond ); |
708 | @@ -269,7 +269,7 @@ | |||
709 | 269 | ++theArgsIter; | 269 | ++theArgsIter; |
710 | 270 | return; | 270 | return; |
711 | 271 | } | 271 | } |
713 | 272 | 272 | ||
714 | 273 | theState = 1; | 273 | theState = 1; |
715 | 274 | ++theClausesIter; | 274 | ++theClausesIter; |
716 | 275 | goto nextclause; | 275 | goto nextclause; |
717 | @@ -691,10 +691,12 @@ | |||
718 | 691 | 691 | ||
719 | 692 | EXPR_ITER_BEGIN(); | 692 | EXPR_ITER_BEGIN(); |
720 | 693 | 693 | ||
723 | 694 | theArgsIter = fiExpr->theScopedVariables.begin(); | 694 | theArgsIter = fiExpr->theDynamicFunctionInfo->theScopedVarsValues.begin(); |
724 | 695 | theArgsEnd = fiExpr->theScopedVariables.end(); | 695 | theArgsEnd = fiExpr->theDynamicFunctionInfo->theScopedVarsValues.end(); |
725 | 696 | for (; theArgsIter != theArgsEnd; ++theArgsIter) | 696 | for (; theArgsIter != theArgsEnd; ++theArgsIter) |
726 | 697 | { | 697 | { |
727 | 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 | ||
728 | 699 | continue; | ||
729 | 698 | EXPR_ITER_NEXT(*theArgsIter); | 700 | EXPR_ITER_NEXT(*theArgsIter); |
730 | 699 | } | 701 | } |
731 | 700 | 702 | ||
732 | @@ -717,11 +719,26 @@ | |||
733 | 717 | { | 719 | { |
734 | 718 | EXPR_ITER_NEXT(*theArgsIter); | 720 | EXPR_ITER_NEXT(*theArgsIter); |
735 | 719 | } | 721 | } |
736 | 722 | |||
737 | 723 | theArgsIter = dfiExpr->theDotVars.begin(); | ||
738 | 724 | theArgsEnd = dfiExpr->theDotVars.end(); | ||
739 | 725 | for (; theArgsIter != theArgsEnd; ++theArgsIter) | ||
740 | 726 | { | ||
741 | 727 | if ( ! *theArgsIter) | ||
742 | 728 | continue; | ||
743 | 729 | EXPR_ITER_NEXT(*theArgsIter); | ||
744 | 730 | } | ||
745 | 720 | 731 | ||
746 | 721 | EXPR_ITER_END(); | 732 | EXPR_ITER_END(); |
747 | 722 | return; | 733 | return; |
748 | 723 | } | 734 | } |
749 | 724 | 735 | ||
750 | 736 | case argument_placeholder_expr_kind: | ||
751 | 737 | { | ||
752 | 738 | theIsDone = true; | ||
753 | 739 | return; | ||
754 | 740 | } | ||
755 | 741 | |||
756 | 725 | case insert_expr_kind: | 742 | case insert_expr_kind: |
757 | 726 | { | 743 | { |
758 | 727 | insert_expr* insExpr = static_cast<insert_expr*>(theExpr); | 744 | insert_expr* insExpr = static_cast<insert_expr*>(theExpr); |
759 | 728 | 745 | ||
760 | === modified file 'src/compiler/expression/expr_manager.cpp' | |||
761 | --- src/compiler/expression/expr_manager.cpp 2013-02-07 17:24:36 +0000 | |||
762 | +++ src/compiler/expression/expr_manager.cpp 2013-03-05 00:47:22 +0000 | |||
763 | @@ -785,14 +785,24 @@ | |||
764 | 785 | //////////////////////////////////////////////////////////////////////////////// | 785 | //////////////////////////////////////////////////////////////////////////////// |
765 | 786 | 786 | ||
766 | 787 | dynamic_function_invocation_expr* | 787 | dynamic_function_invocation_expr* |
769 | 788 | ExprManager::create_dynamic_function_invocation_expr( | 788 | ExprManager::create_dynamic_function_invocation_expr(static_context* sctx, |
768 | 789 | static_context* sctx, | ||
770 | 790 | user_function* udf, | 789 | user_function* udf, |
771 | 791 | const QueryLoc& loc, | 790 | const QueryLoc& loc, |
772 | 792 | expr* anExpr, | 791 | expr* anExpr, |
776 | 793 | const std::vector<expr*>& args) | 792 | const std::vector<expr*>& args, |
777 | 794 | { | 793 | const std::vector<expr*>& dotVars) |
778 | 795 | CREATE_AND_RETURN_EXPR(dynamic_function_invocation_expr, sctx, udf, loc, anExpr, args); | 794 | { |
779 | 795 | CREATE_AND_RETURN_EXPR(dynamic_function_invocation_expr, sctx, udf, loc, anExpr, args, dotVars); | ||
780 | 796 | } | ||
781 | 797 | |||
782 | 798 | |||
783 | 799 | argument_placeholder_expr* | ||
784 | 800 | ExprManager::create_argument_placeholder_expr( | ||
785 | 801 | static_context* sctx, | ||
786 | 802 | user_function* udf, | ||
787 | 803 | const QueryLoc& loc) | ||
788 | 804 | { | ||
789 | 805 | CREATE_AND_RETURN_EXPR(argument_placeholder_expr, sctx, udf, loc); | ||
790 | 796 | } | 806 | } |
791 | 797 | 807 | ||
792 | 798 | 808 | ||
793 | @@ -800,20 +810,25 @@ | |||
794 | 800 | static_context* sctx, | 810 | static_context* sctx, |
795 | 801 | user_function* udf, | 811 | user_function* udf, |
796 | 802 | const QueryLoc& loc, | 812 | const QueryLoc& loc, |
798 | 803 | const store::Item* aQName, | 813 | static_context* closureSctx, |
799 | 804 | function* f, | 814 | function* f, |
801 | 805 | uint32_t aArity) | 815 | store::Item* aQName, |
802 | 816 | uint32_t aArity, | ||
803 | 817 | bool isInline, | ||
804 | 818 | bool needsContextItem) | ||
805 | 806 | { | 819 | { |
807 | 807 | CREATE_AND_RETURN_EXPR(function_item_expr, sctx, udf, loc, aQName, f, aArity); | 820 | CREATE_AND_RETURN_EXPR(function_item_expr, sctx, udf, loc, closureSctx, f, aQName, aArity, isInline, needsContextItem); |
808 | 808 | } | 821 | } |
809 | 809 | 822 | ||
810 | 810 | 823 | ||
813 | 811 | function_item_expr* ExprManager::create_function_item_expr( | 824 | function_item_expr* ExprManager::create_function_item_expr(static_context* sctx, |
812 | 812 | static_context* sctx, | ||
814 | 813 | user_function* udf, | 825 | user_function* udf, |
816 | 814 | const QueryLoc& loc) | 826 | const QueryLoc& loc, |
817 | 827 | static_context *closureSctx, | ||
818 | 828 | bool isInline, | ||
819 | 829 | bool needsContextItem) | ||
820 | 815 | { | 830 | { |
822 | 816 | CREATE_AND_RETURN_EXPR(function_item_expr, sctx, udf, loc); | 831 | CREATE_AND_RETURN_EXPR(function_item_expr, sctx, udf, loc, closureSctx, isInline, needsContextItem); |
823 | 817 | } | 832 | } |
824 | 818 | 833 | ||
825 | 819 | 834 | ||
826 | 820 | 835 | ||
827 | === modified file 'src/compiler/expression/expr_manager.h' | |||
828 | --- src/compiler/expression/expr_manager.h 2013-02-07 17:24:36 +0000 | |||
829 | +++ src/compiler/expression/expr_manager.h 2013-03-05 00:47:22 +0000 | |||
830 | @@ -482,20 +482,31 @@ | |||
831 | 482 | user_function* udf, | 482 | user_function* udf, |
832 | 483 | const QueryLoc& loc, | 483 | const QueryLoc& loc, |
833 | 484 | expr* anExpr, | 484 | expr* anExpr, |
835 | 485 | const std::vector<expr*>& args); | 485 | const std::vector<expr*>& args, |
836 | 486 | const std::vector<expr*>& dotVars); | ||
837 | 486 | 487 | ||
839 | 487 | function_item_expr* create_function_item_expr( | 488 | argument_placeholder_expr* create_argument_placeholder_expr( |
840 | 488 | static_context* sctx, | 489 | static_context* sctx, |
841 | 489 | user_function* udf, | 490 | user_function* udf, |
842 | 491 | const QueryLoc& loc); | ||
843 | 492 | |||
844 | 493 | function_item_expr* create_function_item_expr(static_context* sctx, | ||
845 | 494 | user_function* udf, | ||
846 | 490 | const QueryLoc& loc, | 495 | const QueryLoc& loc, |
848 | 491 | const store::Item* aQName, | 496 | static_context *closureSctx, |
849 | 492 | function* f, | 497 | function* f, |
851 | 493 | uint32_t aArity); | 498 | store::Item* aQName, |
852 | 499 | uint32_t aArity, | ||
853 | 500 | bool isInline, | ||
854 | 501 | bool needsContextItem); | ||
855 | 494 | 502 | ||
856 | 495 | function_item_expr* create_function_item_expr( | 503 | function_item_expr* create_function_item_expr( |
857 | 496 | static_context* sctx, | 504 | static_context* sctx, |
860 | 497 | user_function* udf, | 505 | user_function* udf, |
861 | 498 | const QueryLoc& loc); | 506 | const QueryLoc& loc, |
862 | 507 | static_context *closureSctx, | ||
863 | 508 | bool isInline, | ||
864 | 509 | bool needsContextItem); | ||
865 | 499 | 510 | ||
866 | 500 | ftcontains_expr* create_ftcontains_expr( | 511 | ftcontains_expr* create_ftcontains_expr( |
867 | 501 | static_context*, | 512 | static_context*, |
868 | @@ -609,7 +620,7 @@ | |||
869 | 609 | user_function* udf, | 620 | user_function* udf, |
870 | 610 | const QueryLoc& loc, | 621 | const QueryLoc& loc, |
871 | 611 | bool general); | 622 | bool general); |
873 | 612 | 623 | ||
874 | 613 | pragma* create_pragma( | 624 | pragma* create_pragma( |
875 | 614 | const store::Item_t&, | 625 | const store::Item_t&, |
876 | 615 | const zstring&); | 626 | const zstring&); |
877 | 616 | 627 | ||
878 | === modified file 'src/compiler/expression/expr_put.cpp' | |||
879 | --- src/compiler/expression/expr_put.cpp 2013-02-21 16:34:45 +0000 | |||
880 | +++ src/compiler/expression/expr_put.cpp 2013-03-05 00:47:22 +0000 | |||
881 | @@ -152,7 +152,10 @@ | |||
882 | 152 | 152 | ||
883 | 153 | BEGIN_PUT_NO_EOL(vref) ; | 153 | BEGIN_PUT_NO_EOL(vref) ; |
884 | 154 | put_qname(varExpr->get_name(), os); | 154 | put_qname(varExpr->get_name(), os); |
886 | 155 | os << expr_addr(varExpr) << " ]" << endl; | 155 | os << expr_addr(varExpr); |
887 | 156 | os << " kind=" << var_expr::decode_var_kind(varExpr->get_kind()); // TODO: remove this info | ||
888 | 157 | os << " uniqueId=" << varExpr->get_unique_id(); // TODO: remove this info | ||
889 | 158 | os << " ]" << endl; | ||
890 | 156 | return os; | 159 | return os; |
891 | 157 | } | 160 | } |
892 | 158 | else | 161 | else |
893 | @@ -185,6 +188,11 @@ | |||
894 | 185 | put_qname(get_name(), os); | 188 | put_qname(get_name(), os); |
895 | 186 | } | 189 | } |
896 | 187 | 190 | ||
897 | 191 | if (get_kind() == prolog_var || get_kind() == hof_var) | ||
898 | 192 | { | ||
899 | 193 | os << " uniqueId=" << theUniqueId; | ||
900 | 194 | } | ||
901 | 195 | |||
902 | 188 | #if VERBOSE | 196 | #if VERBOSE |
903 | 189 | if (theDeclaredType != NULL) | 197 | if (theDeclaredType != NULL) |
904 | 190 | { | 198 | { |
905 | @@ -224,7 +232,7 @@ | |||
906 | 224 | } | 232 | } |
907 | 225 | 233 | ||
908 | 226 | os << endl << indent << "[\n" << inc_indent; | 234 | os << endl << indent << "[\n" << inc_indent; |
910 | 227 | 235 | ||
911 | 228 | theDomainExpr->put(os); | 236 | theDomainExpr->put(os); |
912 | 229 | 237 | ||
913 | 230 | END_PUT(); | 238 | END_PUT(); |
914 | @@ -502,7 +510,7 @@ | |||
915 | 502 | ostream& fo_expr::put(ostream& os) const | 510 | ostream& fo_expr::put(ostream& os) const |
916 | 503 | { | 511 | { |
917 | 504 | const store::Item* qname = theFunction->getName(); | 512 | const store::Item* qname = theFunction->getName(); |
919 | 505 | BEGIN_PUT_MSG( qname->getStringValue() << "/" << num_args() ); | 513 | BEGIN_PUT_MSG( qname->getStringValue() << "#" << num_args() ); |
920 | 506 | csize numArgs = num_args(); | 514 | csize numArgs = num_args(); |
921 | 507 | 515 | ||
922 | 508 | for (csize i = 0; i < numArgs; ++i) | 516 | for (csize i = 0; i < numArgs; ++i) |
923 | @@ -528,18 +536,46 @@ | |||
924 | 528 | 536 | ||
925 | 529 | std::ostream& function_item_expr::put(std::ostream& os) const | 537 | std::ostream& function_item_expr::put(std::ostream& os) const |
926 | 530 | { | 538 | { |
928 | 531 | os << indent << "funtion_item_expr " << expr_addr(this) << inc_indent; | 539 | os << indent << "funtion_item_expr" << expr_addr(this) << inc_indent; |
929 | 532 | 540 | ||
931 | 533 | if (theQName != NULL) | 541 | // TODO: delete |
932 | 542 | // if (theDynamicFunctionInfo->theQName != NULL) | ||
933 | 543 | if (!is_inline()) | ||
934 | 534 | { | 544 | { |
936 | 535 | os << " " << theQName->getStringValue() << "/" << theArity; | 545 | os << " " << theDynamicFunctionInfo->theQName->getStringValue() |
937 | 546 | << "#" << theDynamicFunctionInfo->theArity; | ||
938 | 536 | os << dec_indent << endl; | 547 | os << dec_indent << endl; |
939 | 537 | return os; | 548 | return os; |
940 | 538 | } | 549 | } |
941 | 539 | else | 550 | else |
942 | 540 | { | 551 | { |
945 | 541 | os << " inline udf (" << theFunction.getp() << ") [\n"; | 552 | os << " " << theDynamicFunctionInfo->theQName->getStringValue() |
946 | 542 | reinterpret_cast<const user_function*>(theFunction.getp())->getBody()->put(os); | 553 | << "#" << theDynamicFunctionInfo->theArity << " [\n"; |
947 | 554 | |||
948 | 555 | const signature& sig = get_function()->getSignature(); | ||
949 | 556 | std::vector<xqtref_t> paramTypes; | ||
950 | 557 | for (csize i=0; i < sig.paramCount(); i++) | ||
951 | 558 | paramTypes.push_back(sig[i]); | ||
952 | 559 | xqtref_t funcType = get_type_manager()->create_function_type(paramTypes, sig.returnType(), TypeConstants::QUANT_ONE); | ||
953 | 560 | |||
954 | 561 | // TODO: remove type | ||
955 | 562 | os << indent << "type: " << funcType->toString() << std::endl; | ||
956 | 563 | |||
957 | 564 | for (ulong i = 0; i < theDynamicFunctionInfo->theScopedVarsValues.size(); i++) | ||
958 | 565 | { | ||
959 | 566 | os << indent << "using $" | ||
960 | 567 | << theDynamicFunctionInfo->theScopedVarsNames[i]->getStringValue() | ||
961 | 568 | << (theDynamicFunctionInfo->theIsGlobalVar[i] ? " global=1" : "") << " := ["; | ||
962 | 569 | os << endl << inc_indent; | ||
963 | 570 | if (theDynamicFunctionInfo->theScopedVarsValues[i]) | ||
964 | 571 | theDynamicFunctionInfo->theScopedVarsValues[i]->put(os); | ||
965 | 572 | os << dec_indent << indent << "]" << endl; | ||
966 | 573 | } | ||
967 | 574 | |||
968 | 575 | if (theDynamicFunctionInfo->theFunction != NULL && | ||
969 | 576 | static_cast<user_function*>(theDynamicFunctionInfo->theFunction.getp())->getBody() != NULL) | ||
970 | 577 | static_cast<user_function*>(theDynamicFunctionInfo->theFunction.getp())->getBody()->put(os); | ||
971 | 578 | |||
972 | 543 | END_PUT(); | 579 | END_PUT(); |
973 | 544 | } | 580 | } |
974 | 545 | } | 581 | } |
975 | @@ -548,16 +584,31 @@ | |||
976 | 548 | ostream& dynamic_function_invocation_expr::put(ostream& os) const | 584 | ostream& dynamic_function_invocation_expr::put(ostream& os) const |
977 | 549 | { | 585 | { |
978 | 550 | BEGIN_PUT( dynamic_function_invocation_expr ); | 586 | BEGIN_PUT( dynamic_function_invocation_expr ); |
980 | 551 | 587 | ||
981 | 552 | theExpr->put(os); | 588 | theExpr->put(os); |
983 | 553 | 589 | ||
984 | 554 | for (csize i = 0; i < theArgs.size(); ++i) | 590 | for (csize i = 0; i < theArgs.size(); ++i) |
985 | 555 | theArgs[i]->put(os); | 591 | theArgs[i]->put(os); |
986 | 592 | |||
987 | 593 | for (csize i = 0; i < theDotVars.size(); i++) | ||
988 | 594 | if (theDotVars[i] != NULL) | ||
989 | 595 | { | ||
990 | 596 | os << indent << "using $"; | ||
991 | 597 | theDotVars[i]->put(os); | ||
992 | 598 | } | ||
993 | 556 | 599 | ||
994 | 557 | END_PUT(); | 600 | END_PUT(); |
995 | 558 | } | 601 | } |
996 | 559 | 602 | ||
997 | 560 | 603 | ||
998 | 604 | ostream& argument_placeholder_expr::put(ostream& os) const | ||
999 | 605 | { | ||
1000 | 606 | BEGIN_PUT_NO_EOL( argument_placeholder_expr ); | ||
1001 | 607 | os << "? ]\n"; | ||
1002 | 608 | return os; | ||
1003 | 609 | } | ||
1004 | 610 | |||
1005 | 611 | |||
1006 | 561 | ostream& instanceof_expr::put( ostream& os) const | 612 | ostream& instanceof_expr::put( ostream& os) const |
1007 | 562 | { | 613 | { |
1008 | 563 | BEGIN_PUT_MSG("instanceof_expr " << theTargetType->toSchemaString()); | 614 | BEGIN_PUT_MSG("instanceof_expr " << theTargetType->toSchemaString()); |
1009 | @@ -745,7 +796,7 @@ | |||
1010 | 745 | 796 | ||
1011 | 746 | if (theValue->isFunction()) | 797 | if (theValue->isFunction()) |
1012 | 747 | { | 798 | { |
1014 | 748 | os << "functrion item [ " << theValue->show() << " ]"; | 799 | os << "function item [ " << theValue->show() << " ]"; |
1015 | 749 | } | 800 | } |
1016 | 750 | else | 801 | else |
1017 | 751 | { | 802 | { |
1018 | 752 | 803 | ||
1019 | === modified file 'src/compiler/expression/expr_type.cpp' | |||
1020 | --- src/compiler/expression/expr_type.cpp 2013-02-26 04:12:43 +0000 | |||
1021 | +++ src/compiler/expression/expr_type.cpp 2013-03-05 00:47:22 +0000 | |||
1022 | @@ -31,6 +31,7 @@ | |||
1023 | 31 | #include "compiler/expression/var_expr.h" | 31 | #include "compiler/expression/var_expr.h" |
1024 | 32 | #include "compiler/expression/expr.h" | 32 | #include "compiler/expression/expr.h" |
1025 | 33 | #include "compiler/expression/expr_iter.h" | 33 | #include "compiler/expression/expr_iter.h" |
1026 | 34 | #include "compiler/expression/function_item_expr.h" | ||
1027 | 34 | 35 | ||
1028 | 35 | #include "compiler/api/compilercb.h" | 36 | #include "compiler/api/compilercb.h" |
1029 | 36 | 37 | ||
1030 | @@ -259,6 +260,7 @@ | |||
1031 | 259 | case var_expr::catch_var: // TODO | 260 | case var_expr::catch_var: // TODO |
1032 | 260 | case var_expr::arg_var: | 261 | case var_expr::arg_var: |
1033 | 261 | case var_expr::eval_var: | 262 | case var_expr::eval_var: |
1034 | 263 | case var_expr::hof_var: | ||
1035 | 262 | { | 264 | { |
1036 | 263 | break; | 265 | break; |
1037 | 264 | } | 266 | } |
1038 | @@ -625,7 +627,14 @@ | |||
1039 | 625 | 627 | ||
1040 | 626 | case dynamic_function_invocation_expr_kind: | 628 | case dynamic_function_invocation_expr_kind: |
1041 | 627 | { | 629 | { |
1043 | 628 | theType = rtm.ITEM_TYPE_STAR; // TODO | 630 | dynamic_function_invocation_expr* e = static_cast<dynamic_function_invocation_expr*>(this); |
1044 | 631 | newType = e->theExpr->get_return_type(); | ||
1045 | 632 | break; | ||
1046 | 633 | } | ||
1047 | 634 | |||
1048 | 635 | case argument_placeholder_expr_kind: | ||
1049 | 636 | { | ||
1050 | 637 | theType = rtm.ITEM_TYPE_STAR; | ||
1051 | 629 | return; | 638 | return; |
1052 | 630 | } | 639 | } |
1053 | 631 | 640 | ||
1054 | 632 | 641 | ||
1055 | === modified file 'src/compiler/expression/expr_visitor.h' | |||
1056 | --- src/compiler/expression/expr_visitor.h 2013-02-07 17:24:36 +0000 | |||
1057 | +++ src/compiler/expression/expr_visitor.h 2013-03-05 00:47:22 +0000 | |||
1058 | @@ -1,12 +1,12 @@ | |||
1059 | 1 | /* | 1 | /* |
1060 | 2 | * Copyright 2006-2008 The FLWOR Foundation. | 2 | * Copyright 2006-2008 The FLWOR Foundation. |
1062 | 3 | * | 3 | * |
1063 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
1064 | 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. |
1065 | 6 | * You may obtain a copy of the License at | 6 | * You may obtain a copy of the License at |
1067 | 7 | * | 7 | * |
1068 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
1070 | 9 | * | 9 | * |
1071 | 10 | * Unless required by applicable law or agreed to in writing, software | 10 | * Unless required by applicable law or agreed to in writing, software |
1072 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
1073 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
1074 | @@ -20,7 +20,7 @@ | |||
1075 | 20 | #include <zorba/config.h> | 20 | #include <zorba/config.h> |
1076 | 21 | #include "compiler/expression/expr_classes.h" | 21 | #include "compiler/expression/expr_classes.h" |
1077 | 22 | 22 | ||
1079 | 23 | namespace zorba | 23 | namespace zorba |
1080 | 24 | { | 24 | { |
1081 | 25 | 25 | ||
1082 | 26 | #ifndef ZORBA_NO_FULL_TEXT | 26 | #ifndef ZORBA_NO_FULL_TEXT |
1083 | @@ -29,7 +29,7 @@ | |||
1084 | 29 | 29 | ||
1085 | 30 | class expr_visitor | 30 | class expr_visitor |
1086 | 31 | { | 31 | { |
1088 | 32 | public: | 32 | public: |
1089 | 33 | 33 | ||
1090 | 34 | virtual ~expr_visitor() { } | 34 | virtual ~expr_visitor() { } |
1091 | 35 | 35 | ||
1092 | @@ -78,6 +78,7 @@ | |||
1093 | 78 | DECL_EXPR_VISITOR_VISIT_MEM_FNS( trycatch_expr ); | 78 | DECL_EXPR_VISITOR_VISIT_MEM_FNS( trycatch_expr ); |
1094 | 79 | DECL_EXPR_VISITOR_VISIT_MEM_FNS( function_item_expr ); | 79 | DECL_EXPR_VISITOR_VISIT_MEM_FNS( function_item_expr ); |
1095 | 80 | DECL_EXPR_VISITOR_VISIT_MEM_FNS( dynamic_function_invocation_expr ); | 80 | DECL_EXPR_VISITOR_VISIT_MEM_FNS( dynamic_function_invocation_expr ); |
1096 | 81 | DECL_EXPR_VISITOR_VISIT_MEM_FNS( argument_placeholder_expr ); | ||
1097 | 81 | 82 | ||
1098 | 82 | DECL_EXPR_VISITOR_VISIT_MEM_FNS(insert_expr); | 83 | DECL_EXPR_VISITOR_VISIT_MEM_FNS(insert_expr); |
1099 | 83 | DECL_EXPR_VISITOR_VISIT_MEM_FNS(delete_expr); | 84 | DECL_EXPR_VISITOR_VISIT_MEM_FNS(delete_expr); |
1100 | 84 | 85 | ||
1101 | === modified file 'src/compiler/expression/function_item_expr.cpp' | |||
1102 | --- src/compiler/expression/function_item_expr.cpp 2013-02-07 17:24:36 +0000 | |||
1103 | +++ src/compiler/expression/function_item_expr.cpp 2013-03-05 00:47:22 +0000 | |||
1104 | @@ -15,6 +15,8 @@ | |||
1105 | 15 | */ | 15 | */ |
1106 | 16 | #include "stdafx.h" | 16 | #include "stdafx.h" |
1107 | 17 | 17 | ||
1108 | 18 | #include "store/api/item_factory.h" | ||
1109 | 19 | |||
1110 | 18 | #include "compiler/expression/function_item_expr.h" | 20 | #include "compiler/expression/function_item_expr.h" |
1111 | 19 | #include "compiler/expression/expr_visitor.h" | 21 | #include "compiler/expression/expr_visitor.h" |
1112 | 20 | 22 | ||
1113 | @@ -27,7 +29,7 @@ | |||
1114 | 27 | namespace zorba { | 29 | namespace zorba { |
1115 | 28 | 30 | ||
1116 | 29 | 31 | ||
1118 | 30 | DEF_EXPR_ACCEPT (dynamic_function_invocation_expr) | 32 | DEF_EXPR_ACCEPT (dynamic_function_invocation_expr); |
1119 | 31 | 33 | ||
1120 | 32 | 34 | ||
1121 | 33 | dynamic_function_invocation_expr::dynamic_function_invocation_expr( | 35 | dynamic_function_invocation_expr::dynamic_function_invocation_expr( |
1122 | @@ -36,11 +38,13 @@ | |||
1123 | 36 | user_function* udf, | 38 | user_function* udf, |
1124 | 37 | const QueryLoc& loc, | 39 | const QueryLoc& loc, |
1125 | 38 | expr* anExpr, | 40 | expr* anExpr, |
1127 | 39 | const std::vector<expr*>& args) | 41 | const std::vector<expr*>& args, |
1128 | 42 | const std::vector<expr*>& dotVars) | ||
1129 | 40 | : | 43 | : |
1130 | 41 | expr(ccb, sctx, udf, loc, dynamic_function_invocation_expr_kind), | 44 | expr(ccb, sctx, udf, loc, dynamic_function_invocation_expr_kind), |
1131 | 42 | theExpr(anExpr), | 45 | theExpr(anExpr), |
1133 | 43 | theArgs(args) | 46 | theArgs(args), |
1134 | 47 | theDotVars(dotVars) | ||
1135 | 44 | { | 48 | { |
1136 | 45 | assert(anExpr != 0); | 49 | assert(anExpr != 0); |
1137 | 46 | compute_scripting_kind(); | 50 | compute_scripting_kind(); |
1138 | @@ -61,7 +65,19 @@ | |||
1139 | 61 | 65 | ||
1140 | 62 | ********************************************************************************/ | 66 | ********************************************************************************/ |
1141 | 63 | 67 | ||
1143 | 64 | DEF_EXPR_ACCEPT (function_item_expr) | 68 | DEF_EXPR_ACCEPT (argument_placeholder_expr); |
1144 | 69 | |||
1145 | 70 | void argument_placeholder_expr::compute_scripting_kind() | ||
1146 | 71 | { | ||
1147 | 72 | theScriptingKind = SIMPLE_EXPR; | ||
1148 | 73 | } | ||
1149 | 74 | |||
1150 | 75 | |||
1151 | 76 | /******************************************************************************* | ||
1152 | 77 | |||
1153 | 78 | ********************************************************************************/ | ||
1154 | 79 | |||
1155 | 80 | DEF_EXPR_ACCEPT (function_item_expr); | ||
1156 | 65 | 81 | ||
1157 | 66 | 82 | ||
1158 | 67 | function_item_expr::function_item_expr( | 83 | function_item_expr::function_item_expr( |
1159 | @@ -69,17 +85,29 @@ | |||
1160 | 69 | static_context* sctx, | 85 | static_context* sctx, |
1161 | 70 | user_function* udf, | 86 | user_function* udf, |
1162 | 71 | const QueryLoc& loc, | 87 | const QueryLoc& loc, |
1164 | 72 | const store::Item* aQName, | 88 | static_context* closureSctx, |
1165 | 73 | function* f, | 89 | function* f, |
1167 | 74 | uint32_t aArity) | 90 | store::Item* aQName, |
1168 | 91 | uint32_t aArity, | ||
1169 | 92 | bool isInline, | ||
1170 | 93 | bool needsContextItem) | ||
1171 | 75 | : | 94 | : |
1172 | 76 | expr(ccb, sctx, udf, loc, function_item_expr_kind), | 95 | expr(ccb, sctx, udf, loc, function_item_expr_kind), |
1176 | 77 | theQName(const_cast<store::Item*>(aQName)), | 96 | theDynamicFunctionInfo(new DynamicFunctionInfo( |
1177 | 78 | theFunction(f), | 97 | // ccb, |
1178 | 79 | theArity(aArity) | 98 | closureSctx, |
1179 | 99 | loc, | ||
1180 | 100 | f, | ||
1181 | 101 | aQName, | ||
1182 | 102 | aArity, | ||
1183 | 103 | isInline, | ||
1184 | 104 | needsContextItem)) | ||
1185 | 80 | { | 105 | { |
1186 | 81 | assert(f != NULL); | 106 | assert(f != NULL); |
1187 | 82 | compute_scripting_kind(); | 107 | compute_scripting_kind(); |
1188 | 108 | |||
1189 | 109 | // std::cerr << "--> created function_item_expr: " << this // << " with DynamicFunctionInfo: " << theDynamicFunctionInfo << " counter: " << theDynamicFunctionInfo->getRefCount() | ||
1190 | 110 | // << std::endl; | ||
1191 | 83 | } | 111 | } |
1192 | 84 | 112 | ||
1193 | 85 | 113 | ||
1194 | @@ -87,46 +115,46 @@ | |||
1195 | 87 | CompilerCB* ccb, | 115 | CompilerCB* ccb, |
1196 | 88 | static_context* sctx, | 116 | static_context* sctx, |
1197 | 89 | user_function* udf, | 117 | user_function* udf, |
1199 | 90 | const QueryLoc& loc) | 118 | const QueryLoc& loc, |
1200 | 119 | static_context* closureSctx, | ||
1201 | 120 | bool isInline, | ||
1202 | 121 | bool needsContextItem) | ||
1203 | 91 | : | 122 | : |
1204 | 92 | expr(ccb, sctx, udf, loc, function_item_expr_kind), | 123 | expr(ccb, sctx, udf, loc, function_item_expr_kind), |
1208 | 93 | theQName(0), | 124 | theDynamicFunctionInfo(new DynamicFunctionInfo( |
1209 | 94 | theFunction(NULL), | 125 | // ccb, |
1210 | 95 | theArity(0) | 126 | closureSctx, |
1211 | 127 | loc, | ||
1212 | 128 | NULL, | ||
1213 | 129 | NULL, | ||
1214 | 130 | 0, | ||
1215 | 131 | isInline, | ||
1216 | 132 | needsContextItem)) | ||
1217 | 96 | { | 133 | { |
1218 | 97 | theScriptingKind = SIMPLE_EXPR; | 134 | theScriptingKind = SIMPLE_EXPR; |
1219 | 135 | // std::cerr << "--> created function_item_expr: " << this // << " with DynamicFunctionInfo: " << theDynamicFunctionInfo << " counter: " << theDynamicFunctionInfo->getRefCount() | ||
1220 | 136 | // << std::endl; | ||
1221 | 98 | } | 137 | } |
1222 | 99 | 138 | ||
1223 | 100 | 139 | ||
1224 | 101 | function_item_expr::~function_item_expr() | 140 | function_item_expr::~function_item_expr() |
1225 | 102 | { | 141 | { |
1253 | 103 | } | 142 | // std::cerr << "--> deleted ~function_item_expr: " << this // << " with DynamicFunctionInfo: " << theDynamicFunctionInfo << " counter: " << theDynamicFunctionInfo->getRefCount() |
1254 | 104 | 143 | // << std::endl; | |
1255 | 105 | 144 | } | |
1256 | 106 | user_function* function_item_expr::get_function() const | 145 | |
1257 | 107 | { | 146 | void function_item_expr::add_variable(expr* var, var_expr* substVar, const store::Item_t& name, int isGlobal) |
1258 | 108 | assert(theFunction->isUdf()); | 147 | { |
1259 | 109 | return static_cast<user_function*>(theFunction.getp()); | 148 | theDynamicFunctionInfo->add_variable(var, substVar, name, isGlobal); |
1260 | 110 | } | 149 | } |
1261 | 111 | 150 | ||
1262 | 112 | 151 | ||
1263 | 113 | void function_item_expr::add_variable(expr* var) | 152 | void function_item_expr::set_function(user_function* udf) |
1264 | 114 | { | 153 | { |
1265 | 115 | theScopedVariables.push_back(var); | 154 | theDynamicFunctionInfo->theFunction = udf; |
1266 | 116 | } | 155 | theDynamicFunctionInfo->theArity = udf->getArity(); |
1267 | 117 | 156 | theDynamicFunctionInfo->theQName = udf->getName(); | |
1268 | 118 | 157 | // compute_scripting_kind(); | |
1242 | 119 | const std::vector<expr*>& function_item_expr::get_vars() const | ||
1243 | 120 | { | ||
1244 | 121 | return theScopedVariables; | ||
1245 | 122 | } | ||
1246 | 123 | |||
1247 | 124 | |||
1248 | 125 | void function_item_expr::set_function(user_function_t& udf) | ||
1249 | 126 | { | ||
1250 | 127 | theFunction = udf; | ||
1251 | 128 | theArity = udf->getArity(); | ||
1252 | 129 | compute_scripting_kind(); | ||
1269 | 130 | } | 158 | } |
1270 | 131 | 159 | ||
1271 | 132 | 160 | ||
1272 | @@ -136,6 +164,17 @@ | |||
1273 | 136 | theScriptingKind = SIMPLE_EXPR; | 164 | theScriptingKind = SIMPLE_EXPR; |
1274 | 137 | } | 165 | } |
1275 | 138 | 166 | ||
1276 | 167 | store::Item_t function_item_expr::create_inline_fname(const QueryLoc& loc) | ||
1277 | 168 | { | ||
1278 | 169 | store::Item_t name; | ||
1279 | 170 | std::stringstream ss; | ||
1280 | 171 | ss << "inline function("; | ||
1281 | 172 | ss << loc; | ||
1282 | 173 | ss << ")"; | ||
1283 | 174 | GENV_ITEMFACTORY->createQName(name, "", "", ss.str()); | ||
1284 | 175 | return name; | ||
1285 | 176 | } | ||
1286 | 177 | |||
1287 | 139 | 178 | ||
1288 | 140 | }//end of namespace | 179 | }//end of namespace |
1289 | 141 | /* vim:set et sw=2 ts=2: */ | 180 | /* vim:set et sw=2 ts=2: */ |
1290 | 142 | 181 | ||
1291 | === modified file 'src/compiler/expression/function_item_expr.h' | |||
1292 | --- src/compiler/expression/function_item_expr.h 2013-02-07 17:24:36 +0000 | |||
1293 | +++ src/compiler/expression/function_item_expr.h 2013-03-05 00:47:22 +0000 | |||
1294 | @@ -23,9 +23,38 @@ | |||
1295 | 23 | 23 | ||
1296 | 24 | #include "store/naive/shared_types.h" | 24 | #include "store/naive/shared_types.h" |
1297 | 25 | 25 | ||
1298 | 26 | #include "runtime/function_item/function_item.h" | ||
1299 | 27 | |||
1300 | 28 | |||
1301 | 26 | namespace zorba { | 29 | namespace zorba { |
1302 | 27 | 30 | ||
1303 | 28 | /******************************************************************************* | 31 | /******************************************************************************* |
1304 | 32 | [133] ArgumentPlaceholder ::= "?" | ||
1305 | 33 | ********************************************************************************/ | ||
1306 | 34 | class argument_placeholder_expr : public expr | ||
1307 | 35 | { | ||
1308 | 36 | friend class ExprIterator; | ||
1309 | 37 | friend class expr; | ||
1310 | 38 | friend class ExprManager; | ||
1311 | 39 | |||
1312 | 40 | protected: | ||
1313 | 41 | argument_placeholder_expr(CompilerCB* ccb, static_context* sctx, user_function* udf, const QueryLoc& loc) | ||
1314 | 42 | : | ||
1315 | 43 | expr(ccb, sctx, udf, loc, argument_placeholder_expr_kind) | ||
1316 | 44 | { | ||
1317 | 45 | compute_scripting_kind(); | ||
1318 | 46 | } | ||
1319 | 47 | |||
1320 | 48 | public: | ||
1321 | 49 | void compute_scripting_kind(); | ||
1322 | 50 | |||
1323 | 51 | void accept(expr_visitor&); | ||
1324 | 52 | |||
1325 | 53 | std::ostream& put(std::ostream& os) const; | ||
1326 | 54 | }; | ||
1327 | 55 | |||
1328 | 56 | |||
1329 | 57 | /******************************************************************************* | ||
1330 | 29 | 58 | ||
1331 | 30 | [121] FilterExpr ::= PrimaryExpr (Predicate | DynamicFunctionInvocation)* | 59 | [121] FilterExpr ::= PrimaryExpr (Predicate | DynamicFunctionInvocation)* |
1332 | 31 | 60 | ||
1333 | @@ -43,20 +72,24 @@ | |||
1334 | 43 | protected: | 72 | protected: |
1335 | 44 | expr * theExpr; | 73 | expr * theExpr; |
1336 | 45 | std::vector<expr*> theArgs; | 74 | std::vector<expr*> theArgs; |
1337 | 75 | |||
1338 | 76 | std::vector<expr*> theDotVars; // context item vars | ||
1339 | 46 | 77 | ||
1340 | 47 | protected: | 78 | protected: |
1343 | 48 | dynamic_function_invocation_expr( | 79 | dynamic_function_invocation_expr(CompilerCB* ccb, |
1342 | 49 | CompilerCB* ccb, | ||
1344 | 50 | static_context* sctx, | 80 | static_context* sctx, |
1345 | 51 | user_function* udf, | 81 | user_function* udf, |
1346 | 52 | const QueryLoc& loc, | 82 | const QueryLoc& loc, |
1347 | 53 | expr* anExpr, | 83 | expr* anExpr, |
1349 | 54 | const std::vector<expr*>& args); | 84 | const std::vector<expr*>& args, |
1350 | 85 | const std::vector<expr*>& dotVars); | ||
1351 | 55 | 86 | ||
1352 | 56 | public: | 87 | public: |
1353 | 57 | const expr* get_function() const { return theExpr; } | 88 | const expr* get_function() const { return theExpr; } |
1354 | 58 | 89 | ||
1355 | 59 | const std::vector<expr*>& get_args() const { return theArgs; } | 90 | const std::vector<expr*>& get_args() const { return theArgs; } |
1356 | 91 | |||
1357 | 92 | const std::vector<expr*>& get_dot_vars() const { return theDotVars; } | ||
1358 | 60 | 93 | ||
1359 | 61 | void compute_scripting_kind(); | 94 | void compute_scripting_kind(); |
1360 | 62 | 95 | ||
1361 | @@ -74,10 +107,6 @@ | |||
1362 | 74 | 107 | ||
1363 | 75 | InlineFunction ::= "function" "(" ParamList? ")" ("as" SequenceType)? EnclosedExpr | 108 | InlineFunction ::= "function" "(" ParamList? ")" ("as" SequenceType)? EnclosedExpr |
1364 | 76 | 109 | ||
1365 | 77 | theQName : | ||
1366 | 78 | NULL in case of inline function. Otherwise, the qname of the named function | ||
1367 | 79 | in the LiteralFunctionItem. | ||
1368 | 80 | |||
1369 | 81 | theFunction : | 110 | theFunction : |
1370 | 82 | This is always a pointer to a user_function obj. In case of an inline function | 111 | This is always a pointer to a user_function obj. In case of an inline function |
1371 | 83 | expr, it is an anonymous user_function obj that is created on-the-fly by the | 112 | expr, it is an anonymous user_function obj that is created on-the-fly by the |
1372 | @@ -103,50 +132,66 @@ | |||
1373 | 103 | friend class expr; | 132 | friend class expr; |
1374 | 104 | friend class ExprManager; | 133 | friend class ExprManager; |
1375 | 105 | 134 | ||
1384 | 106 | private: | 135 | protected: |
1385 | 107 | store::Item_t theQName; | 136 | DynamicFunctionInfo_t theDynamicFunctionInfo; |
1386 | 108 | function_t theFunction; | 137 | |
1379 | 109 | uint32_t theArity; | ||
1380 | 110 | std::vector<expr*> theScopedVariables; | ||
1381 | 111 | |||
1382 | 112 | public: | ||
1383 | 113 | |||
1387 | 114 | protected: | 138 | protected: |
1388 | 115 | function_item_expr( | 139 | function_item_expr( |
1389 | 116 | CompilerCB* ccb, | 140 | CompilerCB* ccb, |
1390 | 117 | static_context* sctx, | 141 | static_context* sctx, |
1391 | 118 | user_function* udf, | 142 | user_function* udf, |
1392 | 119 | const QueryLoc& loc, | 143 | const QueryLoc& loc, |
1394 | 120 | const store::Item* aQName, | 144 | static_context* closureSctx, |
1395 | 121 | function* f, | 145 | function* f, |
1397 | 122 | uint32_t aArity); | 146 | store::Item* aQName, |
1398 | 147 | uint32_t aArity, | ||
1399 | 148 | bool isInline, | ||
1400 | 149 | bool needsContextItem); | ||
1401 | 123 | 150 | ||
1402 | 124 | function_item_expr( | 151 | function_item_expr( |
1403 | 125 | CompilerCB* ccb, | 152 | CompilerCB* ccb, |
1404 | 126 | static_context* sctx, | 153 | static_context* sctx, |
1405 | 127 | user_function* udf, | 154 | user_function* udf, |
1408 | 128 | const QueryLoc& loc); | 155 | const QueryLoc& loc, |
1409 | 129 | 156 | static_context* closureSctx, | |
1410 | 157 | bool isInline, | ||
1411 | 158 | bool needsContextItem); | ||
1412 | 159 | |||
1413 | 160 | virtual ~function_item_expr(); | ||
1414 | 161 | |||
1415 | 130 | public: | 162 | public: |
1429 | 131 | ~function_item_expr(); | 163 | DynamicFunctionInfo* get_dynamic_fn_info() { return theDynamicFunctionInfo; } |
1430 | 132 | 164 | ||
1431 | 133 | void add_variable(expr* var); | 165 | void add_variable(expr* var, var_expr* substVar, const store::Item_t& name, int isGlobal); |
1432 | 134 | 166 | ||
1433 | 135 | void set_function(user_function_t& udf); | 167 | const std::vector<var_expr*>& get_subst_vars_values() const { return theDynamicFunctionInfo->theSubstVarsValues; } |
1434 | 136 | 168 | ||
1435 | 137 | user_function* get_function() const; | 169 | const std::vector<store::Item_t>& get_scoped_vars_names() const { return theDynamicFunctionInfo->theScopedVarsNames; } |
1436 | 138 | 170 | ||
1437 | 139 | const store::Item_t& get_qname() const { return theQName; } | 171 | const std::vector<int>& get_is_global_var() const { return theDynamicFunctionInfo->theIsGlobalVar; } |
1438 | 140 | 172 | ||
1439 | 141 | uint32_t get_arity() const { return theArity; } | 173 | void set_function(user_function* udf); |
1440 | 142 | 174 | ||
1441 | 143 | const std::vector<expr*>& get_vars() const; | 175 | function* get_function() const { return theDynamicFunctionInfo->theFunction; } |
1442 | 176 | |||
1443 | 177 | const store::Item_t& get_qname() const { return theDynamicFunctionInfo->theQName; } | ||
1444 | 178 | |||
1445 | 179 | uint32_t get_arity() const { return theDynamicFunctionInfo->theArity; } | ||
1446 | 180 | |||
1447 | 181 | bool is_inline() const { return theDynamicFunctionInfo->theIsInline; } | ||
1448 | 182 | |||
1449 | 183 | bool needs_context_item() const { return theDynamicFunctionInfo->theNeedsContextItem; } | ||
1450 | 144 | 184 | ||
1451 | 145 | void compute_scripting_kind(); | 185 | void compute_scripting_kind(); |
1452 | 146 | 186 | ||
1453 | 147 | void accept(expr_visitor&); | 187 | void accept(expr_visitor&); |
1454 | 148 | 188 | ||
1455 | 149 | std::ostream& put(std::ostream& os) const; | 189 | std::ostream& put(std::ostream& os) const; |
1456 | 190 | |||
1457 | 191 | public: | ||
1458 | 192 | // Given a location, will create an inline function name string such | ||
1459 | 193 | // as "inline function(loc)" | ||
1460 | 194 | static store::Item_t create_inline_fname(const QueryLoc& loc); | ||
1461 | 150 | }; | 195 | }; |
1462 | 151 | 196 | ||
1463 | 152 | } //end of namespace | 197 | } //end of namespace |
1464 | 153 | 198 | ||
1465 | === modified file 'src/compiler/expression/var_expr.cpp' | |||
1466 | --- src/compiler/expression/var_expr.cpp 2013-02-07 17:24:36 +0000 | |||
1467 | +++ src/compiler/expression/var_expr.cpp 2013-03-05 00:47:22 +0000 | |||
1468 | @@ -53,6 +53,7 @@ | |||
1469 | 53 | case count_var: return "CNT"; break; | 53 | case count_var: return "CNT"; break; |
1470 | 54 | case score_var: return "SCORE"; break; | 54 | case score_var: return "SCORE"; break; |
1471 | 55 | case prolog_var: return "PROLOG"; break; | 55 | case prolog_var: return "PROLOG"; break; |
1472 | 56 | case hof_var: return "HOF"; break; | ||
1473 | 56 | case local_var: return "LOCAL"; break; | 57 | case local_var: return "LOCAL"; break; |
1474 | 57 | case catch_var: return "CATCH"; break; | 58 | case catch_var: return "CATCH"; break; |
1475 | 58 | case copy_var: return "COPY"; break; | 59 | case copy_var: return "COPY"; break; |
1476 | @@ -315,7 +316,7 @@ | |||
1477 | 315 | ********************************************************************************/ | 316 | ********************************************************************************/ |
1478 | 316 | void var_expr::remove_set_expr(expr* e) | 317 | void var_expr::remove_set_expr(expr* e) |
1479 | 317 | { | 318 | { |
1481 | 318 | assert(theVarKind == local_var || theVarKind == prolog_var); | 319 | assert(theVarKind == local_var || theVarKind == prolog_var || theVarKind == hof_var); |
1482 | 319 | 320 | ||
1483 | 320 | bool found = false; | 321 | bool found = false; |
1484 | 321 | VarSetExprs::iterator ite = theSetExprs.begin(); | 322 | VarSetExprs::iterator ite = theSetExprs.begin(); |
1485 | 322 | 323 | ||
1486 | === modified file 'src/compiler/expression/var_expr.h' | |||
1487 | --- src/compiler/expression/var_expr.h 2013-02-21 16:34:45 +0000 | |||
1488 | +++ src/compiler/expression/var_expr.h 2013-03-05 00:47:22 +0000 | |||
1489 | @@ -152,6 +152,8 @@ | |||
1490 | 152 | 152 | ||
1491 | 153 | prolog_var, | 153 | prolog_var, |
1492 | 154 | 154 | ||
1493 | 155 | hof_var, // used by HoF functions, behaves similarly to prolog vars | ||
1494 | 156 | |||
1495 | 155 | local_var, | 157 | local_var, |
1496 | 156 | 158 | ||
1497 | 157 | arg_var | 159 | arg_var |
1498 | 158 | 160 | ||
1499 | === modified file 'src/compiler/parser/xquery_parser.cpp' | |||
1500 | --- src/compiler/parser/xquery_parser.cpp 2013-02-07 17:24:36 +0000 | |||
1501 | +++ src/compiler/parser/xquery_parser.cpp 2013-03-05 00:47:22 +0000 | |||
1502 | @@ -1,10 +1,8 @@ | |||
1505 | 1 | 1 | /* A Bison parser, made by GNU Bison 2.5. */ | |
1504 | 2 | /* A Bison parser, made by GNU Bison 2.4.1. */ | ||
1506 | 3 | 2 | ||
1507 | 4 | /* Skeleton implementation for Bison LALR(1) parsers in C++ | 3 | /* Skeleton implementation for Bison LALR(1) parsers in C++ |
1508 | 5 | 4 | ||
1511 | 6 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software | 5 | Copyright (C) 2002-2011 Free Software Foundation, Inc. |
1510 | 7 | Foundation, Inc. | ||
1512 | 8 | 6 | ||
1513 | 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 |
1514 | 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 |
1515 | @@ -37,8 +35,8 @@ | |||
1516 | 37 | 35 | ||
1517 | 38 | /* First part of user declarations. */ | 36 | /* First part of user declarations. */ |
1518 | 39 | 37 | ||
1521 | 40 | /* Line 311 of lalr1.cc */ | 38 | /* Line 293 of lalr1.cc */ |
1522 | 41 | #line 87 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 39 | #line 87 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1523 | 42 | 40 | ||
1524 | 43 | 41 | ||
1525 | 44 | #include "common/common.h" | 42 | #include "common/common.h" |
1526 | @@ -74,16 +72,16 @@ | |||
1527 | 74 | 72 | ||
1528 | 75 | 73 | ||
1529 | 76 | 74 | ||
1532 | 77 | /* Line 311 of lalr1.cc */ | 75 | /* Line 293 of lalr1.cc */ |
1533 | 78 | #line 79 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 76 | #line 77 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1534 | 79 | 77 | ||
1535 | 80 | 78 | ||
1536 | 81 | #include "xquery_parser.hpp" | 79 | #include "xquery_parser.hpp" |
1537 | 82 | 80 | ||
1538 | 83 | /* User implementation prologue. */ | 81 | /* User implementation prologue. */ |
1539 | 84 | 82 | ||
1542 | 85 | /* Line 317 of lalr1.cc */ | 83 | /* Line 299 of lalr1.cc */ |
1543 | 86 | #line 911 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 84 | #line 911 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1544 | 87 | 85 | ||
1545 | 88 | // HACK to trigger rchandle release: rchandles are freed when refcount == 0 | 86 | // HACK to trigger rchandle release: rchandles are freed when refcount == 0 |
1546 | 89 | // (not <= 0); but Bison never increments the refcount, so we do it manually... | 87 | // (not <= 0); but Bison never increments the refcount, so we do it manually... |
1547 | @@ -94,8 +92,8 @@ | |||
1548 | 94 | } | 92 | } |
1549 | 95 | } | 93 | } |
1550 | 96 | 94 | ||
1553 | 97 | /* Line 317 of lalr1.cc */ | 95 | /* Line 299 of lalr1.cc */ |
1554 | 98 | #line 1036 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 96 | #line 1036 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1555 | 99 | 97 | ||
1556 | 100 | #include "compiler/parser/xquery_scanner.h" | 98 | #include "compiler/parser/xquery_scanner.h" |
1557 | 101 | 99 | ||
1558 | @@ -104,11 +102,11 @@ | |||
1559 | 104 | 102 | ||
1560 | 105 | 103 | ||
1561 | 106 | 104 | ||
1564 | 107 | /* Line 317 of lalr1.cc */ | 105 | /* Line 299 of lalr1.cc */ |
1565 | 108 | #line 109 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 106 | #line 107 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1566 | 109 | 107 | ||
1567 | 110 | #ifndef YY_ | 108 | #ifndef YY_ |
1569 | 111 | # if YYENABLE_NLS | 109 | # if defined YYENABLE_NLS && YYENABLE_NLS |
1570 | 112 | # if ENABLE_NLS | 110 | # if ENABLE_NLS |
1571 | 113 | # include <libintl.h> /* FIXME: INFRINGES ON USER NAME SPACE */ | 111 | # include <libintl.h> /* FIXME: INFRINGES ON USER NAME SPACE */ |
1572 | 114 | # define YY_(msgid) dgettext ("bison-runtime", msgid) | 112 | # define YY_(msgid) dgettext ("bison-runtime", msgid) |
1573 | @@ -119,6 +117,26 @@ | |||
1574 | 119 | # endif | 117 | # endif |
1575 | 120 | #endif | 118 | #endif |
1576 | 121 | 119 | ||
1577 | 120 | /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. | ||
1578 | 121 | If N is 0, then set CURRENT to the empty location which ends | ||
1579 | 122 | the previous symbol: RHS[0] (always defined). */ | ||
1580 | 123 | |||
1581 | 124 | #define YYRHSLOC(Rhs, K) ((Rhs)[K]) | ||
1582 | 125 | #ifndef YYLLOC_DEFAULT | ||
1583 | 126 | # define YYLLOC_DEFAULT(Current, Rhs, N) \ | ||
1584 | 127 | do \ | ||
1585 | 128 | if (N) \ | ||
1586 | 129 | { \ | ||
1587 | 130 | (Current).begin = YYRHSLOC (Rhs, 1).begin; \ | ||
1588 | 131 | (Current).end = YYRHSLOC (Rhs, N).end; \ | ||
1589 | 132 | } \ | ||
1590 | 133 | else \ | ||
1591 | 134 | { \ | ||
1592 | 135 | (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end; \ | ||
1593 | 136 | } \ | ||
1594 | 137 | while (false) | ||
1595 | 138 | #endif | ||
1596 | 139 | |||
1597 | 122 | /* Suppress unused-variable warnings by "using" E. */ | 140 | /* Suppress unused-variable warnings by "using" E. */ |
1598 | 123 | #define YYUSE(e) ((void) (e)) | 141 | #define YYUSE(e) ((void) (e)) |
1599 | 124 | 142 | ||
1600 | @@ -168,14 +186,10 @@ | |||
1601 | 168 | #define YYRECOVERING() (!!yyerrstatus_) | 186 | #define YYRECOVERING() (!!yyerrstatus_) |
1602 | 169 | 187 | ||
1603 | 170 | 188 | ||
1604 | 171 | /* Line 380 of lalr1.cc */ | ||
1605 | 172 | #line 1 "[Bison:b4_percent_define_default]" | ||
1606 | 173 | |||
1607 | 174 | namespace zorba { | 189 | namespace zorba { |
1608 | 175 | 190 | ||
1612 | 176 | /* Line 380 of lalr1.cc */ | 191 | /* Line 382 of lalr1.cc */ |
1613 | 177 | #line 178 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 192 | #line 193 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1611 | 178 | #if YYERROR_VERBOSE | ||
1614 | 179 | 193 | ||
1615 | 180 | /* Return YYSTR after stripping away unnecessary quotes and | 194 | /* Return YYSTR after stripping away unnecessary quotes and |
1616 | 181 | backslashes, so that it's suitable for yyerror. The heuristic is | 195 | backslashes, so that it's suitable for yyerror. The heuristic is |
1617 | @@ -214,7 +228,6 @@ | |||
1618 | 214 | return yystr; | 228 | return yystr; |
1619 | 215 | } | 229 | } |
1620 | 216 | 230 | ||
1621 | 217 | #endif | ||
1622 | 218 | 231 | ||
1623 | 219 | /// Build a parser object. | 232 | /// Build a parser object. |
1624 | 220 | xquery_parser::xquery_parser (xquery_driver& driver_yyarg) | 233 | xquery_parser::xquery_parser (xquery_driver& driver_yyarg) |
1625 | @@ -277,2540 +290,2540 @@ | |||
1626 | 277 | case 110: /* "\"'DECIMAL'\"" */ | 290 | case 110: /* "\"'DECIMAL'\"" */ |
1627 | 278 | 291 | ||
1628 | 279 | /* Line 480 of lalr1.cc */ | 292 | /* Line 480 of lalr1.cc */ |
1630 | 280 | #line 909 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 293 | #line 909 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1631 | 281 | { delete (yyvaluep->decval); }; | 294 | { delete (yyvaluep->decval); }; |
1632 | 282 | 295 | ||
1633 | 283 | /* Line 480 of lalr1.cc */ | 296 | /* Line 480 of lalr1.cc */ |
1635 | 284 | #line 285 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 297 | #line 298 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1636 | 285 | break; | 298 | break; |
1637 | 286 | case 124: /* "\"'DOUBLE'\"" */ | 299 | case 124: /* "\"'DOUBLE'\"" */ |
1638 | 287 | 300 | ||
1639 | 288 | /* Line 480 of lalr1.cc */ | 301 | /* Line 480 of lalr1.cc */ |
1641 | 289 | #line 908 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 302 | #line 908 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1642 | 290 | { delete (yyvaluep->dval); }; | 303 | { delete (yyvaluep->dval); }; |
1643 | 291 | 304 | ||
1644 | 292 | /* Line 480 of lalr1.cc */ | 305 | /* Line 480 of lalr1.cc */ |
1646 | 293 | #line 294 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 306 | #line 307 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1647 | 294 | break; | 307 | break; |
1648 | 295 | case 149: /* "\"'INTEGER'\"" */ | 308 | case 149: /* "\"'INTEGER'\"" */ |
1649 | 296 | 309 | ||
1650 | 297 | /* Line 480 of lalr1.cc */ | 310 | /* Line 480 of lalr1.cc */ |
1652 | 298 | #line 907 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 311 | #line 907 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1653 | 299 | { delete (yyvaluep->ival); }; | 312 | { delete (yyvaluep->ival); }; |
1654 | 300 | 313 | ||
1655 | 301 | /* Line 480 of lalr1.cc */ | 314 | /* Line 480 of lalr1.cc */ |
1657 | 302 | #line 303 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 315 | #line 316 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1658 | 303 | break; | 316 | break; |
1659 | 304 | case 338: /* "VersionDecl" */ | 317 | case 338: /* "VersionDecl" */ |
1660 | 305 | 318 | ||
1661 | 306 | /* Line 480 of lalr1.cc */ | 319 | /* Line 480 of lalr1.cc */ |
1663 | 307 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 320 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1664 | 308 | { release_hack( (yyvaluep->node) ); }; | 321 | { release_hack( (yyvaluep->node) ); }; |
1665 | 309 | 322 | ||
1666 | 310 | /* Line 480 of lalr1.cc */ | 323 | /* Line 480 of lalr1.cc */ |
1668 | 311 | #line 312 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 324 | #line 325 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1669 | 312 | break; | 325 | break; |
1670 | 313 | case 339: /* "MainModule" */ | 326 | case 339: /* "MainModule" */ |
1671 | 314 | 327 | ||
1672 | 315 | /* Line 480 of lalr1.cc */ | 328 | /* Line 480 of lalr1.cc */ |
1674 | 316 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 329 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1675 | 317 | { release_hack( (yyvaluep->node) ); }; | 330 | { release_hack( (yyvaluep->node) ); }; |
1676 | 318 | 331 | ||
1677 | 319 | /* Line 480 of lalr1.cc */ | 332 | /* Line 480 of lalr1.cc */ |
1679 | 320 | #line 321 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 333 | #line 334 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1680 | 321 | break; | 334 | break; |
1681 | 322 | case 340: /* "LibraryModule" */ | 335 | case 340: /* "LibraryModule" */ |
1682 | 323 | 336 | ||
1683 | 324 | /* Line 480 of lalr1.cc */ | 337 | /* Line 480 of lalr1.cc */ |
1685 | 325 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 338 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1686 | 326 | { release_hack( (yyvaluep->node) ); }; | 339 | { release_hack( (yyvaluep->node) ); }; |
1687 | 327 | 340 | ||
1688 | 328 | /* Line 480 of lalr1.cc */ | 341 | /* Line 480 of lalr1.cc */ |
1690 | 329 | #line 330 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 342 | #line 343 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1691 | 330 | break; | 343 | break; |
1692 | 331 | case 341: /* "ModuleDecl" */ | 344 | case 341: /* "ModuleDecl" */ |
1693 | 332 | 345 | ||
1694 | 333 | /* Line 480 of lalr1.cc */ | 346 | /* Line 480 of lalr1.cc */ |
1696 | 334 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 347 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1697 | 335 | { release_hack( (yyvaluep->node) ); }; | 348 | { release_hack( (yyvaluep->node) ); }; |
1698 | 336 | 349 | ||
1699 | 337 | /* Line 480 of lalr1.cc */ | 350 | /* Line 480 of lalr1.cc */ |
1701 | 338 | #line 339 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 351 | #line 352 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1702 | 339 | break; | 352 | break; |
1703 | 340 | case 342: /* "SIND_DeclList" */ | 353 | case 342: /* "SIND_DeclList" */ |
1704 | 341 | 354 | ||
1705 | 342 | /* Line 480 of lalr1.cc */ | 355 | /* Line 480 of lalr1.cc */ |
1707 | 343 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 356 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1708 | 344 | { release_hack( (yyvaluep->node) ); }; | 357 | { release_hack( (yyvaluep->node) ); }; |
1709 | 345 | 358 | ||
1710 | 346 | /* Line 480 of lalr1.cc */ | 359 | /* Line 480 of lalr1.cc */ |
1712 | 347 | #line 348 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 360 | #line 361 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1713 | 348 | break; | 361 | break; |
1714 | 349 | case 343: /* "SIND_Decl" */ | 362 | case 343: /* "SIND_Decl" */ |
1715 | 350 | 363 | ||
1716 | 351 | /* Line 480 of lalr1.cc */ | 364 | /* Line 480 of lalr1.cc */ |
1718 | 352 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 365 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1719 | 353 | { release_hack( (yyvaluep->node) ); }; | 366 | { release_hack( (yyvaluep->node) ); }; |
1720 | 354 | 367 | ||
1721 | 355 | /* Line 480 of lalr1.cc */ | 368 | /* Line 480 of lalr1.cc */ |
1723 | 356 | #line 357 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 369 | #line 370 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1724 | 357 | break; | 370 | break; |
1725 | 358 | case 344: /* "Setter" */ | 371 | case 344: /* "Setter" */ |
1726 | 359 | 372 | ||
1727 | 360 | /* Line 480 of lalr1.cc */ | 373 | /* Line 480 of lalr1.cc */ |
1729 | 361 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 374 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1730 | 362 | { release_hack( (yyvaluep->node) ); }; | 375 | { release_hack( (yyvaluep->node) ); }; |
1731 | 363 | 376 | ||
1732 | 364 | /* Line 480 of lalr1.cc */ | 377 | /* Line 480 of lalr1.cc */ |
1734 | 365 | #line 366 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 378 | #line 379 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1735 | 366 | break; | 379 | break; |
1736 | 367 | case 345: /* "BoundarySpaceDecl" */ | 380 | case 345: /* "BoundarySpaceDecl" */ |
1737 | 368 | 381 | ||
1738 | 369 | /* Line 480 of lalr1.cc */ | 382 | /* Line 480 of lalr1.cc */ |
1740 | 370 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 383 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1741 | 371 | { release_hack( (yyvaluep->node) ); }; | 384 | { release_hack( (yyvaluep->node) ); }; |
1742 | 372 | 385 | ||
1743 | 373 | /* Line 480 of lalr1.cc */ | 386 | /* Line 480 of lalr1.cc */ |
1745 | 374 | #line 375 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 387 | #line 388 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1746 | 375 | break; | 388 | break; |
1747 | 376 | case 346: /* "DefaultCollationDecl" */ | 389 | case 346: /* "DefaultCollationDecl" */ |
1748 | 377 | 390 | ||
1749 | 378 | /* Line 480 of lalr1.cc */ | 391 | /* Line 480 of lalr1.cc */ |
1751 | 379 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 392 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1752 | 380 | { release_hack( (yyvaluep->node) ); }; | 393 | { release_hack( (yyvaluep->node) ); }; |
1753 | 381 | 394 | ||
1754 | 382 | /* Line 480 of lalr1.cc */ | 395 | /* Line 480 of lalr1.cc */ |
1756 | 383 | #line 384 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 396 | #line 397 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1757 | 384 | break; | 397 | break; |
1758 | 385 | case 347: /* "BaseURIDecl" */ | 398 | case 347: /* "BaseURIDecl" */ |
1759 | 386 | 399 | ||
1760 | 387 | /* Line 480 of lalr1.cc */ | 400 | /* Line 480 of lalr1.cc */ |
1762 | 388 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 401 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1763 | 389 | { release_hack( (yyvaluep->node) ); }; | 402 | { release_hack( (yyvaluep->node) ); }; |
1764 | 390 | 403 | ||
1765 | 391 | /* Line 480 of lalr1.cc */ | 404 | /* Line 480 of lalr1.cc */ |
1767 | 392 | #line 393 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 405 | #line 406 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1768 | 393 | break; | 406 | break; |
1769 | 394 | case 348: /* "ConstructionDecl" */ | 407 | case 348: /* "ConstructionDecl" */ |
1770 | 395 | 408 | ||
1771 | 396 | /* Line 480 of lalr1.cc */ | 409 | /* Line 480 of lalr1.cc */ |
1773 | 397 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 410 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1774 | 398 | { release_hack( (yyvaluep->node) ); }; | 411 | { release_hack( (yyvaluep->node) ); }; |
1775 | 399 | 412 | ||
1776 | 400 | /* Line 480 of lalr1.cc */ | 413 | /* Line 480 of lalr1.cc */ |
1778 | 401 | #line 402 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 414 | #line 415 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1779 | 402 | break; | 415 | break; |
1780 | 403 | case 349: /* "OrderingModeDecl" */ | 416 | case 349: /* "OrderingModeDecl" */ |
1781 | 404 | 417 | ||
1782 | 405 | /* Line 480 of lalr1.cc */ | 418 | /* Line 480 of lalr1.cc */ |
1784 | 406 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 419 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1785 | 407 | { release_hack( (yyvaluep->node) ); }; | 420 | { release_hack( (yyvaluep->node) ); }; |
1786 | 408 | 421 | ||
1787 | 409 | /* Line 480 of lalr1.cc */ | 422 | /* Line 480 of lalr1.cc */ |
1789 | 410 | #line 411 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 423 | #line 424 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1790 | 411 | break; | 424 | break; |
1791 | 412 | case 350: /* "EmptyOrderDecl" */ | 425 | case 350: /* "EmptyOrderDecl" */ |
1792 | 413 | 426 | ||
1793 | 414 | /* Line 480 of lalr1.cc */ | 427 | /* Line 480 of lalr1.cc */ |
1795 | 415 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 428 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1796 | 416 | { release_hack( (yyvaluep->node) ); }; | 429 | { release_hack( (yyvaluep->node) ); }; |
1797 | 417 | 430 | ||
1798 | 418 | /* Line 480 of lalr1.cc */ | 431 | /* Line 480 of lalr1.cc */ |
1800 | 419 | #line 420 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 432 | #line 433 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1801 | 420 | break; | 433 | break; |
1802 | 421 | case 351: /* "CopyNamespacesDecl" */ | 434 | case 351: /* "CopyNamespacesDecl" */ |
1803 | 422 | 435 | ||
1804 | 423 | /* Line 480 of lalr1.cc */ | 436 | /* Line 480 of lalr1.cc */ |
1806 | 424 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 437 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1807 | 425 | { release_hack( (yyvaluep->node) ); }; | 438 | { release_hack( (yyvaluep->node) ); }; |
1808 | 426 | 439 | ||
1809 | 427 | /* Line 480 of lalr1.cc */ | 440 | /* Line 480 of lalr1.cc */ |
1811 | 428 | #line 429 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 441 | #line 442 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1812 | 429 | break; | 442 | break; |
1813 | 430 | case 352: /* "Import" */ | 443 | case 352: /* "Import" */ |
1814 | 431 | 444 | ||
1815 | 432 | /* Line 480 of lalr1.cc */ | 445 | /* Line 480 of lalr1.cc */ |
1817 | 433 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 446 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1818 | 434 | { release_hack( (yyvaluep->node) ); }; | 447 | { release_hack( (yyvaluep->node) ); }; |
1819 | 435 | 448 | ||
1820 | 436 | /* Line 480 of lalr1.cc */ | 449 | /* Line 480 of lalr1.cc */ |
1822 | 437 | #line 438 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 450 | #line 451 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1823 | 438 | break; | 451 | break; |
1824 | 439 | case 353: /* "SchemaImport" */ | 452 | case 353: /* "SchemaImport" */ |
1825 | 440 | 453 | ||
1826 | 441 | /* Line 480 of lalr1.cc */ | 454 | /* Line 480 of lalr1.cc */ |
1828 | 442 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 455 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1829 | 443 | { release_hack( (yyvaluep->node) ); }; | 456 | { release_hack( (yyvaluep->node) ); }; |
1830 | 444 | 457 | ||
1831 | 445 | /* Line 480 of lalr1.cc */ | 458 | /* Line 480 of lalr1.cc */ |
1833 | 446 | #line 447 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 459 | #line 460 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1834 | 447 | break; | 460 | break; |
1835 | 448 | case 354: /* "URILiteralList" */ | 461 | case 354: /* "URILiteralList" */ |
1836 | 449 | 462 | ||
1837 | 450 | /* Line 480 of lalr1.cc */ | 463 | /* Line 480 of lalr1.cc */ |
1839 | 451 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 464 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1840 | 452 | { release_hack( (yyvaluep->node) ); }; | 465 | { release_hack( (yyvaluep->node) ); }; |
1841 | 453 | 466 | ||
1842 | 454 | /* Line 480 of lalr1.cc */ | 467 | /* Line 480 of lalr1.cc */ |
1844 | 455 | #line 456 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 468 | #line 469 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1845 | 456 | break; | 469 | break; |
1846 | 457 | case 355: /* "SchemaPrefix" */ | 470 | case 355: /* "SchemaPrefix" */ |
1847 | 458 | 471 | ||
1848 | 459 | /* Line 480 of lalr1.cc */ | 472 | /* Line 480 of lalr1.cc */ |
1850 | 460 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 473 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1851 | 461 | { release_hack( (yyvaluep->node) ); }; | 474 | { release_hack( (yyvaluep->node) ); }; |
1852 | 462 | 475 | ||
1853 | 463 | /* Line 480 of lalr1.cc */ | 476 | /* Line 480 of lalr1.cc */ |
1855 | 464 | #line 465 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 477 | #line 478 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1856 | 465 | break; | 478 | break; |
1857 | 466 | case 356: /* "ModuleImport" */ | 479 | case 356: /* "ModuleImport" */ |
1858 | 467 | 480 | ||
1859 | 468 | /* Line 480 of lalr1.cc */ | 481 | /* Line 480 of lalr1.cc */ |
1861 | 469 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 482 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1862 | 470 | { release_hack( (yyvaluep->node) ); }; | 483 | { release_hack( (yyvaluep->node) ); }; |
1863 | 471 | 484 | ||
1864 | 472 | /* Line 480 of lalr1.cc */ | 485 | /* Line 480 of lalr1.cc */ |
1866 | 473 | #line 474 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 486 | #line 487 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1867 | 474 | break; | 487 | break; |
1868 | 475 | case 357: /* "NamespaceDecl" */ | 488 | case 357: /* "NamespaceDecl" */ |
1869 | 476 | 489 | ||
1870 | 477 | /* Line 480 of lalr1.cc */ | 490 | /* Line 480 of lalr1.cc */ |
1872 | 478 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 491 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1873 | 479 | { release_hack( (yyvaluep->node) ); }; | 492 | { release_hack( (yyvaluep->node) ); }; |
1874 | 480 | 493 | ||
1875 | 481 | /* Line 480 of lalr1.cc */ | 494 | /* Line 480 of lalr1.cc */ |
1877 | 482 | #line 483 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 495 | #line 496 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1878 | 483 | break; | 496 | break; |
1879 | 484 | case 358: /* "DefaultNamespaceDecl" */ | 497 | case 358: /* "DefaultNamespaceDecl" */ |
1880 | 485 | 498 | ||
1881 | 486 | /* Line 480 of lalr1.cc */ | 499 | /* Line 480 of lalr1.cc */ |
1883 | 487 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 500 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1884 | 488 | { release_hack( (yyvaluep->node) ); }; | 501 | { release_hack( (yyvaluep->node) ); }; |
1885 | 489 | 502 | ||
1886 | 490 | /* Line 480 of lalr1.cc */ | 503 | /* Line 480 of lalr1.cc */ |
1888 | 491 | #line 492 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 504 | #line 505 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1889 | 492 | break; | 505 | break; |
1890 | 493 | case 359: /* "VFO_DeclList" */ | 506 | case 359: /* "VFO_DeclList" */ |
1891 | 494 | 507 | ||
1892 | 495 | /* Line 480 of lalr1.cc */ | 508 | /* Line 480 of lalr1.cc */ |
1894 | 496 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 509 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1895 | 497 | { release_hack( (yyvaluep->node) ); }; | 510 | { release_hack( (yyvaluep->node) ); }; |
1896 | 498 | 511 | ||
1897 | 499 | /* Line 480 of lalr1.cc */ | 512 | /* Line 480 of lalr1.cc */ |
1899 | 500 | #line 501 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 513 | #line 514 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1900 | 501 | break; | 514 | break; |
1901 | 502 | case 360: /* "VFO_Decl" */ | 515 | case 360: /* "VFO_Decl" */ |
1902 | 503 | 516 | ||
1903 | 504 | /* Line 480 of lalr1.cc */ | 517 | /* Line 480 of lalr1.cc */ |
1905 | 505 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 518 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1906 | 506 | { release_hack( (yyvaluep->node) ); }; | 519 | { release_hack( (yyvaluep->node) ); }; |
1907 | 507 | 520 | ||
1908 | 508 | /* Line 480 of lalr1.cc */ | 521 | /* Line 480 of lalr1.cc */ |
1910 | 509 | #line 510 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 522 | #line 523 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1911 | 510 | break; | 523 | break; |
1912 | 511 | case 361: /* "DecimalFormatDecl" */ | 524 | case 361: /* "DecimalFormatDecl" */ |
1913 | 512 | 525 | ||
1914 | 513 | /* Line 480 of lalr1.cc */ | 526 | /* Line 480 of lalr1.cc */ |
1916 | 514 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 527 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1917 | 515 | { release_hack( (yyvaluep->node) ); }; | 528 | { release_hack( (yyvaluep->node) ); }; |
1918 | 516 | 529 | ||
1919 | 517 | /* Line 480 of lalr1.cc */ | 530 | /* Line 480 of lalr1.cc */ |
1921 | 518 | #line 519 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 531 | #line 532 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1922 | 519 | break; | 532 | break; |
1923 | 520 | case 362: /* "DecimalFormatParamList" */ | 533 | case 362: /* "DecimalFormatParamList" */ |
1924 | 521 | 534 | ||
1925 | 522 | /* Line 480 of lalr1.cc */ | 535 | /* Line 480 of lalr1.cc */ |
1927 | 523 | #line 935 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 536 | #line 935 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1928 | 524 | { delete (yyvaluep->vstrpair); }; | 537 | { delete (yyvaluep->vstrpair); }; |
1929 | 525 | 538 | ||
1930 | 526 | /* Line 480 of lalr1.cc */ | 539 | /* Line 480 of lalr1.cc */ |
1932 | 527 | #line 528 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 540 | #line 541 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1933 | 528 | break; | 541 | break; |
1934 | 529 | case 363: /* "DecimalFormatParam" */ | 542 | case 363: /* "DecimalFormatParam" */ |
1935 | 530 | 543 | ||
1936 | 531 | /* Line 480 of lalr1.cc */ | 544 | /* Line 480 of lalr1.cc */ |
1938 | 532 | #line 935 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 545 | #line 935 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1939 | 533 | { delete (yyvaluep->strpair); }; | 546 | { delete (yyvaluep->strpair); }; |
1940 | 534 | 547 | ||
1941 | 535 | /* Line 480 of lalr1.cc */ | 548 | /* Line 480 of lalr1.cc */ |
1943 | 536 | #line 537 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 549 | #line 550 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1944 | 537 | break; | 550 | break; |
1945 | 538 | case 365: /* "OptionDecl" */ | 551 | case 365: /* "OptionDecl" */ |
1946 | 539 | 552 | ||
1947 | 540 | /* Line 480 of lalr1.cc */ | 553 | /* Line 480 of lalr1.cc */ |
1949 | 541 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 554 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1950 | 542 | { release_hack( (yyvaluep->node) ); }; | 555 | { release_hack( (yyvaluep->node) ); }; |
1951 | 543 | 556 | ||
1952 | 544 | /* Line 480 of lalr1.cc */ | 557 | /* Line 480 of lalr1.cc */ |
1954 | 545 | #line 546 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 558 | #line 559 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1955 | 546 | break; | 559 | break; |
1956 | 547 | case 366: /* "FTOptionDecl" */ | 560 | case 366: /* "FTOptionDecl" */ |
1957 | 548 | 561 | ||
1958 | 549 | /* Line 480 of lalr1.cc */ | 562 | /* Line 480 of lalr1.cc */ |
1960 | 550 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 563 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1961 | 551 | { release_hack( (yyvaluep->node) ); }; | 564 | { release_hack( (yyvaluep->node) ); }; |
1962 | 552 | 565 | ||
1963 | 553 | /* Line 480 of lalr1.cc */ | 566 | /* Line 480 of lalr1.cc */ |
1965 | 554 | #line 555 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 567 | #line 568 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1966 | 555 | break; | 568 | break; |
1967 | 556 | case 367: /* "CtxItemDecl" */ | 569 | case 367: /* "CtxItemDecl" */ |
1968 | 557 | 570 | ||
1969 | 558 | /* Line 480 of lalr1.cc */ | 571 | /* Line 480 of lalr1.cc */ |
1971 | 559 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 572 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1972 | 560 | { release_hack( (yyvaluep->node) ); }; | 573 | { release_hack( (yyvaluep->node) ); }; |
1973 | 561 | 574 | ||
1974 | 562 | /* Line 480 of lalr1.cc */ | 575 | /* Line 480 of lalr1.cc */ |
1976 | 563 | #line 564 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 576 | #line 577 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1977 | 564 | break; | 577 | break; |
1978 | 565 | case 368: /* "CtxItemDecl2" */ | 578 | case 368: /* "CtxItemDecl2" */ |
1979 | 566 | 579 | ||
1980 | 567 | /* Line 480 of lalr1.cc */ | 580 | /* Line 480 of lalr1.cc */ |
1982 | 568 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 581 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1983 | 569 | { release_hack( (yyvaluep->node) ); }; | 582 | { release_hack( (yyvaluep->node) ); }; |
1984 | 570 | 583 | ||
1985 | 571 | /* Line 480 of lalr1.cc */ | 584 | /* Line 480 of lalr1.cc */ |
1987 | 572 | #line 573 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 585 | #line 586 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1988 | 573 | break; | 586 | break; |
1989 | 574 | case 369: /* "CtxItemDecl3" */ | 587 | case 369: /* "CtxItemDecl3" */ |
1990 | 575 | 588 | ||
1991 | 576 | /* Line 480 of lalr1.cc */ | 589 | /* Line 480 of lalr1.cc */ |
1993 | 577 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 590 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
1994 | 578 | { release_hack( (yyvaluep->node) ); }; | 591 | { release_hack( (yyvaluep->node) ); }; |
1995 | 579 | 592 | ||
1996 | 580 | /* Line 480 of lalr1.cc */ | 593 | /* Line 480 of lalr1.cc */ |
1998 | 581 | #line 582 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 594 | #line 595 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
1999 | 582 | break; | 595 | break; |
2000 | 583 | case 370: /* "CtxItemDecl4" */ | 596 | case 370: /* "CtxItemDecl4" */ |
2001 | 584 | 597 | ||
2002 | 585 | /* Line 480 of lalr1.cc */ | 598 | /* Line 480 of lalr1.cc */ |
2004 | 586 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 599 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2005 | 587 | { release_hack( (yyvaluep->node) ); }; | 600 | { release_hack( (yyvaluep->node) ); }; |
2006 | 588 | 601 | ||
2007 | 589 | /* Line 480 of lalr1.cc */ | 602 | /* Line 480 of lalr1.cc */ |
2009 | 590 | #line 591 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 603 | #line 604 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2010 | 591 | break; | 604 | break; |
2011 | 592 | case 371: /* "VarDecl" */ | 605 | case 371: /* "VarDecl" */ |
2012 | 593 | 606 | ||
2013 | 594 | /* Line 480 of lalr1.cc */ | 607 | /* Line 480 of lalr1.cc */ |
2015 | 595 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 608 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2016 | 596 | { release_hack( (yyvaluep->node) ); }; | 609 | { release_hack( (yyvaluep->node) ); }; |
2017 | 597 | 610 | ||
2018 | 598 | /* Line 480 of lalr1.cc */ | 611 | /* Line 480 of lalr1.cc */ |
2020 | 599 | #line 600 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 612 | #line 613 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2021 | 600 | break; | 613 | break; |
2022 | 601 | case 372: /* "VarNameAndType" */ | 614 | case 372: /* "VarNameAndType" */ |
2023 | 602 | 615 | ||
2024 | 603 | /* Line 480 of lalr1.cc */ | 616 | /* Line 480 of lalr1.cc */ |
2026 | 604 | #line 935 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 617 | #line 935 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2027 | 605 | { delete (yyvaluep->varnametype); }; | 618 | { delete (yyvaluep->varnametype); }; |
2028 | 606 | 619 | ||
2029 | 607 | /* Line 480 of lalr1.cc */ | 620 | /* Line 480 of lalr1.cc */ |
2031 | 608 | #line 609 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 621 | #line 622 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2032 | 609 | break; | 622 | break; |
2033 | 610 | case 373: /* "AnnotationList" */ | 623 | case 373: /* "AnnotationList" */ |
2034 | 611 | 624 | ||
2035 | 612 | /* Line 480 of lalr1.cc */ | 625 | /* Line 480 of lalr1.cc */ |
2037 | 613 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 626 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2038 | 614 | { release_hack( (yyvaluep->node) ); }; | 627 | { release_hack( (yyvaluep->node) ); }; |
2039 | 615 | 628 | ||
2040 | 616 | /* Line 480 of lalr1.cc */ | 629 | /* Line 480 of lalr1.cc */ |
2042 | 617 | #line 618 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 630 | #line 631 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2043 | 618 | break; | 631 | break; |
2044 | 619 | case 374: /* "Annotation" */ | 632 | case 374: /* "Annotation" */ |
2045 | 620 | 633 | ||
2046 | 621 | /* Line 480 of lalr1.cc */ | 634 | /* Line 480 of lalr1.cc */ |
2048 | 622 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 635 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2049 | 623 | { release_hack( (yyvaluep->node) ); }; | 636 | { release_hack( (yyvaluep->node) ); }; |
2050 | 624 | 637 | ||
2051 | 625 | /* Line 480 of lalr1.cc */ | 638 | /* Line 480 of lalr1.cc */ |
2053 | 626 | #line 627 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 639 | #line 640 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2054 | 627 | break; | 640 | break; |
2055 | 628 | case 375: /* "AnnotationLiteralList" */ | 641 | case 375: /* "AnnotationLiteralList" */ |
2056 | 629 | 642 | ||
2057 | 630 | /* Line 480 of lalr1.cc */ | 643 | /* Line 480 of lalr1.cc */ |
2059 | 631 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 644 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2060 | 632 | { release_hack( (yyvaluep->node) ); }; | 645 | { release_hack( (yyvaluep->node) ); }; |
2061 | 633 | 646 | ||
2062 | 634 | /* Line 480 of lalr1.cc */ | 647 | /* Line 480 of lalr1.cc */ |
2064 | 635 | #line 636 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 648 | #line 649 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2065 | 636 | break; | 649 | break; |
2066 | 637 | case 376: /* "FunctionDecl" */ | 650 | case 376: /* "FunctionDecl" */ |
2067 | 638 | 651 | ||
2068 | 639 | /* Line 480 of lalr1.cc */ | 652 | /* Line 480 of lalr1.cc */ |
2070 | 640 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 653 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2071 | 641 | { release_hack( (yyvaluep->node) ); }; | 654 | { release_hack( (yyvaluep->node) ); }; |
2072 | 642 | 655 | ||
2073 | 643 | /* Line 480 of lalr1.cc */ | 656 | /* Line 480 of lalr1.cc */ |
2075 | 644 | #line 645 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 657 | #line 658 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2076 | 645 | break; | 658 | break; |
2077 | 646 | case 377: /* "FunctionDecl2" */ | 659 | case 377: /* "FunctionDecl2" */ |
2078 | 647 | 660 | ||
2079 | 648 | /* Line 480 of lalr1.cc */ | 661 | /* Line 480 of lalr1.cc */ |
2081 | 649 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 662 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2082 | 650 | { release_hack( (yyvaluep->node) ); }; | 663 | { release_hack( (yyvaluep->node) ); }; |
2083 | 651 | 664 | ||
2084 | 652 | /* Line 480 of lalr1.cc */ | 665 | /* Line 480 of lalr1.cc */ |
2086 | 653 | #line 654 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 666 | #line 667 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2087 | 654 | break; | 667 | break; |
2088 | 655 | case 378: /* "FunctionDeclSimple" */ | 668 | case 378: /* "FunctionDeclSimple" */ |
2089 | 656 | 669 | ||
2090 | 657 | /* Line 480 of lalr1.cc */ | 670 | /* Line 480 of lalr1.cc */ |
2092 | 658 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 671 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2093 | 659 | { release_hack( (yyvaluep->node) ); }; | 672 | { release_hack( (yyvaluep->node) ); }; |
2094 | 660 | 673 | ||
2095 | 661 | /* Line 480 of lalr1.cc */ | 674 | /* Line 480 of lalr1.cc */ |
2097 | 662 | #line 663 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 675 | #line 676 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2098 | 663 | break; | 676 | break; |
2099 | 664 | case 379: /* "FunctionDeclUpdating" */ | 677 | case 379: /* "FunctionDeclUpdating" */ |
2100 | 665 | 678 | ||
2101 | 666 | /* Line 480 of lalr1.cc */ | 679 | /* Line 480 of lalr1.cc */ |
2103 | 667 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 680 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2104 | 668 | { release_hack( (yyvaluep->node) ); }; | 681 | { release_hack( (yyvaluep->node) ); }; |
2105 | 669 | 682 | ||
2106 | 670 | /* Line 480 of lalr1.cc */ | 683 | /* Line 480 of lalr1.cc */ |
2108 | 671 | #line 672 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 684 | #line 685 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2109 | 672 | break; | 685 | break; |
2110 | 673 | case 380: /* "FunctionSig" */ | 686 | case 380: /* "FunctionSig" */ |
2111 | 674 | 687 | ||
2112 | 675 | /* Line 480 of lalr1.cc */ | 688 | /* Line 480 of lalr1.cc */ |
2114 | 676 | #line 935 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 689 | #line 935 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2115 | 677 | { delete (yyvaluep->fnsig); }; | 690 | { delete (yyvaluep->fnsig); }; |
2116 | 678 | 691 | ||
2117 | 679 | /* Line 480 of lalr1.cc */ | 692 | /* Line 480 of lalr1.cc */ |
2119 | 680 | #line 681 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 693 | #line 694 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2120 | 681 | break; | 694 | break; |
2121 | 682 | case 381: /* "ParamList" */ | 695 | case 381: /* "ParamList" */ |
2122 | 683 | 696 | ||
2123 | 684 | /* Line 480 of lalr1.cc */ | 697 | /* Line 480 of lalr1.cc */ |
2125 | 685 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 698 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2126 | 686 | { release_hack( (yyvaluep->node) ); }; | 699 | { release_hack( (yyvaluep->node) ); }; |
2127 | 687 | 700 | ||
2128 | 688 | /* Line 480 of lalr1.cc */ | 701 | /* Line 480 of lalr1.cc */ |
2130 | 689 | #line 690 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 702 | #line 703 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2131 | 690 | break; | 703 | break; |
2132 | 691 | case 382: /* "Param" */ | 704 | case 382: /* "Param" */ |
2133 | 692 | 705 | ||
2134 | 693 | /* Line 480 of lalr1.cc */ | 706 | /* Line 480 of lalr1.cc */ |
2136 | 694 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 707 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2137 | 695 | { release_hack( (yyvaluep->node) ); }; | 708 | { release_hack( (yyvaluep->node) ); }; |
2138 | 696 | 709 | ||
2139 | 697 | /* Line 480 of lalr1.cc */ | 710 | /* Line 480 of lalr1.cc */ |
2141 | 698 | #line 699 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 711 | #line 712 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2142 | 699 | break; | 712 | break; |
2143 | 700 | case 383: /* "CollectionDecl" */ | 713 | case 383: /* "CollectionDecl" */ |
2144 | 701 | 714 | ||
2145 | 702 | /* Line 480 of lalr1.cc */ | 715 | /* Line 480 of lalr1.cc */ |
2147 | 703 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 716 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2148 | 704 | { release_hack( (yyvaluep->node) ); }; | 717 | { release_hack( (yyvaluep->node) ); }; |
2149 | 705 | 718 | ||
2150 | 706 | /* Line 480 of lalr1.cc */ | 719 | /* Line 480 of lalr1.cc */ |
2152 | 707 | #line 708 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 720 | #line 721 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2153 | 708 | break; | 721 | break; |
2154 | 709 | case 385: /* "IndexDecl" */ | 722 | case 385: /* "IndexDecl" */ |
2155 | 710 | 723 | ||
2156 | 711 | /* Line 480 of lalr1.cc */ | 724 | /* Line 480 of lalr1.cc */ |
2158 | 712 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 725 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2159 | 713 | { release_hack( (yyvaluep->node) ); }; | 726 | { release_hack( (yyvaluep->node) ); }; |
2160 | 714 | 727 | ||
2161 | 715 | /* Line 480 of lalr1.cc */ | 728 | /* Line 480 of lalr1.cc */ |
2163 | 716 | #line 717 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 729 | #line 730 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2164 | 717 | break; | 730 | break; |
2165 | 718 | case 386: /* "IndexKeyList" */ | 731 | case 386: /* "IndexKeyList" */ |
2166 | 719 | 732 | ||
2167 | 720 | /* Line 480 of lalr1.cc */ | 733 | /* Line 480 of lalr1.cc */ |
2169 | 721 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 734 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2170 | 722 | { release_hack( (yyvaluep->node) ); }; | 735 | { release_hack( (yyvaluep->node) ); }; |
2171 | 723 | 736 | ||
2172 | 724 | /* Line 480 of lalr1.cc */ | 737 | /* Line 480 of lalr1.cc */ |
2174 | 725 | #line 726 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 738 | #line 739 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2175 | 726 | break; | 739 | break; |
2176 | 727 | case 387: /* "IndexKeySpec" */ | 740 | case 387: /* "IndexKeySpec" */ |
2177 | 728 | 741 | ||
2178 | 729 | /* Line 480 of lalr1.cc */ | 742 | /* Line 480 of lalr1.cc */ |
2180 | 730 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 743 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2181 | 731 | { release_hack( (yyvaluep->node) ); }; | 744 | { release_hack( (yyvaluep->node) ); }; |
2182 | 732 | 745 | ||
2183 | 733 | /* Line 480 of lalr1.cc */ | 746 | /* Line 480 of lalr1.cc */ |
2185 | 734 | #line 735 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 747 | #line 748 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2186 | 735 | break; | 748 | break; |
2187 | 736 | case 388: /* "IntegrityConstraintDecl" */ | 749 | case 388: /* "IntegrityConstraintDecl" */ |
2188 | 737 | 750 | ||
2189 | 738 | /* Line 480 of lalr1.cc */ | 751 | /* Line 480 of lalr1.cc */ |
2191 | 739 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 752 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2192 | 740 | { release_hack( (yyvaluep->node) ); }; | 753 | { release_hack( (yyvaluep->node) ); }; |
2193 | 741 | 754 | ||
2194 | 742 | /* Line 480 of lalr1.cc */ | 755 | /* Line 480 of lalr1.cc */ |
2196 | 743 | #line 744 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 756 | #line 757 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2197 | 744 | break; | 757 | break; |
2198 | 745 | case 389: /* "QueryBody" */ | 758 | case 389: /* "QueryBody" */ |
2199 | 746 | 759 | ||
2200 | 747 | /* Line 480 of lalr1.cc */ | 760 | /* Line 480 of lalr1.cc */ |
2202 | 748 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 761 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2203 | 749 | { release_hack( (yyvaluep->expr) ); }; | 762 | { release_hack( (yyvaluep->expr) ); }; |
2204 | 750 | 763 | ||
2205 | 751 | /* Line 480 of lalr1.cc */ | 764 | /* Line 480 of lalr1.cc */ |
2207 | 752 | #line 753 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 765 | #line 766 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2208 | 753 | break; | 766 | break; |
2209 | 754 | case 390: /* "StatementsAndOptionalExprTop" */ | 767 | case 390: /* "StatementsAndOptionalExprTop" */ |
2210 | 755 | 768 | ||
2211 | 756 | /* Line 480 of lalr1.cc */ | 769 | /* Line 480 of lalr1.cc */ |
2213 | 757 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 770 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2214 | 758 | { release_hack( (yyvaluep->expr) ); }; | 771 | { release_hack( (yyvaluep->expr) ); }; |
2215 | 759 | 772 | ||
2216 | 760 | /* Line 480 of lalr1.cc */ | 773 | /* Line 480 of lalr1.cc */ |
2218 | 761 | #line 762 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 774 | #line 775 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2219 | 762 | break; | 775 | break; |
2220 | 763 | case 391: /* "StatementsAndOptionalExpr" */ | 776 | case 391: /* "StatementsAndOptionalExpr" */ |
2221 | 764 | 777 | ||
2222 | 765 | /* Line 480 of lalr1.cc */ | 778 | /* Line 480 of lalr1.cc */ |
2224 | 766 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 779 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2225 | 767 | { release_hack( (yyvaluep->expr) ); }; | 780 | { release_hack( (yyvaluep->expr) ); }; |
2226 | 768 | 781 | ||
2227 | 769 | /* Line 480 of lalr1.cc */ | 782 | /* Line 480 of lalr1.cc */ |
2229 | 770 | #line 771 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 783 | #line 784 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2230 | 771 | break; | 784 | break; |
2231 | 772 | case 392: /* "StatementsAndExpr" */ | 785 | case 392: /* "StatementsAndExpr" */ |
2232 | 773 | 786 | ||
2233 | 774 | /* Line 480 of lalr1.cc */ | 787 | /* Line 480 of lalr1.cc */ |
2235 | 775 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 788 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2236 | 776 | { release_hack( (yyvaluep->expr) ); }; | 789 | { release_hack( (yyvaluep->expr) ); }; |
2237 | 777 | 790 | ||
2238 | 778 | /* Line 480 of lalr1.cc */ | 791 | /* Line 480 of lalr1.cc */ |
2240 | 779 | #line 780 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 792 | #line 793 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2241 | 780 | break; | 793 | break; |
2242 | 781 | case 393: /* "Statements" */ | 794 | case 393: /* "Statements" */ |
2243 | 782 | 795 | ||
2244 | 783 | /* Line 480 of lalr1.cc */ | 796 | /* Line 480 of lalr1.cc */ |
2246 | 784 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 797 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2247 | 785 | { release_hack( (yyvaluep->expr) ); }; | 798 | { release_hack( (yyvaluep->expr) ); }; |
2248 | 786 | 799 | ||
2249 | 787 | /* Line 480 of lalr1.cc */ | 800 | /* Line 480 of lalr1.cc */ |
2251 | 788 | #line 789 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 801 | #line 802 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2252 | 789 | break; | 802 | break; |
2253 | 790 | case 394: /* "Statement" */ | 803 | case 394: /* "Statement" */ |
2254 | 791 | 804 | ||
2255 | 792 | /* Line 480 of lalr1.cc */ | 805 | /* Line 480 of lalr1.cc */ |
2257 | 793 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 806 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2258 | 794 | { release_hack( (yyvaluep->expr) ); }; | 807 | { release_hack( (yyvaluep->expr) ); }; |
2259 | 795 | 808 | ||
2260 | 796 | /* Line 480 of lalr1.cc */ | 809 | /* Line 480 of lalr1.cc */ |
2262 | 797 | #line 798 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 810 | #line 811 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2263 | 798 | break; | 811 | break; |
2264 | 799 | case 395: /* "BlockStatement" */ | 812 | case 395: /* "BlockStatement" */ |
2265 | 800 | 813 | ||
2266 | 801 | /* Line 480 of lalr1.cc */ | 814 | /* Line 480 of lalr1.cc */ |
2268 | 802 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 815 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2269 | 803 | { release_hack( (yyvaluep->expr) ); }; | 816 | { release_hack( (yyvaluep->expr) ); }; |
2270 | 804 | 817 | ||
2271 | 805 | /* Line 480 of lalr1.cc */ | 818 | /* Line 480 of lalr1.cc */ |
2273 | 806 | #line 807 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 819 | #line 820 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2274 | 807 | break; | 820 | break; |
2275 | 808 | case 396: /* "BlockExpr" */ | 821 | case 396: /* "BlockExpr" */ |
2276 | 809 | 822 | ||
2277 | 810 | /* Line 480 of lalr1.cc */ | 823 | /* Line 480 of lalr1.cc */ |
2279 | 811 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 824 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2280 | 812 | { release_hack( (yyvaluep->expr) ); }; | 825 | { release_hack( (yyvaluep->expr) ); }; |
2281 | 813 | 826 | ||
2282 | 814 | /* Line 480 of lalr1.cc */ | 827 | /* Line 480 of lalr1.cc */ |
2284 | 815 | #line 816 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 828 | #line 829 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2285 | 816 | break; | 829 | break; |
2286 | 817 | case 397: /* "EnclosedStatementsAndOptionalExpr" */ | 830 | case 397: /* "EnclosedStatementsAndOptionalExpr" */ |
2287 | 818 | 831 | ||
2288 | 819 | /* Line 480 of lalr1.cc */ | 832 | /* Line 480 of lalr1.cc */ |
2290 | 820 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 833 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2291 | 821 | { release_hack( (yyvaluep->expr) ); }; | 834 | { release_hack( (yyvaluep->expr) ); }; |
2292 | 822 | 835 | ||
2293 | 823 | /* Line 480 of lalr1.cc */ | 836 | /* Line 480 of lalr1.cc */ |
2295 | 824 | #line 825 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 837 | #line 838 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2296 | 825 | break; | 838 | break; |
2297 | 826 | case 398: /* "VarDeclStatement" */ | 839 | case 398: /* "VarDeclStatement" */ |
2298 | 827 | 840 | ||
2299 | 828 | /* Line 480 of lalr1.cc */ | 841 | /* Line 480 of lalr1.cc */ |
2301 | 829 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 842 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2302 | 830 | { release_hack( (yyvaluep->expr) ); }; | 843 | { release_hack( (yyvaluep->expr) ); }; |
2303 | 831 | 844 | ||
2304 | 832 | /* Line 480 of lalr1.cc */ | 845 | /* Line 480 of lalr1.cc */ |
2306 | 833 | #line 834 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 846 | #line 847 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2307 | 834 | break; | 847 | break; |
2308 | 835 | case 401: /* "AssignStatement" */ | 848 | case 401: /* "AssignStatement" */ |
2309 | 836 | 849 | ||
2310 | 837 | /* Line 480 of lalr1.cc */ | 850 | /* Line 480 of lalr1.cc */ |
2312 | 838 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 851 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2313 | 839 | { release_hack( (yyvaluep->expr) ); }; | 852 | { release_hack( (yyvaluep->expr) ); }; |
2314 | 840 | 853 | ||
2315 | 841 | /* Line 480 of lalr1.cc */ | 854 | /* Line 480 of lalr1.cc */ |
2317 | 842 | #line 843 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 855 | #line 856 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2318 | 843 | break; | 856 | break; |
2319 | 844 | case 402: /* "ApplyStatement" */ | 857 | case 402: /* "ApplyStatement" */ |
2320 | 845 | 858 | ||
2321 | 846 | /* Line 480 of lalr1.cc */ | 859 | /* Line 480 of lalr1.cc */ |
2323 | 847 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 860 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2324 | 848 | { release_hack( (yyvaluep->expr) ); }; | 861 | { release_hack( (yyvaluep->expr) ); }; |
2325 | 849 | 862 | ||
2326 | 850 | /* Line 480 of lalr1.cc */ | 863 | /* Line 480 of lalr1.cc */ |
2328 | 851 | #line 852 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 864 | #line 865 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2329 | 852 | break; | 865 | break; |
2330 | 853 | case 403: /* "ExitStatement" */ | 866 | case 403: /* "ExitStatement" */ |
2331 | 854 | 867 | ||
2332 | 855 | /* Line 480 of lalr1.cc */ | 868 | /* Line 480 of lalr1.cc */ |
2334 | 856 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 869 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2335 | 857 | { release_hack( (yyvaluep->expr) ); }; | 870 | { release_hack( (yyvaluep->expr) ); }; |
2336 | 858 | 871 | ||
2337 | 859 | /* Line 480 of lalr1.cc */ | 872 | /* Line 480 of lalr1.cc */ |
2339 | 860 | #line 861 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 873 | #line 874 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2340 | 861 | break; | 874 | break; |
2341 | 862 | case 404: /* "WhileStatement" */ | 875 | case 404: /* "WhileStatement" */ |
2342 | 863 | 876 | ||
2343 | 864 | /* Line 480 of lalr1.cc */ | 877 | /* Line 480 of lalr1.cc */ |
2345 | 865 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 878 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2346 | 866 | { release_hack( (yyvaluep->expr) ); }; | 879 | { release_hack( (yyvaluep->expr) ); }; |
2347 | 867 | 880 | ||
2348 | 868 | /* Line 480 of lalr1.cc */ | 881 | /* Line 480 of lalr1.cc */ |
2350 | 869 | #line 870 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 882 | #line 883 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2351 | 870 | break; | 883 | break; |
2352 | 871 | case 405: /* "FlowCtlStatement" */ | 884 | case 405: /* "FlowCtlStatement" */ |
2353 | 872 | 885 | ||
2354 | 873 | /* Line 480 of lalr1.cc */ | 886 | /* Line 480 of lalr1.cc */ |
2356 | 874 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 887 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2357 | 875 | { release_hack( (yyvaluep->expr) ); }; | 888 | { release_hack( (yyvaluep->expr) ); }; |
2358 | 876 | 889 | ||
2359 | 877 | /* Line 480 of lalr1.cc */ | 890 | /* Line 480 of lalr1.cc */ |
2361 | 878 | #line 879 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 891 | #line 892 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2362 | 879 | break; | 892 | break; |
2363 | 880 | case 406: /* "FLWORStatement" */ | 893 | case 406: /* "FLWORStatement" */ |
2364 | 881 | 894 | ||
2365 | 882 | /* Line 480 of lalr1.cc */ | 895 | /* Line 480 of lalr1.cc */ |
2367 | 883 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 896 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2368 | 884 | { release_hack( (yyvaluep->expr) ); }; | 897 | { release_hack( (yyvaluep->expr) ); }; |
2369 | 885 | 898 | ||
2370 | 886 | /* Line 480 of lalr1.cc */ | 899 | /* Line 480 of lalr1.cc */ |
2372 | 887 | #line 888 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 900 | #line 901 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2373 | 888 | break; | 901 | break; |
2374 | 889 | case 407: /* "ReturnStatement" */ | 902 | case 407: /* "ReturnStatement" */ |
2375 | 890 | 903 | ||
2376 | 891 | /* Line 480 of lalr1.cc */ | 904 | /* Line 480 of lalr1.cc */ |
2378 | 892 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 905 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2379 | 893 | { release_hack( (yyvaluep->expr) ); }; | 906 | { release_hack( (yyvaluep->expr) ); }; |
2380 | 894 | 907 | ||
2381 | 895 | /* Line 480 of lalr1.cc */ | 908 | /* Line 480 of lalr1.cc */ |
2383 | 896 | #line 897 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 909 | #line 910 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2384 | 897 | break; | 910 | break; |
2385 | 898 | case 408: /* "IfStatement" */ | 911 | case 408: /* "IfStatement" */ |
2386 | 899 | 912 | ||
2387 | 900 | /* Line 480 of lalr1.cc */ | 913 | /* Line 480 of lalr1.cc */ |
2389 | 901 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 914 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2390 | 902 | { release_hack( (yyvaluep->expr) ); }; | 915 | { release_hack( (yyvaluep->expr) ); }; |
2391 | 903 | 916 | ||
2392 | 904 | /* Line 480 of lalr1.cc */ | 917 | /* Line 480 of lalr1.cc */ |
2394 | 905 | #line 906 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 918 | #line 919 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2395 | 906 | break; | 919 | break; |
2396 | 907 | case 409: /* "TryStatement" */ | 920 | case 409: /* "TryStatement" */ |
2397 | 908 | 921 | ||
2398 | 909 | /* Line 480 of lalr1.cc */ | 922 | /* Line 480 of lalr1.cc */ |
2400 | 910 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 923 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2401 | 911 | { release_hack( (yyvaluep->expr) ); }; | 924 | { release_hack( (yyvaluep->expr) ); }; |
2402 | 912 | 925 | ||
2403 | 913 | /* Line 480 of lalr1.cc */ | 926 | /* Line 480 of lalr1.cc */ |
2405 | 914 | #line 915 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 927 | #line 928 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2406 | 915 | break; | 928 | break; |
2407 | 916 | case 410: /* "CatchListStatement" */ | 929 | case 410: /* "CatchListStatement" */ |
2408 | 917 | 930 | ||
2409 | 918 | /* Line 480 of lalr1.cc */ | 931 | /* Line 480 of lalr1.cc */ |
2411 | 919 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 932 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2412 | 920 | { release_hack( (yyvaluep->expr) ); }; | 933 | { release_hack( (yyvaluep->expr) ); }; |
2413 | 921 | 934 | ||
2414 | 922 | /* Line 480 of lalr1.cc */ | 935 | /* Line 480 of lalr1.cc */ |
2416 | 923 | #line 924 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 936 | #line 937 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2417 | 924 | break; | 937 | break; |
2418 | 925 | case 411: /* "CatchStatement" */ | 938 | case 411: /* "CatchStatement" */ |
2419 | 926 | 939 | ||
2420 | 927 | /* Line 480 of lalr1.cc */ | 940 | /* Line 480 of lalr1.cc */ |
2422 | 928 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 941 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2423 | 929 | { release_hack( (yyvaluep->expr) ); }; | 942 | { release_hack( (yyvaluep->expr) ); }; |
2424 | 930 | 943 | ||
2425 | 931 | /* Line 480 of lalr1.cc */ | 944 | /* Line 480 of lalr1.cc */ |
2427 | 932 | #line 933 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 945 | #line 946 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2428 | 933 | break; | 946 | break; |
2429 | 934 | case 412: /* "Expr" */ | 947 | case 412: /* "Expr" */ |
2430 | 935 | 948 | ||
2431 | 936 | /* Line 480 of lalr1.cc */ | 949 | /* Line 480 of lalr1.cc */ |
2433 | 937 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 950 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2434 | 938 | { release_hack( (yyvaluep->expr) ); }; | 951 | { release_hack( (yyvaluep->expr) ); }; |
2435 | 939 | 952 | ||
2436 | 940 | /* Line 480 of lalr1.cc */ | 953 | /* Line 480 of lalr1.cc */ |
2438 | 941 | #line 942 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 954 | #line 955 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2439 | 942 | break; | 955 | break; |
2440 | 943 | case 413: /* "ExprSingle" */ | 956 | case 413: /* "ExprSingle" */ |
2441 | 944 | 957 | ||
2442 | 945 | /* Line 480 of lalr1.cc */ | 958 | /* Line 480 of lalr1.cc */ |
2444 | 946 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 959 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2445 | 947 | { release_hack( (yyvaluep->expr) ); }; | 960 | { release_hack( (yyvaluep->expr) ); }; |
2446 | 948 | 961 | ||
2447 | 949 | /* Line 480 of lalr1.cc */ | 962 | /* Line 480 of lalr1.cc */ |
2449 | 950 | #line 951 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 963 | #line 964 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2450 | 951 | break; | 964 | break; |
2451 | 952 | case 414: /* "ExprSimple" */ | 965 | case 414: /* "ExprSimple" */ |
2452 | 953 | 966 | ||
2453 | 954 | /* Line 480 of lalr1.cc */ | 967 | /* Line 480 of lalr1.cc */ |
2455 | 955 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 968 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2456 | 956 | { release_hack( (yyvaluep->expr) ); }; | 969 | { release_hack( (yyvaluep->expr) ); }; |
2457 | 957 | 970 | ||
2458 | 958 | /* Line 480 of lalr1.cc */ | 971 | /* Line 480 of lalr1.cc */ |
2460 | 959 | #line 960 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 972 | #line 973 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2461 | 960 | break; | 973 | break; |
2462 | 961 | case 415: /* "FLWORExpr" */ | 974 | case 415: /* "FLWORExpr" */ |
2463 | 962 | 975 | ||
2464 | 963 | /* Line 480 of lalr1.cc */ | 976 | /* Line 480 of lalr1.cc */ |
2466 | 964 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 977 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2467 | 965 | { release_hack( (yyvaluep->expr) ); }; | 978 | { release_hack( (yyvaluep->expr) ); }; |
2468 | 966 | 979 | ||
2469 | 967 | /* Line 480 of lalr1.cc */ | 980 | /* Line 480 of lalr1.cc */ |
2471 | 968 | #line 969 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 981 | #line 982 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2472 | 969 | break; | 982 | break; |
2473 | 970 | case 416: /* "ReturnExpr" */ | 983 | case 416: /* "ReturnExpr" */ |
2474 | 971 | 984 | ||
2475 | 972 | /* Line 480 of lalr1.cc */ | 985 | /* Line 480 of lalr1.cc */ |
2477 | 973 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 986 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2478 | 974 | { release_hack( (yyvaluep->expr) ); }; | 987 | { release_hack( (yyvaluep->expr) ); }; |
2479 | 975 | 988 | ||
2480 | 976 | /* Line 480 of lalr1.cc */ | 989 | /* Line 480 of lalr1.cc */ |
2482 | 977 | #line 978 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 990 | #line 991 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2483 | 978 | break; | 991 | break; |
2484 | 979 | case 419: /* "FLWORWinCond" */ | 992 | case 419: /* "FLWORWinCond" */ |
2485 | 980 | 993 | ||
2486 | 981 | /* Line 480 of lalr1.cc */ | 994 | /* Line 480 of lalr1.cc */ |
2488 | 982 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 995 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2489 | 983 | { release_hack( (yyvaluep->node) ); }; | 996 | { release_hack( (yyvaluep->node) ); }; |
2490 | 984 | 997 | ||
2491 | 985 | /* Line 480 of lalr1.cc */ | 998 | /* Line 480 of lalr1.cc */ |
2493 | 986 | #line 987 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 999 | #line 1000 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2494 | 987 | break; | 1000 | break; |
2495 | 988 | case 420: /* "WindowClause" */ | 1001 | case 420: /* "WindowClause" */ |
2496 | 989 | 1002 | ||
2497 | 990 | /* Line 480 of lalr1.cc */ | 1003 | /* Line 480 of lalr1.cc */ |
2499 | 991 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1004 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2500 | 992 | { release_hack( (yyvaluep->node) ); }; | 1005 | { release_hack( (yyvaluep->node) ); }; |
2501 | 993 | 1006 | ||
2502 | 994 | /* Line 480 of lalr1.cc */ | 1007 | /* Line 480 of lalr1.cc */ |
2504 | 995 | #line 996 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1008 | #line 1009 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2505 | 996 | break; | 1009 | break; |
2506 | 997 | case 421: /* "CountClause" */ | 1010 | case 421: /* "CountClause" */ |
2507 | 998 | 1011 | ||
2508 | 999 | /* Line 480 of lalr1.cc */ | 1012 | /* Line 480 of lalr1.cc */ |
2510 | 1000 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1013 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2511 | 1001 | { release_hack( (yyvaluep->node) ); }; | 1014 | { release_hack( (yyvaluep->node) ); }; |
2512 | 1002 | 1015 | ||
2513 | 1003 | /* Line 480 of lalr1.cc */ | 1016 | /* Line 480 of lalr1.cc */ |
2515 | 1004 | #line 1005 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1017 | #line 1018 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2516 | 1005 | break; | 1018 | break; |
2517 | 1006 | case 422: /* "ForLetWinClause" */ | 1019 | case 422: /* "ForLetWinClause" */ |
2518 | 1007 | 1020 | ||
2519 | 1008 | /* Line 480 of lalr1.cc */ | 1021 | /* Line 480 of lalr1.cc */ |
2521 | 1009 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1022 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2522 | 1010 | { release_hack( (yyvaluep->node) ); }; | 1023 | { release_hack( (yyvaluep->node) ); }; |
2523 | 1011 | 1024 | ||
2524 | 1012 | /* Line 480 of lalr1.cc */ | 1025 | /* Line 480 of lalr1.cc */ |
2526 | 1013 | #line 1014 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1026 | #line 1027 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2527 | 1014 | break; | 1027 | break; |
2528 | 1015 | case 424: /* "FLWORClauseList" */ | 1028 | case 424: /* "FLWORClauseList" */ |
2529 | 1016 | 1029 | ||
2530 | 1017 | /* Line 480 of lalr1.cc */ | 1030 | /* Line 480 of lalr1.cc */ |
2532 | 1018 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1031 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2533 | 1019 | { release_hack( (yyvaluep->node) ); }; | 1032 | { release_hack( (yyvaluep->node) ); }; |
2534 | 1020 | 1033 | ||
2535 | 1021 | /* Line 480 of lalr1.cc */ | 1034 | /* Line 480 of lalr1.cc */ |
2537 | 1022 | #line 1023 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1035 | #line 1036 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2538 | 1023 | break; | 1036 | break; |
2539 | 1024 | case 425: /* "ForClause" */ | 1037 | case 425: /* "ForClause" */ |
2540 | 1025 | 1038 | ||
2541 | 1026 | /* Line 480 of lalr1.cc */ | 1039 | /* Line 480 of lalr1.cc */ |
2543 | 1027 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1040 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2544 | 1028 | { release_hack( (yyvaluep->node) ); }; | 1041 | { release_hack( (yyvaluep->node) ); }; |
2545 | 1029 | 1042 | ||
2546 | 1030 | /* Line 480 of lalr1.cc */ | 1043 | /* Line 480 of lalr1.cc */ |
2548 | 1031 | #line 1032 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1044 | #line 1045 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2549 | 1032 | break; | 1045 | break; |
2550 | 1033 | case 426: /* "VarInDeclList" */ | 1046 | case 426: /* "VarInDeclList" */ |
2551 | 1034 | 1047 | ||
2552 | 1035 | /* Line 480 of lalr1.cc */ | 1048 | /* Line 480 of lalr1.cc */ |
2554 | 1036 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1049 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2555 | 1037 | { release_hack( (yyvaluep->node) ); }; | 1050 | { release_hack( (yyvaluep->node) ); }; |
2556 | 1038 | 1051 | ||
2557 | 1039 | /* Line 480 of lalr1.cc */ | 1052 | /* Line 480 of lalr1.cc */ |
2559 | 1040 | #line 1041 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1053 | #line 1054 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2560 | 1041 | break; | 1054 | break; |
2561 | 1042 | case 427: /* "VarInDecl" */ | 1055 | case 427: /* "VarInDecl" */ |
2562 | 1043 | 1056 | ||
2563 | 1044 | /* Line 480 of lalr1.cc */ | 1057 | /* Line 480 of lalr1.cc */ |
2565 | 1045 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1058 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2566 | 1046 | { release_hack( (yyvaluep->node) ); }; | 1059 | { release_hack( (yyvaluep->node) ); }; |
2567 | 1047 | 1060 | ||
2568 | 1048 | /* Line 480 of lalr1.cc */ | 1061 | /* Line 480 of lalr1.cc */ |
2570 | 1049 | #line 1050 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1062 | #line 1063 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2571 | 1050 | break; | 1063 | break; |
2572 | 1051 | case 428: /* "PositionalVar" */ | 1064 | case 428: /* "PositionalVar" */ |
2573 | 1052 | 1065 | ||
2574 | 1053 | /* Line 480 of lalr1.cc */ | 1066 | /* Line 480 of lalr1.cc */ |
2576 | 1054 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1067 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2577 | 1055 | { release_hack( (yyvaluep->node) ); }; | 1068 | { release_hack( (yyvaluep->node) ); }; |
2578 | 1056 | 1069 | ||
2579 | 1057 | /* Line 480 of lalr1.cc */ | 1070 | /* Line 480 of lalr1.cc */ |
2581 | 1058 | #line 1059 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1071 | #line 1072 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2582 | 1059 | break; | 1072 | break; |
2583 | 1060 | case 429: /* "FTScoreVar" */ | 1073 | case 429: /* "FTScoreVar" */ |
2584 | 1061 | 1074 | ||
2585 | 1062 | /* Line 480 of lalr1.cc */ | 1075 | /* Line 480 of lalr1.cc */ |
2587 | 1063 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1076 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2588 | 1064 | { release_hack( (yyvaluep->node) ); }; | 1077 | { release_hack( (yyvaluep->node) ); }; |
2589 | 1065 | 1078 | ||
2590 | 1066 | /* Line 480 of lalr1.cc */ | 1079 | /* Line 480 of lalr1.cc */ |
2592 | 1067 | #line 1068 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1080 | #line 1081 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2593 | 1068 | break; | 1081 | break; |
2594 | 1069 | case 430: /* "LetClause" */ | 1082 | case 430: /* "LetClause" */ |
2595 | 1070 | 1083 | ||
2596 | 1071 | /* Line 480 of lalr1.cc */ | 1084 | /* Line 480 of lalr1.cc */ |
2598 | 1072 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1085 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2599 | 1073 | { release_hack( (yyvaluep->node) ); }; | 1086 | { release_hack( (yyvaluep->node) ); }; |
2600 | 1074 | 1087 | ||
2601 | 1075 | /* Line 480 of lalr1.cc */ | 1088 | /* Line 480 of lalr1.cc */ |
2603 | 1076 | #line 1077 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1089 | #line 1090 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2604 | 1077 | break; | 1090 | break; |
2605 | 1078 | case 431: /* "VarGetsDeclList" */ | 1091 | case 431: /* "VarGetsDeclList" */ |
2606 | 1079 | 1092 | ||
2607 | 1080 | /* Line 480 of lalr1.cc */ | 1093 | /* Line 480 of lalr1.cc */ |
2609 | 1081 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1094 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2610 | 1082 | { release_hack( (yyvaluep->node) ); }; | 1095 | { release_hack( (yyvaluep->node) ); }; |
2611 | 1083 | 1096 | ||
2612 | 1084 | /* Line 480 of lalr1.cc */ | 1097 | /* Line 480 of lalr1.cc */ |
2614 | 1085 | #line 1086 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1098 | #line 1099 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2615 | 1086 | break; | 1099 | break; |
2616 | 1087 | case 432: /* "VarGetsDecl" */ | 1100 | case 432: /* "VarGetsDecl" */ |
2617 | 1088 | 1101 | ||
2618 | 1089 | /* Line 480 of lalr1.cc */ | 1102 | /* Line 480 of lalr1.cc */ |
2620 | 1090 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1103 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2621 | 1091 | { release_hack( (yyvaluep->node) ); }; | 1104 | { release_hack( (yyvaluep->node) ); }; |
2622 | 1092 | 1105 | ||
2623 | 1093 | /* Line 480 of lalr1.cc */ | 1106 | /* Line 480 of lalr1.cc */ |
2625 | 1094 | #line 1095 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1107 | #line 1108 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2626 | 1095 | break; | 1108 | break; |
2627 | 1096 | case 433: /* "WindowVarDecl" */ | 1109 | case 433: /* "WindowVarDecl" */ |
2628 | 1097 | 1110 | ||
2629 | 1098 | /* Line 480 of lalr1.cc */ | 1111 | /* Line 480 of lalr1.cc */ |
2631 | 1099 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1112 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2632 | 1100 | { release_hack( (yyvaluep->node) ); }; | 1113 | { release_hack( (yyvaluep->node) ); }; |
2633 | 1101 | 1114 | ||
2634 | 1102 | /* Line 480 of lalr1.cc */ | 1115 | /* Line 480 of lalr1.cc */ |
2636 | 1103 | #line 1104 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1116 | #line 1117 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2637 | 1104 | break; | 1117 | break; |
2638 | 1105 | case 434: /* "WindowVars" */ | 1118 | case 434: /* "WindowVars" */ |
2639 | 1106 | 1119 | ||
2640 | 1107 | /* Line 480 of lalr1.cc */ | 1120 | /* Line 480 of lalr1.cc */ |
2642 | 1108 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1121 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2643 | 1109 | { release_hack( (yyvaluep->node) ); }; | 1122 | { release_hack( (yyvaluep->node) ); }; |
2644 | 1110 | 1123 | ||
2645 | 1111 | /* Line 480 of lalr1.cc */ | 1124 | /* Line 480 of lalr1.cc */ |
2647 | 1112 | #line 1113 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1125 | #line 1126 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2648 | 1113 | break; | 1126 | break; |
2649 | 1114 | case 435: /* "WindowVars3" */ | 1127 | case 435: /* "WindowVars3" */ |
2650 | 1115 | 1128 | ||
2651 | 1116 | /* Line 480 of lalr1.cc */ | 1129 | /* Line 480 of lalr1.cc */ |
2653 | 1117 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1130 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2654 | 1118 | { release_hack( (yyvaluep->node) ); }; | 1131 | { release_hack( (yyvaluep->node) ); }; |
2655 | 1119 | 1132 | ||
2656 | 1120 | /* Line 480 of lalr1.cc */ | 1133 | /* Line 480 of lalr1.cc */ |
2658 | 1121 | #line 1122 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1134 | #line 1135 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2659 | 1122 | break; | 1135 | break; |
2660 | 1123 | case 436: /* "WindowVars2" */ | 1136 | case 436: /* "WindowVars2" */ |
2661 | 1124 | 1137 | ||
2662 | 1125 | /* Line 480 of lalr1.cc */ | 1138 | /* Line 480 of lalr1.cc */ |
2664 | 1126 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1139 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2665 | 1127 | { release_hack( (yyvaluep->node) ); }; | 1140 | { release_hack( (yyvaluep->node) ); }; |
2666 | 1128 | 1141 | ||
2667 | 1129 | /* Line 480 of lalr1.cc */ | 1142 | /* Line 480 of lalr1.cc */ |
2669 | 1130 | #line 1131 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1143 | #line 1144 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2670 | 1131 | break; | 1144 | break; |
2671 | 1132 | case 437: /* "WhereClause" */ | 1145 | case 437: /* "WhereClause" */ |
2672 | 1133 | 1146 | ||
2673 | 1134 | /* Line 480 of lalr1.cc */ | 1147 | /* Line 480 of lalr1.cc */ |
2675 | 1135 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1148 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2676 | 1136 | { release_hack( (yyvaluep->node) ); }; | 1149 | { release_hack( (yyvaluep->node) ); }; |
2677 | 1137 | 1150 | ||
2678 | 1138 | /* Line 480 of lalr1.cc */ | 1151 | /* Line 480 of lalr1.cc */ |
2680 | 1139 | #line 1140 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1152 | #line 1153 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2681 | 1140 | break; | 1153 | break; |
2682 | 1141 | case 438: /* "GroupByClause" */ | 1154 | case 438: /* "GroupByClause" */ |
2683 | 1142 | 1155 | ||
2684 | 1143 | /* Line 480 of lalr1.cc */ | 1156 | /* Line 480 of lalr1.cc */ |
2686 | 1144 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1157 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2687 | 1145 | { release_hack( (yyvaluep->node) ); }; | 1158 | { release_hack( (yyvaluep->node) ); }; |
2688 | 1146 | 1159 | ||
2689 | 1147 | /* Line 480 of lalr1.cc */ | 1160 | /* Line 480 of lalr1.cc */ |
2691 | 1148 | #line 1149 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1161 | #line 1162 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2692 | 1149 | break; | 1162 | break; |
2693 | 1150 | case 439: /* "GroupSpecList" */ | 1163 | case 439: /* "GroupSpecList" */ |
2694 | 1151 | 1164 | ||
2695 | 1152 | /* Line 480 of lalr1.cc */ | 1165 | /* Line 480 of lalr1.cc */ |
2697 | 1153 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1166 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2698 | 1154 | { release_hack( (yyvaluep->node) ); }; | 1167 | { release_hack( (yyvaluep->node) ); }; |
2699 | 1155 | 1168 | ||
2700 | 1156 | /* Line 480 of lalr1.cc */ | 1169 | /* Line 480 of lalr1.cc */ |
2702 | 1157 | #line 1158 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1170 | #line 1171 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2703 | 1158 | break; | 1171 | break; |
2704 | 1159 | case 440: /* "GroupSpec" */ | 1172 | case 440: /* "GroupSpec" */ |
2705 | 1160 | 1173 | ||
2706 | 1161 | /* Line 480 of lalr1.cc */ | 1174 | /* Line 480 of lalr1.cc */ |
2708 | 1162 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1175 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2709 | 1163 | { release_hack( (yyvaluep->node) ); }; | 1176 | { release_hack( (yyvaluep->node) ); }; |
2710 | 1164 | 1177 | ||
2711 | 1165 | /* Line 480 of lalr1.cc */ | 1178 | /* Line 480 of lalr1.cc */ |
2713 | 1166 | #line 1167 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1179 | #line 1180 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2714 | 1167 | break; | 1180 | break; |
2715 | 1168 | case 441: /* "GroupCollationSpec" */ | 1181 | case 441: /* "GroupCollationSpec" */ |
2716 | 1169 | 1182 | ||
2717 | 1170 | /* Line 480 of lalr1.cc */ | 1183 | /* Line 480 of lalr1.cc */ |
2719 | 1171 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1184 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2720 | 1172 | { release_hack( (yyvaluep->node) ); }; | 1185 | { release_hack( (yyvaluep->node) ); }; |
2721 | 1173 | 1186 | ||
2722 | 1174 | /* Line 480 of lalr1.cc */ | 1187 | /* Line 480 of lalr1.cc */ |
2724 | 1175 | #line 1176 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1188 | #line 1189 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2725 | 1176 | break; | 1189 | break; |
2726 | 1177 | case 442: /* "OrderByClause" */ | 1190 | case 442: /* "OrderByClause" */ |
2727 | 1178 | 1191 | ||
2728 | 1179 | /* Line 480 of lalr1.cc */ | 1192 | /* Line 480 of lalr1.cc */ |
2730 | 1180 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1193 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2731 | 1181 | { release_hack( (yyvaluep->node) ); }; | 1194 | { release_hack( (yyvaluep->node) ); }; |
2732 | 1182 | 1195 | ||
2733 | 1183 | /* Line 480 of lalr1.cc */ | 1196 | /* Line 480 of lalr1.cc */ |
2735 | 1184 | #line 1185 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1197 | #line 1198 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2736 | 1185 | break; | 1198 | break; |
2737 | 1186 | case 443: /* "OrderSpecList" */ | 1199 | case 443: /* "OrderSpecList" */ |
2738 | 1187 | 1200 | ||
2739 | 1188 | /* Line 480 of lalr1.cc */ | 1201 | /* Line 480 of lalr1.cc */ |
2741 | 1189 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1202 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2742 | 1190 | { release_hack( (yyvaluep->node) ); }; | 1203 | { release_hack( (yyvaluep->node) ); }; |
2743 | 1191 | 1204 | ||
2744 | 1192 | /* Line 480 of lalr1.cc */ | 1205 | /* Line 480 of lalr1.cc */ |
2746 | 1193 | #line 1194 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1206 | #line 1207 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2747 | 1194 | break; | 1207 | break; |
2748 | 1195 | case 444: /* "OrderSpec" */ | 1208 | case 444: /* "OrderSpec" */ |
2749 | 1196 | 1209 | ||
2750 | 1197 | /* Line 480 of lalr1.cc */ | 1210 | /* Line 480 of lalr1.cc */ |
2752 | 1198 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1211 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2753 | 1199 | { release_hack( (yyvaluep->node) ); }; | 1212 | { release_hack( (yyvaluep->node) ); }; |
2754 | 1200 | 1213 | ||
2755 | 1201 | /* Line 480 of lalr1.cc */ | 1214 | /* Line 480 of lalr1.cc */ |
2757 | 1202 | #line 1203 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1215 | #line 1216 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2758 | 1203 | break; | 1216 | break; |
2759 | 1204 | case 445: /* "OrderModifier" */ | 1217 | case 445: /* "OrderModifier" */ |
2760 | 1205 | 1218 | ||
2761 | 1206 | /* Line 480 of lalr1.cc */ | 1219 | /* Line 480 of lalr1.cc */ |
2763 | 1207 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1220 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2764 | 1208 | { release_hack( (yyvaluep->node) ); }; | 1221 | { release_hack( (yyvaluep->node) ); }; |
2765 | 1209 | 1222 | ||
2766 | 1210 | /* Line 480 of lalr1.cc */ | 1223 | /* Line 480 of lalr1.cc */ |
2768 | 1211 | #line 1212 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1224 | #line 1225 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2769 | 1212 | break; | 1225 | break; |
2770 | 1213 | case 446: /* "OrderDirSpec" */ | 1226 | case 446: /* "OrderDirSpec" */ |
2771 | 1214 | 1227 | ||
2772 | 1215 | /* Line 480 of lalr1.cc */ | 1228 | /* Line 480 of lalr1.cc */ |
2774 | 1216 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1229 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2775 | 1217 | { release_hack( (yyvaluep->node) ); }; | 1230 | { release_hack( (yyvaluep->node) ); }; |
2776 | 1218 | 1231 | ||
2777 | 1219 | /* Line 480 of lalr1.cc */ | 1232 | /* Line 480 of lalr1.cc */ |
2779 | 1220 | #line 1221 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1233 | #line 1234 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2780 | 1221 | break; | 1234 | break; |
2781 | 1222 | case 447: /* "OrderEmptySpec" */ | 1235 | case 447: /* "OrderEmptySpec" */ |
2782 | 1223 | 1236 | ||
2783 | 1224 | /* Line 480 of lalr1.cc */ | 1237 | /* Line 480 of lalr1.cc */ |
2785 | 1225 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1238 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2786 | 1226 | { release_hack( (yyvaluep->node) ); }; | 1239 | { release_hack( (yyvaluep->node) ); }; |
2787 | 1227 | 1240 | ||
2788 | 1228 | /* Line 480 of lalr1.cc */ | 1241 | /* Line 480 of lalr1.cc */ |
2790 | 1229 | #line 1230 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1242 | #line 1243 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2791 | 1230 | break; | 1243 | break; |
2792 | 1231 | case 448: /* "OrderCollationSpec" */ | 1244 | case 448: /* "OrderCollationSpec" */ |
2793 | 1232 | 1245 | ||
2794 | 1233 | /* Line 480 of lalr1.cc */ | 1246 | /* Line 480 of lalr1.cc */ |
2796 | 1234 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1247 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2797 | 1235 | { release_hack( (yyvaluep->node) ); }; | 1248 | { release_hack( (yyvaluep->node) ); }; |
2798 | 1236 | 1249 | ||
2799 | 1237 | /* Line 480 of lalr1.cc */ | 1250 | /* Line 480 of lalr1.cc */ |
2801 | 1238 | #line 1239 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1251 | #line 1252 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2802 | 1239 | break; | 1252 | break; |
2803 | 1240 | case 449: /* "QuantifiedExpr" */ | 1253 | case 449: /* "QuantifiedExpr" */ |
2804 | 1241 | 1254 | ||
2805 | 1242 | /* Line 480 of lalr1.cc */ | 1255 | /* Line 480 of lalr1.cc */ |
2807 | 1243 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1256 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2808 | 1244 | { release_hack( (yyvaluep->expr) ); }; | 1257 | { release_hack( (yyvaluep->expr) ); }; |
2809 | 1245 | 1258 | ||
2810 | 1246 | /* Line 480 of lalr1.cc */ | 1259 | /* Line 480 of lalr1.cc */ |
2812 | 1247 | #line 1248 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1260 | #line 1261 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2813 | 1248 | break; | 1261 | break; |
2814 | 1249 | case 450: /* "QVarInDeclList" */ | 1262 | case 450: /* "QVarInDeclList" */ |
2815 | 1250 | 1263 | ||
2816 | 1251 | /* Line 480 of lalr1.cc */ | 1264 | /* Line 480 of lalr1.cc */ |
2818 | 1252 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1265 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2819 | 1253 | { release_hack( (yyvaluep->node) ); }; | 1266 | { release_hack( (yyvaluep->node) ); }; |
2820 | 1254 | 1267 | ||
2821 | 1255 | /* Line 480 of lalr1.cc */ | 1268 | /* Line 480 of lalr1.cc */ |
2823 | 1256 | #line 1257 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1269 | #line 1270 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2824 | 1257 | break; | 1270 | break; |
2825 | 1258 | case 451: /* "QVarInDecl" */ | 1271 | case 451: /* "QVarInDecl" */ |
2826 | 1259 | 1272 | ||
2827 | 1260 | /* Line 480 of lalr1.cc */ | 1273 | /* Line 480 of lalr1.cc */ |
2829 | 1261 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1274 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2830 | 1262 | { release_hack( (yyvaluep->node) ); }; | 1275 | { release_hack( (yyvaluep->node) ); }; |
2831 | 1263 | 1276 | ||
2832 | 1264 | /* Line 480 of lalr1.cc */ | 1277 | /* Line 480 of lalr1.cc */ |
2834 | 1265 | #line 1266 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1278 | #line 1279 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2835 | 1266 | break; | 1279 | break; |
2836 | 1267 | case 452: /* "SwitchExpr" */ | 1280 | case 452: /* "SwitchExpr" */ |
2837 | 1268 | 1281 | ||
2838 | 1269 | /* Line 480 of lalr1.cc */ | 1282 | /* Line 480 of lalr1.cc */ |
2840 | 1270 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1283 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2841 | 1271 | { release_hack( (yyvaluep->expr) ); }; | 1284 | { release_hack( (yyvaluep->expr) ); }; |
2842 | 1272 | 1285 | ||
2843 | 1273 | /* Line 480 of lalr1.cc */ | 1286 | /* Line 480 of lalr1.cc */ |
2845 | 1274 | #line 1275 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1287 | #line 1288 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2846 | 1275 | break; | 1288 | break; |
2847 | 1276 | case 453: /* "SwitchCaseClauseList" */ | 1289 | case 453: /* "SwitchCaseClauseList" */ |
2848 | 1277 | 1290 | ||
2849 | 1278 | /* Line 480 of lalr1.cc */ | 1291 | /* Line 480 of lalr1.cc */ |
2851 | 1279 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1292 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2852 | 1280 | { release_hack( (yyvaluep->node) ); }; | 1293 | { release_hack( (yyvaluep->node) ); }; |
2853 | 1281 | 1294 | ||
2854 | 1282 | /* Line 480 of lalr1.cc */ | 1295 | /* Line 480 of lalr1.cc */ |
2856 | 1283 | #line 1284 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1296 | #line 1297 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2857 | 1284 | break; | 1297 | break; |
2858 | 1285 | case 454: /* "SwitchCaseClause" */ | 1298 | case 454: /* "SwitchCaseClause" */ |
2859 | 1286 | 1299 | ||
2860 | 1287 | /* Line 480 of lalr1.cc */ | 1300 | /* Line 480 of lalr1.cc */ |
2862 | 1288 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1301 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2863 | 1289 | { release_hack( (yyvaluep->node) ); }; | 1302 | { release_hack( (yyvaluep->node) ); }; |
2864 | 1290 | 1303 | ||
2865 | 1291 | /* Line 480 of lalr1.cc */ | 1304 | /* Line 480 of lalr1.cc */ |
2867 | 1292 | #line 1293 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1305 | #line 1306 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2868 | 1293 | break; | 1306 | break; |
2869 | 1294 | case 455: /* "SwitchCaseOperandList" */ | 1307 | case 455: /* "SwitchCaseOperandList" */ |
2870 | 1295 | 1308 | ||
2871 | 1296 | /* Line 480 of lalr1.cc */ | 1309 | /* Line 480 of lalr1.cc */ |
2873 | 1297 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1310 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2874 | 1298 | { release_hack( (yyvaluep->node) ); }; | 1311 | { release_hack( (yyvaluep->node) ); }; |
2875 | 1299 | 1312 | ||
2876 | 1300 | /* Line 480 of lalr1.cc */ | 1313 | /* Line 480 of lalr1.cc */ |
2878 | 1301 | #line 1302 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1314 | #line 1315 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2879 | 1302 | break; | 1315 | break; |
2880 | 1303 | case 456: /* "SwitchStatement" */ | 1316 | case 456: /* "SwitchStatement" */ |
2881 | 1304 | 1317 | ||
2882 | 1305 | /* Line 480 of lalr1.cc */ | 1318 | /* Line 480 of lalr1.cc */ |
2884 | 1306 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1319 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2885 | 1307 | { release_hack( (yyvaluep->expr) ); }; | 1320 | { release_hack( (yyvaluep->expr) ); }; |
2886 | 1308 | 1321 | ||
2887 | 1309 | /* Line 480 of lalr1.cc */ | 1322 | /* Line 480 of lalr1.cc */ |
2889 | 1310 | #line 1311 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1323 | #line 1324 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2890 | 1311 | break; | 1324 | break; |
2891 | 1312 | case 459: /* "TypeswitchExpr" */ | 1325 | case 459: /* "TypeswitchExpr" */ |
2892 | 1313 | 1326 | ||
2893 | 1314 | /* Line 480 of lalr1.cc */ | 1327 | /* Line 480 of lalr1.cc */ |
2895 | 1315 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1328 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2896 | 1316 | { release_hack( (yyvaluep->expr) ); }; | 1329 | { release_hack( (yyvaluep->expr) ); }; |
2897 | 1317 | 1330 | ||
2898 | 1318 | /* Line 480 of lalr1.cc */ | 1331 | /* Line 480 of lalr1.cc */ |
2900 | 1319 | #line 1320 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1332 | #line 1333 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2901 | 1320 | break; | 1333 | break; |
2902 | 1321 | case 460: /* "TypeswitchStatement" */ | 1334 | case 460: /* "TypeswitchStatement" */ |
2903 | 1322 | 1335 | ||
2904 | 1323 | /* Line 480 of lalr1.cc */ | 1336 | /* Line 480 of lalr1.cc */ |
2906 | 1324 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1337 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2907 | 1325 | { release_hack( (yyvaluep->expr) ); }; | 1338 | { release_hack( (yyvaluep->expr) ); }; |
2908 | 1326 | 1339 | ||
2909 | 1327 | /* Line 480 of lalr1.cc */ | 1340 | /* Line 480 of lalr1.cc */ |
2911 | 1328 | #line 1329 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1341 | #line 1342 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2912 | 1329 | break; | 1342 | break; |
2913 | 1330 | case 461: /* "CaseClauseList" */ | 1343 | case 461: /* "CaseClauseList" */ |
2914 | 1331 | 1344 | ||
2915 | 1332 | /* Line 480 of lalr1.cc */ | 1345 | /* Line 480 of lalr1.cc */ |
2917 | 1333 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1346 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2918 | 1334 | { release_hack( (yyvaluep->node) ); }; | 1347 | { release_hack( (yyvaluep->node) ); }; |
2919 | 1335 | 1348 | ||
2920 | 1336 | /* Line 480 of lalr1.cc */ | 1349 | /* Line 480 of lalr1.cc */ |
2922 | 1337 | #line 1338 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1350 | #line 1351 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2923 | 1338 | break; | 1351 | break; |
2924 | 1339 | case 462: /* "CaseClause" */ | 1352 | case 462: /* "CaseClause" */ |
2925 | 1340 | 1353 | ||
2926 | 1341 | /* Line 480 of lalr1.cc */ | 1354 | /* Line 480 of lalr1.cc */ |
2928 | 1342 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1355 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2929 | 1343 | { release_hack( (yyvaluep->node) ); }; | 1356 | { release_hack( (yyvaluep->node) ); }; |
2930 | 1344 | 1357 | ||
2931 | 1345 | /* Line 480 of lalr1.cc */ | 1358 | /* Line 480 of lalr1.cc */ |
2933 | 1346 | #line 1347 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1359 | #line 1360 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2934 | 1347 | break; | 1360 | break; |
2935 | 1348 | case 465: /* "SequenceTypeList" */ | 1361 | case 465: /* "SequenceTypeList" */ |
2936 | 1349 | 1362 | ||
2937 | 1350 | /* Line 480 of lalr1.cc */ | 1363 | /* Line 480 of lalr1.cc */ |
2939 | 1351 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1364 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2940 | 1352 | { release_hack( (yyvaluep->node) ); }; | 1365 | { release_hack( (yyvaluep->node) ); }; |
2941 | 1353 | 1366 | ||
2942 | 1354 | /* Line 480 of lalr1.cc */ | 1367 | /* Line 480 of lalr1.cc */ |
2944 | 1355 | #line 1356 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1368 | #line 1369 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2945 | 1356 | break; | 1369 | break; |
2946 | 1357 | case 466: /* "IfExpr" */ | 1370 | case 466: /* "IfExpr" */ |
2947 | 1358 | 1371 | ||
2948 | 1359 | /* Line 480 of lalr1.cc */ | 1372 | /* Line 480 of lalr1.cc */ |
2950 | 1360 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1373 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2951 | 1361 | { release_hack( (yyvaluep->expr) ); }; | 1374 | { release_hack( (yyvaluep->expr) ); }; |
2952 | 1362 | 1375 | ||
2953 | 1363 | /* Line 480 of lalr1.cc */ | 1376 | /* Line 480 of lalr1.cc */ |
2955 | 1364 | #line 1365 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1377 | #line 1378 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2956 | 1365 | break; | 1378 | break; |
2957 | 1366 | case 467: /* "OrExpr" */ | 1379 | case 467: /* "OrExpr" */ |
2958 | 1367 | 1380 | ||
2959 | 1368 | /* Line 480 of lalr1.cc */ | 1381 | /* Line 480 of lalr1.cc */ |
2961 | 1369 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1382 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2962 | 1370 | { release_hack( (yyvaluep->expr) ); }; | 1383 | { release_hack( (yyvaluep->expr) ); }; |
2963 | 1371 | 1384 | ||
2964 | 1372 | /* Line 480 of lalr1.cc */ | 1385 | /* Line 480 of lalr1.cc */ |
2966 | 1373 | #line 1374 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1386 | #line 1387 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2967 | 1374 | break; | 1387 | break; |
2968 | 1375 | case 468: /* "AndExpr" */ | 1388 | case 468: /* "AndExpr" */ |
2969 | 1376 | 1389 | ||
2970 | 1377 | /* Line 480 of lalr1.cc */ | 1390 | /* Line 480 of lalr1.cc */ |
2972 | 1378 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1391 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2973 | 1379 | { release_hack( (yyvaluep->expr) ); }; | 1392 | { release_hack( (yyvaluep->expr) ); }; |
2974 | 1380 | 1393 | ||
2975 | 1381 | /* Line 480 of lalr1.cc */ | 1394 | /* Line 480 of lalr1.cc */ |
2977 | 1382 | #line 1383 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1395 | #line 1396 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2978 | 1383 | break; | 1396 | break; |
2979 | 1384 | case 469: /* "ComparisonExpr" */ | 1397 | case 469: /* "ComparisonExpr" */ |
2980 | 1385 | 1398 | ||
2981 | 1386 | /* Line 480 of lalr1.cc */ | 1399 | /* Line 480 of lalr1.cc */ |
2983 | 1387 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1400 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2984 | 1388 | { release_hack( (yyvaluep->expr) ); }; | 1401 | { release_hack( (yyvaluep->expr) ); }; |
2985 | 1389 | 1402 | ||
2986 | 1390 | /* Line 480 of lalr1.cc */ | 1403 | /* Line 480 of lalr1.cc */ |
2988 | 1391 | #line 1392 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1404 | #line 1405 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
2989 | 1392 | break; | 1405 | break; |
2990 | 1393 | case 471: /* "FTContainsExpr" */ | 1406 | case 471: /* "FTContainsExpr" */ |
2991 | 1394 | 1407 | ||
2992 | 1395 | /* Line 480 of lalr1.cc */ | 1408 | /* Line 480 of lalr1.cc */ |
2994 | 1396 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1409 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
2995 | 1397 | { release_hack( (yyvaluep->expr) ); }; | 1410 | { release_hack( (yyvaluep->expr) ); }; |
2996 | 1398 | 1411 | ||
2997 | 1399 | /* Line 480 of lalr1.cc */ | 1412 | /* Line 480 of lalr1.cc */ |
2999 | 1400 | #line 1401 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1413 | #line 1414 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3000 | 1401 | break; | 1414 | break; |
3001 | 1402 | case 472: /* "StringConcatExpr" */ | 1415 | case 472: /* "StringConcatExpr" */ |
3002 | 1403 | 1416 | ||
3003 | 1404 | /* Line 480 of lalr1.cc */ | 1417 | /* Line 480 of lalr1.cc */ |
3005 | 1405 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1418 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3006 | 1406 | { release_hack( (yyvaluep->expr) ); }; | 1419 | { release_hack( (yyvaluep->expr) ); }; |
3007 | 1407 | 1420 | ||
3008 | 1408 | /* Line 480 of lalr1.cc */ | 1421 | /* Line 480 of lalr1.cc */ |
3010 | 1409 | #line 1410 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1422 | #line 1423 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3011 | 1410 | break; | 1423 | break; |
3012 | 1411 | case 473: /* "opt_FTIgnoreOption" */ | 1424 | case 473: /* "opt_FTIgnoreOption" */ |
3013 | 1412 | 1425 | ||
3014 | 1413 | /* Line 480 of lalr1.cc */ | 1426 | /* Line 480 of lalr1.cc */ |
3016 | 1414 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1427 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3017 | 1415 | { release_hack( (yyvaluep->node) ); }; | 1428 | { release_hack( (yyvaluep->node) ); }; |
3018 | 1416 | 1429 | ||
3019 | 1417 | /* Line 480 of lalr1.cc */ | 1430 | /* Line 480 of lalr1.cc */ |
3021 | 1418 | #line 1419 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1431 | #line 1432 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3022 | 1419 | break; | 1432 | break; |
3023 | 1420 | case 474: /* "RangeExpr" */ | 1433 | case 474: /* "RangeExpr" */ |
3024 | 1421 | 1434 | ||
3025 | 1422 | /* Line 480 of lalr1.cc */ | 1435 | /* Line 480 of lalr1.cc */ |
3027 | 1423 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1436 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3028 | 1424 | { release_hack( (yyvaluep->expr) ); }; | 1437 | { release_hack( (yyvaluep->expr) ); }; |
3029 | 1425 | 1438 | ||
3030 | 1426 | /* Line 480 of lalr1.cc */ | 1439 | /* Line 480 of lalr1.cc */ |
3032 | 1427 | #line 1428 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1440 | #line 1441 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3033 | 1428 | break; | 1441 | break; |
3034 | 1429 | case 475: /* "AdditiveExpr" */ | 1442 | case 475: /* "AdditiveExpr" */ |
3035 | 1430 | 1443 | ||
3036 | 1431 | /* Line 480 of lalr1.cc */ | 1444 | /* Line 480 of lalr1.cc */ |
3038 | 1432 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1445 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3039 | 1433 | { release_hack( (yyvaluep->expr) ); }; | 1446 | { release_hack( (yyvaluep->expr) ); }; |
3040 | 1434 | 1447 | ||
3041 | 1435 | /* Line 480 of lalr1.cc */ | 1448 | /* Line 480 of lalr1.cc */ |
3043 | 1436 | #line 1437 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1449 | #line 1450 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3044 | 1437 | break; | 1450 | break; |
3045 | 1438 | case 476: /* "MultiplicativeExpr" */ | 1451 | case 476: /* "MultiplicativeExpr" */ |
3046 | 1439 | 1452 | ||
3047 | 1440 | /* Line 480 of lalr1.cc */ | 1453 | /* Line 480 of lalr1.cc */ |
3049 | 1441 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1454 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3050 | 1442 | { release_hack( (yyvaluep->expr) ); }; | 1455 | { release_hack( (yyvaluep->expr) ); }; |
3051 | 1443 | 1456 | ||
3052 | 1444 | /* Line 480 of lalr1.cc */ | 1457 | /* Line 480 of lalr1.cc */ |
3054 | 1445 | #line 1446 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1458 | #line 1459 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3055 | 1446 | break; | 1459 | break; |
3056 | 1447 | case 477: /* "UnionExpr" */ | 1460 | case 477: /* "UnionExpr" */ |
3057 | 1448 | 1461 | ||
3058 | 1449 | /* Line 480 of lalr1.cc */ | 1462 | /* Line 480 of lalr1.cc */ |
3060 | 1450 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1463 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3061 | 1451 | { release_hack( (yyvaluep->expr) ); }; | 1464 | { release_hack( (yyvaluep->expr) ); }; |
3062 | 1452 | 1465 | ||
3063 | 1453 | /* Line 480 of lalr1.cc */ | 1466 | /* Line 480 of lalr1.cc */ |
3065 | 1454 | #line 1455 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1467 | #line 1468 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3066 | 1455 | break; | 1468 | break; |
3067 | 1456 | case 478: /* "IntersectExceptExpr" */ | 1469 | case 478: /* "IntersectExceptExpr" */ |
3068 | 1457 | 1470 | ||
3069 | 1458 | /* Line 480 of lalr1.cc */ | 1471 | /* Line 480 of lalr1.cc */ |
3071 | 1459 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1472 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3072 | 1460 | { release_hack( (yyvaluep->expr) ); }; | 1473 | { release_hack( (yyvaluep->expr) ); }; |
3073 | 1461 | 1474 | ||
3074 | 1462 | /* Line 480 of lalr1.cc */ | 1475 | /* Line 480 of lalr1.cc */ |
3076 | 1463 | #line 1464 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1476 | #line 1477 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3077 | 1464 | break; | 1477 | break; |
3078 | 1465 | case 479: /* "InstanceofExpr" */ | 1478 | case 479: /* "InstanceofExpr" */ |
3079 | 1466 | 1479 | ||
3080 | 1467 | /* Line 480 of lalr1.cc */ | 1480 | /* Line 480 of lalr1.cc */ |
3082 | 1468 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1481 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3083 | 1469 | { release_hack( (yyvaluep->expr) ); }; | 1482 | { release_hack( (yyvaluep->expr) ); }; |
3084 | 1470 | 1483 | ||
3085 | 1471 | /* Line 480 of lalr1.cc */ | 1484 | /* Line 480 of lalr1.cc */ |
3087 | 1472 | #line 1473 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1485 | #line 1486 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3088 | 1473 | break; | 1486 | break; |
3089 | 1474 | case 480: /* "TreatExpr" */ | 1487 | case 480: /* "TreatExpr" */ |
3090 | 1475 | 1488 | ||
3091 | 1476 | /* Line 480 of lalr1.cc */ | 1489 | /* Line 480 of lalr1.cc */ |
3093 | 1477 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1490 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3094 | 1478 | { release_hack( (yyvaluep->expr) ); }; | 1491 | { release_hack( (yyvaluep->expr) ); }; |
3095 | 1479 | 1492 | ||
3096 | 1480 | /* Line 480 of lalr1.cc */ | 1493 | /* Line 480 of lalr1.cc */ |
3098 | 1481 | #line 1482 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1494 | #line 1495 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3099 | 1482 | break; | 1495 | break; |
3100 | 1483 | case 481: /* "CastableExpr" */ | 1496 | case 481: /* "CastableExpr" */ |
3101 | 1484 | 1497 | ||
3102 | 1485 | /* Line 480 of lalr1.cc */ | 1498 | /* Line 480 of lalr1.cc */ |
3104 | 1486 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1499 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3105 | 1487 | { release_hack( (yyvaluep->expr) ); }; | 1500 | { release_hack( (yyvaluep->expr) ); }; |
3106 | 1488 | 1501 | ||
3107 | 1489 | /* Line 480 of lalr1.cc */ | 1502 | /* Line 480 of lalr1.cc */ |
3109 | 1490 | #line 1491 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1503 | #line 1504 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3110 | 1491 | break; | 1504 | break; |
3111 | 1492 | case 482: /* "CastExpr" */ | 1505 | case 482: /* "CastExpr" */ |
3112 | 1493 | 1506 | ||
3113 | 1494 | /* Line 480 of lalr1.cc */ | 1507 | /* Line 480 of lalr1.cc */ |
3115 | 1495 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1508 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3116 | 1496 | { release_hack( (yyvaluep->expr) ); }; | 1509 | { release_hack( (yyvaluep->expr) ); }; |
3117 | 1497 | 1510 | ||
3118 | 1498 | /* Line 480 of lalr1.cc */ | 1511 | /* Line 480 of lalr1.cc */ |
3120 | 1499 | #line 1500 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1512 | #line 1513 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3121 | 1500 | break; | 1513 | break; |
3122 | 1501 | case 483: /* "SingleType" */ | 1514 | case 483: /* "SingleType" */ |
3123 | 1502 | 1515 | ||
3124 | 1503 | /* Line 480 of lalr1.cc */ | 1516 | /* Line 480 of lalr1.cc */ |
3126 | 1504 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1517 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3127 | 1505 | { release_hack( (yyvaluep->node) ); }; | 1518 | { release_hack( (yyvaluep->node) ); }; |
3128 | 1506 | 1519 | ||
3129 | 1507 | /* Line 480 of lalr1.cc */ | 1520 | /* Line 480 of lalr1.cc */ |
3131 | 1508 | #line 1509 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1521 | #line 1522 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3132 | 1509 | break; | 1522 | break; |
3133 | 1510 | case 484: /* "UnaryExpr" */ | 1523 | case 484: /* "UnaryExpr" */ |
3134 | 1511 | 1524 | ||
3135 | 1512 | /* Line 480 of lalr1.cc */ | 1525 | /* Line 480 of lalr1.cc */ |
3137 | 1513 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1526 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3138 | 1514 | { release_hack( (yyvaluep->expr) ); }; | 1527 | { release_hack( (yyvaluep->expr) ); }; |
3139 | 1515 | 1528 | ||
3140 | 1516 | /* Line 480 of lalr1.cc */ | 1529 | /* Line 480 of lalr1.cc */ |
3142 | 1517 | #line 1518 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1530 | #line 1531 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3143 | 1518 | break; | 1531 | break; |
3144 | 1519 | case 485: /* "SignList" */ | 1532 | case 485: /* "SignList" */ |
3145 | 1520 | 1533 | ||
3146 | 1521 | /* Line 480 of lalr1.cc */ | 1534 | /* Line 480 of lalr1.cc */ |
3148 | 1522 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1535 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3149 | 1523 | { release_hack( (yyvaluep->node) ); }; | 1536 | { release_hack( (yyvaluep->node) ); }; |
3150 | 1524 | 1537 | ||
3151 | 1525 | /* Line 480 of lalr1.cc */ | 1538 | /* Line 480 of lalr1.cc */ |
3153 | 1526 | #line 1527 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1539 | #line 1540 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3154 | 1527 | break; | 1540 | break; |
3155 | 1528 | case 486: /* "ValueExpr" */ | 1541 | case 486: /* "ValueExpr" */ |
3156 | 1529 | 1542 | ||
3157 | 1530 | /* Line 480 of lalr1.cc */ | 1543 | /* Line 480 of lalr1.cc */ |
3159 | 1531 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1544 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3160 | 1532 | { release_hack( (yyvaluep->expr) ); }; | 1545 | { release_hack( (yyvaluep->expr) ); }; |
3161 | 1533 | 1546 | ||
3162 | 1534 | /* Line 480 of lalr1.cc */ | 1547 | /* Line 480 of lalr1.cc */ |
3164 | 1535 | #line 1536 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1548 | #line 1549 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3165 | 1536 | break; | 1549 | break; |
3166 | 1537 | case 487: /* "SimpleMapExpr" */ | 1550 | case 487: /* "SimpleMapExpr" */ |
3167 | 1538 | 1551 | ||
3168 | 1539 | /* Line 480 of lalr1.cc */ | 1552 | /* Line 480 of lalr1.cc */ |
3170 | 1540 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1553 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3171 | 1541 | { release_hack( (yyvaluep->expr) ); }; | 1554 | { release_hack( (yyvaluep->expr) ); }; |
3172 | 1542 | 1555 | ||
3173 | 1543 | /* Line 480 of lalr1.cc */ | 1556 | /* Line 480 of lalr1.cc */ |
3175 | 1544 | #line 1545 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1557 | #line 1558 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3176 | 1545 | break; | 1558 | break; |
3177 | 1546 | case 488: /* "ValueComp" */ | 1559 | case 488: /* "ValueComp" */ |
3178 | 1547 | 1560 | ||
3179 | 1548 | /* Line 480 of lalr1.cc */ | 1561 | /* Line 480 of lalr1.cc */ |
3181 | 1549 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1562 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3182 | 1550 | { release_hack( (yyvaluep->node) ); }; | 1563 | { release_hack( (yyvaluep->node) ); }; |
3183 | 1551 | 1564 | ||
3184 | 1552 | /* Line 480 of lalr1.cc */ | 1565 | /* Line 480 of lalr1.cc */ |
3186 | 1553 | #line 1554 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1566 | #line 1567 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3187 | 1554 | break; | 1567 | break; |
3188 | 1555 | case 489: /* "NodeComp" */ | 1568 | case 489: /* "NodeComp" */ |
3189 | 1556 | 1569 | ||
3190 | 1557 | /* Line 480 of lalr1.cc */ | 1570 | /* Line 480 of lalr1.cc */ |
3192 | 1558 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1571 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3193 | 1559 | { release_hack( (yyvaluep->node) ); }; | 1572 | { release_hack( (yyvaluep->node) ); }; |
3194 | 1560 | 1573 | ||
3195 | 1561 | /* Line 480 of lalr1.cc */ | 1574 | /* Line 480 of lalr1.cc */ |
3197 | 1562 | #line 1563 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1575 | #line 1576 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3198 | 1563 | break; | 1576 | break; |
3199 | 1564 | case 490: /* "ValidateExpr" */ | 1577 | case 490: /* "ValidateExpr" */ |
3200 | 1565 | 1578 | ||
3201 | 1566 | /* Line 480 of lalr1.cc */ | 1579 | /* Line 480 of lalr1.cc */ |
3203 | 1567 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1580 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3204 | 1568 | { release_hack( (yyvaluep->expr) ); }; | 1581 | { release_hack( (yyvaluep->expr) ); }; |
3205 | 1569 | 1582 | ||
3206 | 1570 | /* Line 480 of lalr1.cc */ | 1583 | /* Line 480 of lalr1.cc */ |
3208 | 1571 | #line 1572 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1584 | #line 1585 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3209 | 1572 | break; | 1585 | break; |
3210 | 1573 | case 491: /* "ExtensionExpr" */ | 1586 | case 491: /* "ExtensionExpr" */ |
3211 | 1574 | 1587 | ||
3212 | 1575 | /* Line 480 of lalr1.cc */ | 1588 | /* Line 480 of lalr1.cc */ |
3214 | 1576 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1589 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3215 | 1577 | { release_hack( (yyvaluep->expr) ); }; | 1590 | { release_hack( (yyvaluep->expr) ); }; |
3216 | 1578 | 1591 | ||
3217 | 1579 | /* Line 480 of lalr1.cc */ | 1592 | /* Line 480 of lalr1.cc */ |
3219 | 1580 | #line 1581 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1593 | #line 1594 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3220 | 1581 | break; | 1594 | break; |
3221 | 1582 | case 492: /* "Pragma_list" */ | 1595 | case 492: /* "Pragma_list" */ |
3222 | 1583 | 1596 | ||
3223 | 1584 | /* Line 480 of lalr1.cc */ | 1597 | /* Line 480 of lalr1.cc */ |
3225 | 1585 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1598 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3226 | 1586 | { release_hack( (yyvaluep->node) ); }; | 1599 | { release_hack( (yyvaluep->node) ); }; |
3227 | 1587 | 1600 | ||
3228 | 1588 | /* Line 480 of lalr1.cc */ | 1601 | /* Line 480 of lalr1.cc */ |
3230 | 1589 | #line 1590 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1602 | #line 1603 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3231 | 1590 | break; | 1603 | break; |
3232 | 1591 | case 493: /* "Pragma" */ | 1604 | case 493: /* "Pragma" */ |
3233 | 1592 | 1605 | ||
3234 | 1593 | /* Line 480 of lalr1.cc */ | 1606 | /* Line 480 of lalr1.cc */ |
3236 | 1594 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1607 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3237 | 1595 | { release_hack( (yyvaluep->node) ); }; | 1608 | { release_hack( (yyvaluep->node) ); }; |
3238 | 1596 | 1609 | ||
3239 | 1597 | /* Line 480 of lalr1.cc */ | 1610 | /* Line 480 of lalr1.cc */ |
3241 | 1598 | #line 1599 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1611 | #line 1612 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3242 | 1599 | break; | 1612 | break; |
3243 | 1600 | case 494: /* "PathExpr" */ | 1613 | case 494: /* "PathExpr" */ |
3244 | 1601 | 1614 | ||
3245 | 1602 | /* Line 480 of lalr1.cc */ | 1615 | /* Line 480 of lalr1.cc */ |
3247 | 1603 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1616 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3248 | 1604 | { release_hack( (yyvaluep->expr) ); }; | 1617 | { release_hack( (yyvaluep->expr) ); }; |
3249 | 1605 | 1618 | ||
3250 | 1606 | /* Line 480 of lalr1.cc */ | 1619 | /* Line 480 of lalr1.cc */ |
3252 | 1607 | #line 1608 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1620 | #line 1621 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3253 | 1608 | break; | 1621 | break; |
3254 | 1609 | case 496: /* "RelativePathExpr" */ | 1622 | case 496: /* "RelativePathExpr" */ |
3255 | 1610 | 1623 | ||
3256 | 1611 | /* Line 480 of lalr1.cc */ | 1624 | /* Line 480 of lalr1.cc */ |
3258 | 1612 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1625 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3259 | 1613 | { release_hack( (yyvaluep->expr) ); }; | 1626 | { release_hack( (yyvaluep->expr) ); }; |
3260 | 1614 | 1627 | ||
3261 | 1615 | /* Line 480 of lalr1.cc */ | 1628 | /* Line 480 of lalr1.cc */ |
3263 | 1616 | #line 1617 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1629 | #line 1630 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3264 | 1617 | break; | 1630 | break; |
3265 | 1618 | case 497: /* "StepExpr" */ | 1631 | case 497: /* "StepExpr" */ |
3266 | 1619 | 1632 | ||
3267 | 1620 | /* Line 480 of lalr1.cc */ | 1633 | /* Line 480 of lalr1.cc */ |
3269 | 1621 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1634 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3270 | 1622 | { release_hack( (yyvaluep->expr) ); }; | 1635 | { release_hack( (yyvaluep->expr) ); }; |
3271 | 1623 | 1636 | ||
3272 | 1624 | /* Line 480 of lalr1.cc */ | 1637 | /* Line 480 of lalr1.cc */ |
3274 | 1625 | #line 1626 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1638 | #line 1639 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3275 | 1626 | break; | 1639 | break; |
3276 | 1627 | case 498: /* "AxisStep" */ | 1640 | case 498: /* "AxisStep" */ |
3277 | 1628 | 1641 | ||
3278 | 1629 | /* Line 480 of lalr1.cc */ | 1642 | /* Line 480 of lalr1.cc */ |
3280 | 1630 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1643 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3281 | 1631 | { release_hack( (yyvaluep->expr) ); }; | 1644 | { release_hack( (yyvaluep->expr) ); }; |
3282 | 1632 | 1645 | ||
3283 | 1633 | /* Line 480 of lalr1.cc */ | 1646 | /* Line 480 of lalr1.cc */ |
3285 | 1634 | #line 1635 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1647 | #line 1648 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3286 | 1635 | break; | 1648 | break; |
3287 | 1636 | case 499: /* "ForwardStep" */ | 1649 | case 499: /* "ForwardStep" */ |
3288 | 1637 | 1650 | ||
3289 | 1638 | /* Line 480 of lalr1.cc */ | 1651 | /* Line 480 of lalr1.cc */ |
3291 | 1639 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1652 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3292 | 1640 | { release_hack( (yyvaluep->node) ); }; | 1653 | { release_hack( (yyvaluep->node) ); }; |
3293 | 1641 | 1654 | ||
3294 | 1642 | /* Line 480 of lalr1.cc */ | 1655 | /* Line 480 of lalr1.cc */ |
3296 | 1643 | #line 1644 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1656 | #line 1657 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3297 | 1644 | break; | 1657 | break; |
3298 | 1645 | case 500: /* "ForwardAxis" */ | 1658 | case 500: /* "ForwardAxis" */ |
3299 | 1646 | 1659 | ||
3300 | 1647 | /* Line 480 of lalr1.cc */ | 1660 | /* Line 480 of lalr1.cc */ |
3302 | 1648 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1661 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3303 | 1649 | { release_hack( (yyvaluep->node) ); }; | 1662 | { release_hack( (yyvaluep->node) ); }; |
3304 | 1650 | 1663 | ||
3305 | 1651 | /* Line 480 of lalr1.cc */ | 1664 | /* Line 480 of lalr1.cc */ |
3307 | 1652 | #line 1653 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1665 | #line 1666 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3308 | 1653 | break; | 1666 | break; |
3309 | 1654 | case 501: /* "AbbrevForwardStep" */ | 1667 | case 501: /* "AbbrevForwardStep" */ |
3310 | 1655 | 1668 | ||
3311 | 1656 | /* Line 480 of lalr1.cc */ | 1669 | /* Line 480 of lalr1.cc */ |
3313 | 1657 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1670 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3314 | 1658 | { release_hack( (yyvaluep->node) ); }; | 1671 | { release_hack( (yyvaluep->node) ); }; |
3315 | 1659 | 1672 | ||
3316 | 1660 | /* Line 480 of lalr1.cc */ | 1673 | /* Line 480 of lalr1.cc */ |
3318 | 1661 | #line 1662 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1674 | #line 1675 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3319 | 1662 | break; | 1675 | break; |
3320 | 1663 | case 502: /* "ReverseStep" */ | 1676 | case 502: /* "ReverseStep" */ |
3321 | 1664 | 1677 | ||
3322 | 1665 | /* Line 480 of lalr1.cc */ | 1678 | /* Line 480 of lalr1.cc */ |
3324 | 1666 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1679 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3325 | 1667 | { release_hack( (yyvaluep->node) ); }; | 1680 | { release_hack( (yyvaluep->node) ); }; |
3326 | 1668 | 1681 | ||
3327 | 1669 | /* Line 480 of lalr1.cc */ | 1682 | /* Line 480 of lalr1.cc */ |
3329 | 1670 | #line 1671 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1683 | #line 1684 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3330 | 1671 | break; | 1684 | break; |
3331 | 1672 | case 503: /* "ReverseAxis" */ | 1685 | case 503: /* "ReverseAxis" */ |
3332 | 1673 | 1686 | ||
3333 | 1674 | /* Line 480 of lalr1.cc */ | 1687 | /* Line 480 of lalr1.cc */ |
3335 | 1675 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1688 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3336 | 1676 | { release_hack( (yyvaluep->node) ); }; | 1689 | { release_hack( (yyvaluep->node) ); }; |
3337 | 1677 | 1690 | ||
3338 | 1678 | /* Line 480 of lalr1.cc */ | 1691 | /* Line 480 of lalr1.cc */ |
3340 | 1679 | #line 1680 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1692 | #line 1693 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3341 | 1680 | break; | 1693 | break; |
3342 | 1681 | case 504: /* "NodeTest" */ | 1694 | case 504: /* "NodeTest" */ |
3343 | 1682 | 1695 | ||
3344 | 1683 | /* Line 480 of lalr1.cc */ | 1696 | /* Line 480 of lalr1.cc */ |
3346 | 1684 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1697 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3347 | 1685 | { release_hack( (yyvaluep->node) ); }; | 1698 | { release_hack( (yyvaluep->node) ); }; |
3348 | 1686 | 1699 | ||
3349 | 1687 | /* Line 480 of lalr1.cc */ | 1700 | /* Line 480 of lalr1.cc */ |
3351 | 1688 | #line 1689 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1701 | #line 1702 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3352 | 1689 | break; | 1702 | break; |
3353 | 1690 | case 505: /* "NameTest" */ | 1703 | case 505: /* "NameTest" */ |
3354 | 1691 | 1704 | ||
3355 | 1692 | /* Line 480 of lalr1.cc */ | 1705 | /* Line 480 of lalr1.cc */ |
3357 | 1693 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1706 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3358 | 1694 | { release_hack( (yyvaluep->node) ); }; | 1707 | { release_hack( (yyvaluep->node) ); }; |
3359 | 1695 | 1708 | ||
3360 | 1696 | /* Line 480 of lalr1.cc */ | 1709 | /* Line 480 of lalr1.cc */ |
3362 | 1697 | #line 1698 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1710 | #line 1711 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3363 | 1698 | break; | 1711 | break; |
3364 | 1699 | case 506: /* "Wildcard" */ | 1712 | case 506: /* "Wildcard" */ |
3365 | 1700 | 1713 | ||
3366 | 1701 | /* Line 480 of lalr1.cc */ | 1714 | /* Line 480 of lalr1.cc */ |
3368 | 1702 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1715 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3369 | 1703 | { release_hack( (yyvaluep->node) ); }; | 1716 | { release_hack( (yyvaluep->node) ); }; |
3370 | 1704 | 1717 | ||
3371 | 1705 | /* Line 480 of lalr1.cc */ | 1718 | /* Line 480 of lalr1.cc */ |
3373 | 1706 | #line 1707 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1719 | #line 1720 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3374 | 1707 | break; | 1720 | break; |
3375 | 1708 | case 507: /* "FilterExpr" */ | 1721 | case 507: /* "FilterExpr" */ |
3376 | 1709 | 1722 | ||
3377 | 1710 | /* Line 480 of lalr1.cc */ | 1723 | /* Line 480 of lalr1.cc */ |
3379 | 1711 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1724 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3380 | 1712 | { release_hack( (yyvaluep->expr) ); }; | 1725 | { release_hack( (yyvaluep->expr) ); }; |
3381 | 1713 | 1726 | ||
3382 | 1714 | /* Line 480 of lalr1.cc */ | 1727 | /* Line 480 of lalr1.cc */ |
3384 | 1715 | #line 1716 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1728 | #line 1729 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3385 | 1716 | break; | 1729 | break; |
3386 | 1717 | case 508: /* "PredicateList" */ | 1730 | case 508: /* "PredicateList" */ |
3387 | 1718 | 1731 | ||
3388 | 1719 | /* Line 480 of lalr1.cc */ | 1732 | /* Line 480 of lalr1.cc */ |
3390 | 1720 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1733 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3391 | 1721 | { release_hack( (yyvaluep->node) ); }; | 1734 | { release_hack( (yyvaluep->node) ); }; |
3392 | 1722 | 1735 | ||
3393 | 1723 | /* Line 480 of lalr1.cc */ | 1736 | /* Line 480 of lalr1.cc */ |
3395 | 1724 | #line 1725 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1737 | #line 1738 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3396 | 1725 | break; | 1738 | break; |
3397 | 1726 | case 509: /* "Predicate" */ | 1739 | case 509: /* "Predicate" */ |
3398 | 1727 | 1740 | ||
3399 | 1728 | /* Line 480 of lalr1.cc */ | 1741 | /* Line 480 of lalr1.cc */ |
3401 | 1729 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1742 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3402 | 1730 | { release_hack( (yyvaluep->expr) ); }; | 1743 | { release_hack( (yyvaluep->expr) ); }; |
3403 | 1731 | 1744 | ||
3404 | 1732 | /* Line 480 of lalr1.cc */ | 1745 | /* Line 480 of lalr1.cc */ |
3406 | 1733 | #line 1734 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1746 | #line 1747 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3407 | 1734 | break; | 1747 | break; |
3408 | 1735 | case 510: /* "PrimaryExpr" */ | 1748 | case 510: /* "PrimaryExpr" */ |
3409 | 1736 | 1749 | ||
3410 | 1737 | /* Line 480 of lalr1.cc */ | 1750 | /* Line 480 of lalr1.cc */ |
3412 | 1738 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1751 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3413 | 1739 | { release_hack( (yyvaluep->expr) ); }; | 1752 | { release_hack( (yyvaluep->expr) ); }; |
3414 | 1740 | 1753 | ||
3415 | 1741 | /* Line 480 of lalr1.cc */ | 1754 | /* Line 480 of lalr1.cc */ |
3417 | 1742 | #line 1743 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1755 | #line 1756 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3418 | 1743 | break; | 1756 | break; |
3419 | 1744 | case 511: /* "Literal" */ | 1757 | case 511: /* "Literal" */ |
3420 | 1745 | 1758 | ||
3421 | 1746 | /* Line 480 of lalr1.cc */ | 1759 | /* Line 480 of lalr1.cc */ |
3423 | 1747 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1760 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3424 | 1748 | { release_hack( (yyvaluep->expr) ); }; | 1761 | { release_hack( (yyvaluep->expr) ); }; |
3425 | 1749 | 1762 | ||
3426 | 1750 | /* Line 480 of lalr1.cc */ | 1763 | /* Line 480 of lalr1.cc */ |
3428 | 1751 | #line 1752 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1764 | #line 1765 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3429 | 1752 | break; | 1765 | break; |
3430 | 1753 | case 512: /* "NumericLiteral" */ | 1766 | case 512: /* "NumericLiteral" */ |
3431 | 1754 | 1767 | ||
3432 | 1755 | /* Line 480 of lalr1.cc */ | 1768 | /* Line 480 of lalr1.cc */ |
3434 | 1756 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1769 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3435 | 1757 | { release_hack( (yyvaluep->expr) ); }; | 1770 | { release_hack( (yyvaluep->expr) ); }; |
3436 | 1758 | 1771 | ||
3437 | 1759 | /* Line 480 of lalr1.cc */ | 1772 | /* Line 480 of lalr1.cc */ |
3439 | 1760 | #line 1761 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1773 | #line 1774 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3440 | 1761 | break; | 1774 | break; |
3441 | 1762 | case 513: /* "VarRef" */ | 1775 | case 513: /* "VarRef" */ |
3442 | 1763 | 1776 | ||
3443 | 1764 | /* Line 480 of lalr1.cc */ | 1777 | /* Line 480 of lalr1.cc */ |
3445 | 1765 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1778 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3446 | 1766 | { release_hack( (yyvaluep->expr) ); }; | 1779 | { release_hack( (yyvaluep->expr) ); }; |
3447 | 1767 | 1780 | ||
3448 | 1768 | /* Line 480 of lalr1.cc */ | 1781 | /* Line 480 of lalr1.cc */ |
3450 | 1769 | #line 1770 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1782 | #line 1783 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3451 | 1770 | break; | 1783 | break; |
3452 | 1771 | case 514: /* "ParenthesizedExpr" */ | 1784 | case 514: /* "ParenthesizedExpr" */ |
3453 | 1772 | 1785 | ||
3454 | 1773 | /* Line 480 of lalr1.cc */ | 1786 | /* Line 480 of lalr1.cc */ |
3456 | 1774 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1787 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3457 | 1775 | { release_hack( (yyvaluep->expr) ); }; | 1788 | { release_hack( (yyvaluep->expr) ); }; |
3458 | 1776 | 1789 | ||
3459 | 1777 | /* Line 480 of lalr1.cc */ | 1790 | /* Line 480 of lalr1.cc */ |
3461 | 1778 | #line 1779 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1791 | #line 1792 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3462 | 1779 | break; | 1792 | break; |
3463 | 1780 | case 515: /* "ContextItemExpr" */ | 1793 | case 515: /* "ContextItemExpr" */ |
3464 | 1781 | 1794 | ||
3465 | 1782 | /* Line 480 of lalr1.cc */ | 1795 | /* Line 480 of lalr1.cc */ |
3467 | 1783 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1796 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3468 | 1784 | { release_hack( (yyvaluep->expr) ); }; | 1797 | { release_hack( (yyvaluep->expr) ); }; |
3469 | 1785 | 1798 | ||
3470 | 1786 | /* Line 480 of lalr1.cc */ | 1799 | /* Line 480 of lalr1.cc */ |
3472 | 1787 | #line 1788 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1800 | #line 1801 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3473 | 1788 | break; | 1801 | break; |
3474 | 1789 | case 516: /* "OrderedExpr" */ | 1802 | case 516: /* "OrderedExpr" */ |
3475 | 1790 | 1803 | ||
3476 | 1791 | /* Line 480 of lalr1.cc */ | 1804 | /* Line 480 of lalr1.cc */ |
3478 | 1792 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1805 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3479 | 1793 | { release_hack( (yyvaluep->expr) ); }; | 1806 | { release_hack( (yyvaluep->expr) ); }; |
3480 | 1794 | 1807 | ||
3481 | 1795 | /* Line 480 of lalr1.cc */ | 1808 | /* Line 480 of lalr1.cc */ |
3483 | 1796 | #line 1797 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1809 | #line 1810 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3484 | 1797 | break; | 1810 | break; |
3485 | 1798 | case 517: /* "UnorderedExpr" */ | 1811 | case 517: /* "UnorderedExpr" */ |
3486 | 1799 | 1812 | ||
3487 | 1800 | /* Line 480 of lalr1.cc */ | 1813 | /* Line 480 of lalr1.cc */ |
3489 | 1801 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1814 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3490 | 1802 | { release_hack( (yyvaluep->expr) ); }; | 1815 | { release_hack( (yyvaluep->expr) ); }; |
3491 | 1803 | 1816 | ||
3492 | 1804 | /* Line 480 of lalr1.cc */ | 1817 | /* Line 480 of lalr1.cc */ |
3494 | 1805 | #line 1806 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1818 | #line 1819 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3495 | 1806 | break; | 1819 | break; |
3496 | 1807 | case 518: /* "FunctionCall" */ | 1820 | case 518: /* "FunctionCall" */ |
3497 | 1808 | 1821 | ||
3498 | 1809 | /* Line 480 of lalr1.cc */ | 1822 | /* Line 480 of lalr1.cc */ |
3500 | 1810 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1823 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3501 | 1811 | { release_hack( (yyvaluep->expr) ); }; | 1824 | { release_hack( (yyvaluep->expr) ); }; |
3502 | 1812 | 1825 | ||
3503 | 1813 | /* Line 480 of lalr1.cc */ | 1826 | /* Line 480 of lalr1.cc */ |
3505 | 1814 | #line 1815 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1827 | #line 1828 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3506 | 1815 | break; | 1828 | break; |
3507 | 1816 | case 519: /* "ArgList" */ | 1829 | case 519: /* "ArgList" */ |
3508 | 1817 | 1830 | ||
3509 | 1818 | /* Line 480 of lalr1.cc */ | 1831 | /* Line 480 of lalr1.cc */ |
3511 | 1819 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1832 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3512 | 1820 | { release_hack( (yyvaluep->node) ); }; | 1833 | { release_hack( (yyvaluep->node) ); }; |
3513 | 1821 | 1834 | ||
3514 | 1822 | /* Line 480 of lalr1.cc */ | 1835 | /* Line 480 of lalr1.cc */ |
3516 | 1823 | #line 1824 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1836 | #line 1837 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3517 | 1824 | break; | 1837 | break; |
3518 | 1825 | case 520: /* "Constructor" */ | 1838 | case 520: /* "Constructor" */ |
3519 | 1826 | 1839 | ||
3520 | 1827 | /* Line 480 of lalr1.cc */ | 1840 | /* Line 480 of lalr1.cc */ |
3522 | 1828 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1841 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3523 | 1829 | { release_hack( (yyvaluep->expr) ); }; | 1842 | { release_hack( (yyvaluep->expr) ); }; |
3524 | 1830 | 1843 | ||
3525 | 1831 | /* Line 480 of lalr1.cc */ | 1844 | /* Line 480 of lalr1.cc */ |
3527 | 1832 | #line 1833 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1845 | #line 1846 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3528 | 1833 | break; | 1846 | break; |
3529 | 1834 | case 521: /* "DirectConstructor" */ | 1847 | case 521: /* "DirectConstructor" */ |
3530 | 1835 | 1848 | ||
3531 | 1836 | /* Line 480 of lalr1.cc */ | 1849 | /* Line 480 of lalr1.cc */ |
3533 | 1837 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1850 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3534 | 1838 | { release_hack( (yyvaluep->expr) ); }; | 1851 | { release_hack( (yyvaluep->expr) ); }; |
3535 | 1839 | 1852 | ||
3536 | 1840 | /* Line 480 of lalr1.cc */ | 1853 | /* Line 480 of lalr1.cc */ |
3538 | 1841 | #line 1842 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1854 | #line 1855 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3539 | 1842 | break; | 1855 | break; |
3540 | 1843 | case 522: /* "DirElemConstructor" */ | 1856 | case 522: /* "DirElemConstructor" */ |
3541 | 1844 | 1857 | ||
3542 | 1845 | /* Line 480 of lalr1.cc */ | 1858 | /* Line 480 of lalr1.cc */ |
3544 | 1846 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1859 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3545 | 1847 | { release_hack( (yyvaluep->expr) ); }; | 1860 | { release_hack( (yyvaluep->expr) ); }; |
3546 | 1848 | 1861 | ||
3547 | 1849 | /* Line 480 of lalr1.cc */ | 1862 | /* Line 480 of lalr1.cc */ |
3549 | 1850 | #line 1851 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1863 | #line 1864 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3550 | 1851 | break; | 1864 | break; |
3551 | 1852 | case 523: /* "DirElemContentList" */ | 1865 | case 523: /* "DirElemContentList" */ |
3552 | 1853 | 1866 | ||
3553 | 1854 | /* Line 480 of lalr1.cc */ | 1867 | /* Line 480 of lalr1.cc */ |
3555 | 1855 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1868 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3556 | 1856 | { release_hack( (yyvaluep->node) ); }; | 1869 | { release_hack( (yyvaluep->node) ); }; |
3557 | 1857 | 1870 | ||
3558 | 1858 | /* Line 480 of lalr1.cc */ | 1871 | /* Line 480 of lalr1.cc */ |
3560 | 1859 | #line 1860 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1872 | #line 1873 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3561 | 1860 | break; | 1873 | break; |
3562 | 1861 | case 524: /* "DirAttributeList" */ | 1874 | case 524: /* "DirAttributeList" */ |
3563 | 1862 | 1875 | ||
3564 | 1863 | /* Line 480 of lalr1.cc */ | 1876 | /* Line 480 of lalr1.cc */ |
3566 | 1864 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1877 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3567 | 1865 | { release_hack( (yyvaluep->node) ); }; | 1878 | { release_hack( (yyvaluep->node) ); }; |
3568 | 1866 | 1879 | ||
3569 | 1867 | /* Line 480 of lalr1.cc */ | 1880 | /* Line 480 of lalr1.cc */ |
3571 | 1868 | #line 1869 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1881 | #line 1882 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3572 | 1869 | break; | 1882 | break; |
3573 | 1870 | case 525: /* "DirAttr" */ | 1883 | case 525: /* "DirAttr" */ |
3574 | 1871 | 1884 | ||
3575 | 1872 | /* Line 480 of lalr1.cc */ | 1885 | /* Line 480 of lalr1.cc */ |
3577 | 1873 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1886 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3578 | 1874 | { release_hack( (yyvaluep->node) ); }; | 1887 | { release_hack( (yyvaluep->node) ); }; |
3579 | 1875 | 1888 | ||
3580 | 1876 | /* Line 480 of lalr1.cc */ | 1889 | /* Line 480 of lalr1.cc */ |
3582 | 1877 | #line 1878 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1890 | #line 1891 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3583 | 1878 | break; | 1891 | break; |
3584 | 1879 | case 527: /* "DirAttributeValue" */ | 1892 | case 527: /* "DirAttributeValue" */ |
3585 | 1880 | 1893 | ||
3586 | 1881 | /* Line 480 of lalr1.cc */ | 1894 | /* Line 480 of lalr1.cc */ |
3588 | 1882 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1895 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3589 | 1883 | { release_hack( (yyvaluep->node) ); }; | 1896 | { release_hack( (yyvaluep->node) ); }; |
3590 | 1884 | 1897 | ||
3591 | 1885 | /* Line 480 of lalr1.cc */ | 1898 | /* Line 480 of lalr1.cc */ |
3593 | 1886 | #line 1887 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1899 | #line 1900 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3594 | 1887 | break; | 1900 | break; |
3595 | 1888 | case 528: /* "opt_QuoteAttrContentList" */ | 1901 | case 528: /* "opt_QuoteAttrContentList" */ |
3596 | 1889 | 1902 | ||
3597 | 1890 | /* Line 480 of lalr1.cc */ | 1903 | /* Line 480 of lalr1.cc */ |
3599 | 1891 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1904 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3600 | 1892 | { release_hack( (yyvaluep->node) ); }; | 1905 | { release_hack( (yyvaluep->node) ); }; |
3601 | 1893 | 1906 | ||
3602 | 1894 | /* Line 480 of lalr1.cc */ | 1907 | /* Line 480 of lalr1.cc */ |
3604 | 1895 | #line 1896 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1908 | #line 1909 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3605 | 1896 | break; | 1909 | break; |
3606 | 1897 | case 529: /* "QuoteAttrContentList" */ | 1910 | case 529: /* "QuoteAttrContentList" */ |
3607 | 1898 | 1911 | ||
3608 | 1899 | /* Line 480 of lalr1.cc */ | 1912 | /* Line 480 of lalr1.cc */ |
3610 | 1900 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1913 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3611 | 1901 | { release_hack( (yyvaluep->node) ); }; | 1914 | { release_hack( (yyvaluep->node) ); }; |
3612 | 1902 | 1915 | ||
3613 | 1903 | /* Line 480 of lalr1.cc */ | 1916 | /* Line 480 of lalr1.cc */ |
3615 | 1904 | #line 1905 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1917 | #line 1918 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3616 | 1905 | break; | 1918 | break; |
3617 | 1906 | case 530: /* "opt_AposAttrContentList" */ | 1919 | case 530: /* "opt_AposAttrContentList" */ |
3618 | 1907 | 1920 | ||
3619 | 1908 | /* Line 480 of lalr1.cc */ | 1921 | /* Line 480 of lalr1.cc */ |
3621 | 1909 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1922 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3622 | 1910 | { release_hack( (yyvaluep->node) ); }; | 1923 | { release_hack( (yyvaluep->node) ); }; |
3623 | 1911 | 1924 | ||
3624 | 1912 | /* Line 480 of lalr1.cc */ | 1925 | /* Line 480 of lalr1.cc */ |
3626 | 1913 | #line 1914 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1926 | #line 1927 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3627 | 1914 | break; | 1927 | break; |
3628 | 1915 | case 531: /* "AposAttrContentList" */ | 1928 | case 531: /* "AposAttrContentList" */ |
3629 | 1916 | 1929 | ||
3630 | 1917 | /* Line 480 of lalr1.cc */ | 1930 | /* Line 480 of lalr1.cc */ |
3632 | 1918 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1931 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3633 | 1919 | { release_hack( (yyvaluep->node) ); }; | 1932 | { release_hack( (yyvaluep->node) ); }; |
3634 | 1920 | 1933 | ||
3635 | 1921 | /* Line 480 of lalr1.cc */ | 1934 | /* Line 480 of lalr1.cc */ |
3637 | 1922 | #line 1923 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1935 | #line 1936 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3638 | 1923 | break; | 1936 | break; |
3639 | 1924 | case 532: /* "QuoteAttrValueContent" */ | 1937 | case 532: /* "QuoteAttrValueContent" */ |
3640 | 1925 | 1938 | ||
3641 | 1926 | /* Line 480 of lalr1.cc */ | 1939 | /* Line 480 of lalr1.cc */ |
3643 | 1927 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1940 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3644 | 1928 | { release_hack( (yyvaluep->node) ); }; | 1941 | { release_hack( (yyvaluep->node) ); }; |
3645 | 1929 | 1942 | ||
3646 | 1930 | /* Line 480 of lalr1.cc */ | 1943 | /* Line 480 of lalr1.cc */ |
3648 | 1931 | #line 1932 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1944 | #line 1945 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3649 | 1932 | break; | 1945 | break; |
3650 | 1933 | case 533: /* "AposAttrValueContent" */ | 1946 | case 533: /* "AposAttrValueContent" */ |
3651 | 1934 | 1947 | ||
3652 | 1935 | /* Line 480 of lalr1.cc */ | 1948 | /* Line 480 of lalr1.cc */ |
3654 | 1936 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1949 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3655 | 1937 | { release_hack( (yyvaluep->node) ); }; | 1950 | { release_hack( (yyvaluep->node) ); }; |
3656 | 1938 | 1951 | ||
3657 | 1939 | /* Line 480 of lalr1.cc */ | 1952 | /* Line 480 of lalr1.cc */ |
3659 | 1940 | #line 1941 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1953 | #line 1954 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3660 | 1941 | break; | 1954 | break; |
3661 | 1942 | case 534: /* "DirElemContent" */ | 1955 | case 534: /* "DirElemContent" */ |
3662 | 1943 | 1956 | ||
3663 | 1944 | /* Line 480 of lalr1.cc */ | 1957 | /* Line 480 of lalr1.cc */ |
3665 | 1945 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1958 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3666 | 1946 | { release_hack( (yyvaluep->expr) ); }; | 1959 | { release_hack( (yyvaluep->expr) ); }; |
3667 | 1947 | 1960 | ||
3668 | 1948 | /* Line 480 of lalr1.cc */ | 1961 | /* Line 480 of lalr1.cc */ |
3670 | 1949 | #line 1950 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1962 | #line 1963 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3671 | 1950 | break; | 1963 | break; |
3672 | 1951 | case 535: /* "CommonContent" */ | 1964 | case 535: /* "CommonContent" */ |
3673 | 1952 | 1965 | ||
3674 | 1953 | /* Line 480 of lalr1.cc */ | 1966 | /* Line 480 of lalr1.cc */ |
3676 | 1954 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1967 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3677 | 1955 | { release_hack( (yyvaluep->expr) ); }; | 1968 | { release_hack( (yyvaluep->expr) ); }; |
3678 | 1956 | 1969 | ||
3679 | 1957 | /* Line 480 of lalr1.cc */ | 1970 | /* Line 480 of lalr1.cc */ |
3681 | 1958 | #line 1959 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1971 | #line 1972 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3682 | 1959 | break; | 1972 | break; |
3683 | 1960 | case 536: /* "DirCommentConstructor" */ | 1973 | case 536: /* "DirCommentConstructor" */ |
3684 | 1961 | 1974 | ||
3685 | 1962 | /* Line 480 of lalr1.cc */ | 1975 | /* Line 480 of lalr1.cc */ |
3687 | 1963 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1976 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3688 | 1964 | { release_hack( (yyvaluep->expr) ); }; | 1977 | { release_hack( (yyvaluep->expr) ); }; |
3689 | 1965 | 1978 | ||
3690 | 1966 | /* Line 480 of lalr1.cc */ | 1979 | /* Line 480 of lalr1.cc */ |
3692 | 1967 | #line 1968 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1980 | #line 1981 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3693 | 1968 | break; | 1981 | break; |
3694 | 1969 | case 537: /* "DirPIConstructor" */ | 1982 | case 537: /* "DirPIConstructor" */ |
3695 | 1970 | 1983 | ||
3696 | 1971 | /* Line 480 of lalr1.cc */ | 1984 | /* Line 480 of lalr1.cc */ |
3698 | 1972 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1985 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3699 | 1973 | { release_hack( (yyvaluep->expr) ); }; | 1986 | { release_hack( (yyvaluep->expr) ); }; |
3700 | 1974 | 1987 | ||
3701 | 1975 | /* Line 480 of lalr1.cc */ | 1988 | /* Line 480 of lalr1.cc */ |
3703 | 1976 | #line 1977 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1989 | #line 1990 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3704 | 1977 | break; | 1990 | break; |
3705 | 1978 | case 538: /* "CDataSection" */ | 1991 | case 538: /* "CDataSection" */ |
3706 | 1979 | 1992 | ||
3707 | 1980 | /* Line 480 of lalr1.cc */ | 1993 | /* Line 480 of lalr1.cc */ |
3709 | 1981 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 1994 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3710 | 1982 | { release_hack( (yyvaluep->expr) ); }; | 1995 | { release_hack( (yyvaluep->expr) ); }; |
3711 | 1983 | 1996 | ||
3712 | 1984 | /* Line 480 of lalr1.cc */ | 1997 | /* Line 480 of lalr1.cc */ |
3714 | 1985 | #line 1986 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 1998 | #line 1999 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3715 | 1986 | break; | 1999 | break; |
3716 | 1987 | case 539: /* "ComputedConstructor" */ | 2000 | case 539: /* "ComputedConstructor" */ |
3717 | 1988 | 2001 | ||
3718 | 1989 | /* Line 480 of lalr1.cc */ | 2002 | /* Line 480 of lalr1.cc */ |
3720 | 1990 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2003 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3721 | 1991 | { release_hack( (yyvaluep->expr) ); }; | 2004 | { release_hack( (yyvaluep->expr) ); }; |
3722 | 1992 | 2005 | ||
3723 | 1993 | /* Line 480 of lalr1.cc */ | 2006 | /* Line 480 of lalr1.cc */ |
3725 | 1994 | #line 1995 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2007 | #line 2008 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3726 | 1995 | break; | 2008 | break; |
3727 | 1996 | case 540: /* "CompDocConstructor" */ | 2009 | case 540: /* "CompDocConstructor" */ |
3728 | 1997 | 2010 | ||
3729 | 1998 | /* Line 480 of lalr1.cc */ | 2011 | /* Line 480 of lalr1.cc */ |
3731 | 1999 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2012 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3732 | 2000 | { release_hack( (yyvaluep->expr) ); }; | 2013 | { release_hack( (yyvaluep->expr) ); }; |
3733 | 2001 | 2014 | ||
3734 | 2002 | /* Line 480 of lalr1.cc */ | 2015 | /* Line 480 of lalr1.cc */ |
3736 | 2003 | #line 2004 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2016 | #line 2017 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3737 | 2004 | break; | 2017 | break; |
3738 | 2005 | case 541: /* "CompElemConstructor" */ | 2018 | case 541: /* "CompElemConstructor" */ |
3739 | 2006 | 2019 | ||
3740 | 2007 | /* Line 480 of lalr1.cc */ | 2020 | /* Line 480 of lalr1.cc */ |
3742 | 2008 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2021 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3743 | 2009 | { release_hack( (yyvaluep->expr) ); }; | 2022 | { release_hack( (yyvaluep->expr) ); }; |
3744 | 2010 | 2023 | ||
3745 | 2011 | /* Line 480 of lalr1.cc */ | 2024 | /* Line 480 of lalr1.cc */ |
3747 | 2012 | #line 2013 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2025 | #line 2026 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3748 | 2013 | break; | 2026 | break; |
3749 | 2014 | case 542: /* "CompAttrConstructor" */ | 2027 | case 542: /* "CompAttrConstructor" */ |
3750 | 2015 | 2028 | ||
3751 | 2016 | /* Line 480 of lalr1.cc */ | 2029 | /* Line 480 of lalr1.cc */ |
3753 | 2017 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2030 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3754 | 2018 | { release_hack( (yyvaluep->expr) ); }; | 2031 | { release_hack( (yyvaluep->expr) ); }; |
3755 | 2019 | 2032 | ||
3756 | 2020 | /* Line 480 of lalr1.cc */ | 2033 | /* Line 480 of lalr1.cc */ |
3758 | 2021 | #line 2022 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2034 | #line 2035 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3759 | 2022 | break; | 2035 | break; |
3760 | 2023 | case 543: /* "CompTextConstructor" */ | 2036 | case 543: /* "CompTextConstructor" */ |
3761 | 2024 | 2037 | ||
3762 | 2025 | /* Line 480 of lalr1.cc */ | 2038 | /* Line 480 of lalr1.cc */ |
3764 | 2026 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2039 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3765 | 2027 | { release_hack( (yyvaluep->expr) ); }; | 2040 | { release_hack( (yyvaluep->expr) ); }; |
3766 | 2028 | 2041 | ||
3767 | 2029 | /* Line 480 of lalr1.cc */ | 2042 | /* Line 480 of lalr1.cc */ |
3769 | 2030 | #line 2031 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2043 | #line 2044 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3770 | 2031 | break; | 2044 | break; |
3771 | 2032 | case 544: /* "CompCommentConstructor" */ | 2045 | case 544: /* "CompCommentConstructor" */ |
3772 | 2033 | 2046 | ||
3773 | 2034 | /* Line 480 of lalr1.cc */ | 2047 | /* Line 480 of lalr1.cc */ |
3775 | 2035 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2048 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3776 | 2036 | { release_hack( (yyvaluep->expr) ); }; | 2049 | { release_hack( (yyvaluep->expr) ); }; |
3777 | 2037 | 2050 | ||
3778 | 2038 | /* Line 480 of lalr1.cc */ | 2051 | /* Line 480 of lalr1.cc */ |
3780 | 2039 | #line 2040 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2052 | #line 2053 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3781 | 2040 | break; | 2053 | break; |
3782 | 2041 | case 545: /* "CompPIConstructor" */ | 2054 | case 545: /* "CompPIConstructor" */ |
3783 | 2042 | 2055 | ||
3784 | 2043 | /* Line 480 of lalr1.cc */ | 2056 | /* Line 480 of lalr1.cc */ |
3786 | 2044 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2057 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3787 | 2045 | { release_hack( (yyvaluep->expr) ); }; | 2058 | { release_hack( (yyvaluep->expr) ); }; |
3788 | 2046 | 2059 | ||
3789 | 2047 | /* Line 480 of lalr1.cc */ | 2060 | /* Line 480 of lalr1.cc */ |
3791 | 2048 | #line 2049 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2061 | #line 2062 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3792 | 2049 | break; | 2062 | break; |
3793 | 2050 | case 546: /* "TypeDeclaration" */ | 2063 | case 546: /* "TypeDeclaration" */ |
3794 | 2051 | 2064 | ||
3795 | 2052 | /* Line 480 of lalr1.cc */ | 2065 | /* Line 480 of lalr1.cc */ |
3797 | 2053 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2066 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3798 | 2054 | { release_hack( (yyvaluep->node) ); }; | 2067 | { release_hack( (yyvaluep->node) ); }; |
3799 | 2055 | 2068 | ||
3800 | 2056 | /* Line 480 of lalr1.cc */ | 2069 | /* Line 480 of lalr1.cc */ |
3802 | 2057 | #line 2058 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2070 | #line 2071 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3803 | 2058 | break; | 2071 | break; |
3804 | 2059 | case 547: /* "SequenceType" */ | 2072 | case 547: /* "SequenceType" */ |
3805 | 2060 | 2073 | ||
3806 | 2061 | /* Line 480 of lalr1.cc */ | 2074 | /* Line 480 of lalr1.cc */ |
3808 | 2062 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2075 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3809 | 2063 | { release_hack( (yyvaluep->node) ); }; | 2076 | { release_hack( (yyvaluep->node) ); }; |
3810 | 2064 | 2077 | ||
3811 | 2065 | /* Line 480 of lalr1.cc */ | 2078 | /* Line 480 of lalr1.cc */ |
3813 | 2066 | #line 2067 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2079 | #line 2080 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3814 | 2067 | break; | 2080 | break; |
3815 | 2068 | case 548: /* "OccurrenceIndicator" */ | 2081 | case 548: /* "OccurrenceIndicator" */ |
3816 | 2069 | 2082 | ||
3817 | 2070 | /* Line 480 of lalr1.cc */ | 2083 | /* Line 480 of lalr1.cc */ |
3819 | 2071 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2084 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3820 | 2072 | { release_hack( (yyvaluep->node) ); }; | 2085 | { release_hack( (yyvaluep->node) ); }; |
3821 | 2073 | 2086 | ||
3822 | 2074 | /* Line 480 of lalr1.cc */ | 2087 | /* Line 480 of lalr1.cc */ |
3824 | 2075 | #line 2076 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2088 | #line 2089 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3825 | 2076 | break; | 2089 | break; |
3826 | 2077 | case 549: /* "ItemType" */ | 2090 | case 549: /* "ItemType" */ |
3827 | 2078 | 2091 | ||
3828 | 2079 | /* Line 480 of lalr1.cc */ | 2092 | /* Line 480 of lalr1.cc */ |
3830 | 2080 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2093 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3831 | 2081 | { release_hack( (yyvaluep->node) ); }; | 2094 | { release_hack( (yyvaluep->node) ); }; |
3832 | 2082 | 2095 | ||
3833 | 2083 | /* Line 480 of lalr1.cc */ | 2096 | /* Line 480 of lalr1.cc */ |
3835 | 2084 | #line 2085 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2097 | #line 2098 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3836 | 2085 | break; | 2098 | break; |
3837 | 2086 | case 550: /* "TypeList" */ | 2099 | case 550: /* "TypeList" */ |
3838 | 2087 | 2100 | ||
3839 | 2088 | /* Line 480 of lalr1.cc */ | 2101 | /* Line 480 of lalr1.cc */ |
3841 | 2089 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2102 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3842 | 2090 | { release_hack( (yyvaluep->node) ); }; | 2103 | { release_hack( (yyvaluep->node) ); }; |
3843 | 2091 | 2104 | ||
3844 | 2092 | /* Line 480 of lalr1.cc */ | 2105 | /* Line 480 of lalr1.cc */ |
3846 | 2093 | #line 2094 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2106 | #line 2107 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3847 | 2094 | break; | 2107 | break; |
3848 | 2095 | case 551: /* "GeneralizedAtomicType" */ | 2108 | case 551: /* "GeneralizedAtomicType" */ |
3849 | 2096 | 2109 | ||
3850 | 2097 | /* Line 480 of lalr1.cc */ | 2110 | /* Line 480 of lalr1.cc */ |
3852 | 2098 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2111 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3853 | 2099 | { release_hack( (yyvaluep->node) ); }; | 2112 | { release_hack( (yyvaluep->node) ); }; |
3854 | 2100 | 2113 | ||
3855 | 2101 | /* Line 480 of lalr1.cc */ | 2114 | /* Line 480 of lalr1.cc */ |
3857 | 2102 | #line 2103 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2115 | #line 2116 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3858 | 2103 | break; | 2116 | break; |
3859 | 2104 | case 552: /* "SimpleType" */ | 2117 | case 552: /* "SimpleType" */ |
3860 | 2105 | 2118 | ||
3861 | 2106 | /* Line 480 of lalr1.cc */ | 2119 | /* Line 480 of lalr1.cc */ |
3863 | 2107 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2120 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3864 | 2108 | { release_hack( (yyvaluep->node) ); }; | 2121 | { release_hack( (yyvaluep->node) ); }; |
3865 | 2109 | 2122 | ||
3866 | 2110 | /* Line 480 of lalr1.cc */ | 2123 | /* Line 480 of lalr1.cc */ |
3868 | 2111 | #line 2112 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2124 | #line 2125 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3869 | 2112 | break; | 2125 | break; |
3870 | 2113 | case 553: /* "KindTest" */ | 2126 | case 553: /* "KindTest" */ |
3871 | 2114 | 2127 | ||
3872 | 2115 | /* Line 480 of lalr1.cc */ | 2128 | /* Line 480 of lalr1.cc */ |
3874 | 2116 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2129 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3875 | 2117 | { release_hack( (yyvaluep->node) ); }; | 2130 | { release_hack( (yyvaluep->node) ); }; |
3876 | 2118 | 2131 | ||
3877 | 2119 | /* Line 480 of lalr1.cc */ | 2132 | /* Line 480 of lalr1.cc */ |
3879 | 2120 | #line 2121 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2133 | #line 2134 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3880 | 2121 | break; | 2134 | break; |
3881 | 2122 | case 554: /* "AnyKindTest" */ | 2135 | case 554: /* "AnyKindTest" */ |
3882 | 2123 | 2136 | ||
3883 | 2124 | /* Line 480 of lalr1.cc */ | 2137 | /* Line 480 of lalr1.cc */ |
3885 | 2125 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2138 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3886 | 2126 | { release_hack( (yyvaluep->node) ); }; | 2139 | { release_hack( (yyvaluep->node) ); }; |
3887 | 2127 | 2140 | ||
3888 | 2128 | /* Line 480 of lalr1.cc */ | 2141 | /* Line 480 of lalr1.cc */ |
3890 | 2129 | #line 2130 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2142 | #line 2143 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3891 | 2130 | break; | 2143 | break; |
3892 | 2131 | case 555: /* "DocumentTest" */ | 2144 | case 555: /* "DocumentTest" */ |
3893 | 2132 | 2145 | ||
3894 | 2133 | /* Line 480 of lalr1.cc */ | 2146 | /* Line 480 of lalr1.cc */ |
3896 | 2134 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2147 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3897 | 2135 | { release_hack( (yyvaluep->node) ); }; | 2148 | { release_hack( (yyvaluep->node) ); }; |
3898 | 2136 | 2149 | ||
3899 | 2137 | /* Line 480 of lalr1.cc */ | 2150 | /* Line 480 of lalr1.cc */ |
3901 | 2138 | #line 2139 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2151 | #line 2152 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3902 | 2139 | break; | 2152 | break; |
3903 | 2140 | case 556: /* "TextTest" */ | 2153 | case 556: /* "TextTest" */ |
3904 | 2141 | 2154 | ||
3905 | 2142 | /* Line 480 of lalr1.cc */ | 2155 | /* Line 480 of lalr1.cc */ |
3907 | 2143 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2156 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3908 | 2144 | { release_hack( (yyvaluep->node) ); }; | 2157 | { release_hack( (yyvaluep->node) ); }; |
3909 | 2145 | 2158 | ||
3910 | 2146 | /* Line 480 of lalr1.cc */ | 2159 | /* Line 480 of lalr1.cc */ |
3912 | 2147 | #line 2148 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2160 | #line 2161 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3913 | 2148 | break; | 2161 | break; |
3914 | 2149 | case 557: /* "CommentTest" */ | 2162 | case 557: /* "CommentTest" */ |
3915 | 2150 | 2163 | ||
3916 | 2151 | /* Line 480 of lalr1.cc */ | 2164 | /* Line 480 of lalr1.cc */ |
3918 | 2152 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2165 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3919 | 2153 | { release_hack( (yyvaluep->node) ); }; | 2166 | { release_hack( (yyvaluep->node) ); }; |
3920 | 2154 | 2167 | ||
3921 | 2155 | /* Line 480 of lalr1.cc */ | 2168 | /* Line 480 of lalr1.cc */ |
3923 | 2156 | #line 2157 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2169 | #line 2170 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3924 | 2157 | break; | 2170 | break; |
3925 | 2158 | case 558: /* "PITest" */ | 2171 | case 558: /* "PITest" */ |
3926 | 2159 | 2172 | ||
3927 | 2160 | /* Line 480 of lalr1.cc */ | 2173 | /* Line 480 of lalr1.cc */ |
3929 | 2161 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2174 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3930 | 2162 | { release_hack( (yyvaluep->node) ); }; | 2175 | { release_hack( (yyvaluep->node) ); }; |
3931 | 2163 | 2176 | ||
3932 | 2164 | /* Line 480 of lalr1.cc */ | 2177 | /* Line 480 of lalr1.cc */ |
3934 | 2165 | #line 2166 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2178 | #line 2179 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3935 | 2166 | break; | 2179 | break; |
3936 | 2167 | case 559: /* "AttributeTest" */ | 2180 | case 559: /* "AttributeTest" */ |
3937 | 2168 | 2181 | ||
3938 | 2169 | /* Line 480 of lalr1.cc */ | 2182 | /* Line 480 of lalr1.cc */ |
3940 | 2170 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2183 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3941 | 2171 | { release_hack( (yyvaluep->node) ); }; | 2184 | { release_hack( (yyvaluep->node) ); }; |
3942 | 2172 | 2185 | ||
3943 | 2173 | /* Line 480 of lalr1.cc */ | 2186 | /* Line 480 of lalr1.cc */ |
3945 | 2174 | #line 2175 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2187 | #line 2188 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3946 | 2175 | break; | 2188 | break; |
3947 | 2176 | case 560: /* "SchemaAttributeTest" */ | 2189 | case 560: /* "SchemaAttributeTest" */ |
3948 | 2177 | 2190 | ||
3949 | 2178 | /* Line 480 of lalr1.cc */ | 2191 | /* Line 480 of lalr1.cc */ |
3951 | 2179 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2192 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3952 | 2180 | { release_hack( (yyvaluep->node) ); }; | 2193 | { release_hack( (yyvaluep->node) ); }; |
3953 | 2181 | 2194 | ||
3954 | 2182 | /* Line 480 of lalr1.cc */ | 2195 | /* Line 480 of lalr1.cc */ |
3956 | 2183 | #line 2184 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2196 | #line 2197 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3957 | 2184 | break; | 2197 | break; |
3958 | 2185 | case 561: /* "ElementTest" */ | 2198 | case 561: /* "ElementTest" */ |
3959 | 2186 | 2199 | ||
3960 | 2187 | /* Line 480 of lalr1.cc */ | 2200 | /* Line 480 of lalr1.cc */ |
3962 | 2188 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2201 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3963 | 2189 | { release_hack( (yyvaluep->node) ); }; | 2202 | { release_hack( (yyvaluep->node) ); }; |
3964 | 2190 | 2203 | ||
3965 | 2191 | /* Line 480 of lalr1.cc */ | 2204 | /* Line 480 of lalr1.cc */ |
3967 | 2192 | #line 2193 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2205 | #line 2206 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3968 | 2193 | break; | 2206 | break; |
3969 | 2194 | case 562: /* "SchemaElementTest" */ | 2207 | case 562: /* "SchemaElementTest" */ |
3970 | 2195 | 2208 | ||
3971 | 2196 | /* Line 480 of lalr1.cc */ | 2209 | /* Line 480 of lalr1.cc */ |
3973 | 2197 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2210 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3974 | 2198 | { release_hack( (yyvaluep->node) ); }; | 2211 | { release_hack( (yyvaluep->node) ); }; |
3975 | 2199 | 2212 | ||
3976 | 2200 | /* Line 480 of lalr1.cc */ | 2213 | /* Line 480 of lalr1.cc */ |
3978 | 2201 | #line 2202 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2214 | #line 2215 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3979 | 2202 | break; | 2215 | break; |
3980 | 2203 | case 563: /* "TypeName" */ | 2216 | case 563: /* "TypeName" */ |
3981 | 2204 | 2217 | ||
3982 | 2205 | /* Line 480 of lalr1.cc */ | 2218 | /* Line 480 of lalr1.cc */ |
3984 | 2206 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2219 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3985 | 2207 | { release_hack( (yyvaluep->node) ); }; | 2220 | { release_hack( (yyvaluep->node) ); }; |
3986 | 2208 | 2221 | ||
3987 | 2209 | /* Line 480 of lalr1.cc */ | 2222 | /* Line 480 of lalr1.cc */ |
3989 | 2210 | #line 2211 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2223 | #line 2224 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
3990 | 2211 | break; | 2224 | break; |
3991 | 2212 | case 564: /* "TypeName_WITH_HOOK" */ | 2225 | case 564: /* "TypeName_WITH_HOOK" */ |
3992 | 2213 | 2226 | ||
3993 | 2214 | /* Line 480 of lalr1.cc */ | 2227 | /* Line 480 of lalr1.cc */ |
3995 | 2215 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2228 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
3996 | 2216 | { release_hack( (yyvaluep->node) ); }; | 2229 | { release_hack( (yyvaluep->node) ); }; |
3997 | 2217 | 2230 | ||
3998 | 2218 | /* Line 480 of lalr1.cc */ | 2231 | /* Line 480 of lalr1.cc */ |
4000 | 2219 | #line 2220 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2232 | #line 2233 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4001 | 2220 | break; | 2233 | break; |
4002 | 2221 | case 565: /* "StringLiteral" */ | 2234 | case 565: /* "StringLiteral" */ |
4003 | 2222 | 2235 | ||
4004 | 2223 | /* Line 480 of lalr1.cc */ | 2236 | /* Line 480 of lalr1.cc */ |
4006 | 2224 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2237 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4007 | 2225 | { release_hack( (yyvaluep->expr) ); }; | 2238 | { release_hack( (yyvaluep->expr) ); }; |
4008 | 2226 | 2239 | ||
4009 | 2227 | /* Line 480 of lalr1.cc */ | 2240 | /* Line 480 of lalr1.cc */ |
4011 | 2228 | #line 2229 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2241 | #line 2242 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4012 | 2229 | break; | 2242 | break; |
4013 | 2230 | case 570: /* "AnyFunctionTest" */ | 2243 | case 570: /* "AnyFunctionTest" */ |
4014 | 2231 | 2244 | ||
4015 | 2232 | /* Line 480 of lalr1.cc */ | 2245 | /* Line 480 of lalr1.cc */ |
4017 | 2233 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2246 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4018 | 2234 | { release_hack( (yyvaluep->node) ); }; | 2247 | { release_hack( (yyvaluep->node) ); }; |
4019 | 2235 | 2248 | ||
4020 | 2236 | /* Line 480 of lalr1.cc */ | 2249 | /* Line 480 of lalr1.cc */ |
4022 | 2237 | #line 2238 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2250 | #line 2251 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4023 | 2238 | break; | 2251 | break; |
4024 | 2239 | case 571: /* "TypedFunctionTest" */ | 2252 | case 571: /* "TypedFunctionTest" */ |
4025 | 2240 | 2253 | ||
4026 | 2241 | /* Line 480 of lalr1.cc */ | 2254 | /* Line 480 of lalr1.cc */ |
4028 | 2242 | #line 923 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2255 | #line 923 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4029 | 2243 | { release_hack( (yyvaluep->node) ); }; | 2256 | { release_hack( (yyvaluep->node) ); }; |
4030 | 2244 | 2257 | ||
4031 | 2245 | /* Line 480 of lalr1.cc */ | 2258 | /* Line 480 of lalr1.cc */ |
4033 | 2246 | #line 2247 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2259 | #line 2260 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4034 | 2247 | break; | 2260 | break; |
4035 | 2248 | case 574: /* "InsertExpr" */ | 2261 | case 574: /* "InsertExpr" */ |
4036 | 2249 | 2262 | ||
4037 | 2250 | /* Line 480 of lalr1.cc */ | 2263 | /* Line 480 of lalr1.cc */ |
4039 | 2251 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2264 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4040 | 2252 | { release_hack( (yyvaluep->expr) ); }; | 2265 | { release_hack( (yyvaluep->expr) ); }; |
4041 | 2253 | 2266 | ||
4042 | 2254 | /* Line 480 of lalr1.cc */ | 2267 | /* Line 480 of lalr1.cc */ |
4044 | 2255 | #line 2256 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2268 | #line 2269 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4045 | 2256 | break; | 2269 | break; |
4046 | 2257 | case 575: /* "DeleteExpr" */ | 2270 | case 575: /* "DeleteExpr" */ |
4047 | 2258 | 2271 | ||
4048 | 2259 | /* Line 480 of lalr1.cc */ | 2272 | /* Line 480 of lalr1.cc */ |
4050 | 2260 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2273 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4051 | 2261 | { release_hack( (yyvaluep->expr) ); }; | 2274 | { release_hack( (yyvaluep->expr) ); }; |
4052 | 2262 | 2275 | ||
4053 | 2263 | /* Line 480 of lalr1.cc */ | 2276 | /* Line 480 of lalr1.cc */ |
4055 | 2264 | #line 2265 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2277 | #line 2278 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4056 | 2265 | break; | 2278 | break; |
4057 | 2266 | case 576: /* "ReplaceExpr" */ | 2279 | case 576: /* "ReplaceExpr" */ |
4058 | 2267 | 2280 | ||
4059 | 2268 | /* Line 480 of lalr1.cc */ | 2281 | /* Line 480 of lalr1.cc */ |
4061 | 2269 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2282 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4062 | 2270 | { release_hack( (yyvaluep->expr) ); }; | 2283 | { release_hack( (yyvaluep->expr) ); }; |
4063 | 2271 | 2284 | ||
4064 | 2272 | /* Line 480 of lalr1.cc */ | 2285 | /* Line 480 of lalr1.cc */ |
4066 | 2273 | #line 2274 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2286 | #line 2287 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4067 | 2274 | break; | 2287 | break; |
4068 | 2275 | case 577: /* "RenameExpr" */ | 2288 | case 577: /* "RenameExpr" */ |
4069 | 2276 | 2289 | ||
4070 | 2277 | /* Line 480 of lalr1.cc */ | 2290 | /* Line 480 of lalr1.cc */ |
4072 | 2278 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2291 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4073 | 2279 | { release_hack( (yyvaluep->expr) ); }; | 2292 | { release_hack( (yyvaluep->expr) ); }; |
4074 | 2280 | 2293 | ||
4075 | 2281 | /* Line 480 of lalr1.cc */ | 2294 | /* Line 480 of lalr1.cc */ |
4077 | 2282 | #line 2283 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2295 | #line 2296 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4078 | 2283 | break; | 2296 | break; |
4079 | 2284 | case 578: /* "TransformExpr" */ | 2297 | case 578: /* "TransformExpr" */ |
4080 | 2285 | 2298 | ||
4081 | 2286 | /* Line 480 of lalr1.cc */ | 2299 | /* Line 480 of lalr1.cc */ |
4083 | 2287 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2300 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4084 | 2288 | { release_hack( (yyvaluep->expr) ); }; | 2301 | { release_hack( (yyvaluep->expr) ); }; |
4085 | 2289 | 2302 | ||
4086 | 2290 | /* Line 480 of lalr1.cc */ | 2303 | /* Line 480 of lalr1.cc */ |
4088 | 2291 | #line 2292 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2304 | #line 2305 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4089 | 2292 | break; | 2305 | break; |
4090 | 2293 | case 579: /* "VarNameList" */ | 2306 | case 579: /* "VarNameList" */ |
4091 | 2294 | 2307 | ||
4092 | 2295 | /* Line 480 of lalr1.cc */ | 2308 | /* Line 480 of lalr1.cc */ |
4094 | 2296 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2309 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4095 | 2297 | { release_hack( (yyvaluep->expr) ); }; | 2310 | { release_hack( (yyvaluep->expr) ); }; |
4096 | 2298 | 2311 | ||
4097 | 2299 | /* Line 480 of lalr1.cc */ | 2312 | /* Line 480 of lalr1.cc */ |
4099 | 2300 | #line 2301 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2313 | #line 2314 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4100 | 2301 | break; | 2314 | break; |
4101 | 2302 | case 580: /* "VarNameDecl" */ | 2315 | case 580: /* "VarNameDecl" */ |
4102 | 2303 | 2316 | ||
4103 | 2304 | /* Line 480 of lalr1.cc */ | 2317 | /* Line 480 of lalr1.cc */ |
4105 | 2305 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2318 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4106 | 2306 | { release_hack( (yyvaluep->expr) ); }; | 2319 | { release_hack( (yyvaluep->expr) ); }; |
4107 | 2307 | 2320 | ||
4108 | 2308 | /* Line 480 of lalr1.cc */ | 2321 | /* Line 480 of lalr1.cc */ |
4110 | 2309 | #line 2310 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2322 | #line 2323 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4111 | 2310 | break; | 2323 | break; |
4112 | 2311 | case 581: /* "TryExpr" */ | 2324 | case 581: /* "TryExpr" */ |
4113 | 2312 | 2325 | ||
4114 | 2313 | /* Line 480 of lalr1.cc */ | 2326 | /* Line 480 of lalr1.cc */ |
4116 | 2314 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2327 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4117 | 2315 | { release_hack( (yyvaluep->expr) ); }; | 2328 | { release_hack( (yyvaluep->expr) ); }; |
4118 | 2316 | 2329 | ||
4119 | 2317 | /* Line 480 of lalr1.cc */ | 2330 | /* Line 480 of lalr1.cc */ |
4121 | 2318 | #line 2319 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2331 | #line 2332 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4122 | 2319 | break; | 2332 | break; |
4123 | 2320 | case 582: /* "CatchListExpr" */ | 2333 | case 582: /* "CatchListExpr" */ |
4124 | 2321 | 2334 | ||
4125 | 2322 | /* Line 480 of lalr1.cc */ | 2335 | /* Line 480 of lalr1.cc */ |
4127 | 2323 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2336 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4128 | 2324 | { release_hack( (yyvaluep->expr) ); }; | 2337 | { release_hack( (yyvaluep->expr) ); }; |
4129 | 2325 | 2338 | ||
4130 | 2326 | /* Line 480 of lalr1.cc */ | 2339 | /* Line 480 of lalr1.cc */ |
4132 | 2327 | #line 2328 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2340 | #line 2341 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4133 | 2328 | break; | 2341 | break; |
4134 | 2329 | case 583: /* "CatchExpr" */ | 2342 | case 583: /* "CatchExpr" */ |
4135 | 2330 | 2343 | ||
4136 | 2331 | /* Line 480 of lalr1.cc */ | 2344 | /* Line 480 of lalr1.cc */ |
4138 | 2332 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2345 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4139 | 2333 | { release_hack( (yyvaluep->expr) ); }; | 2346 | { release_hack( (yyvaluep->expr) ); }; |
4140 | 2334 | 2347 | ||
4141 | 2335 | /* Line 480 of lalr1.cc */ | 2348 | /* Line 480 of lalr1.cc */ |
4143 | 2336 | #line 2337 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2349 | #line 2350 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4144 | 2337 | break; | 2350 | break; |
4145 | 2338 | case 584: /* "BracedExpr" */ | 2351 | case 584: /* "BracedExpr" */ |
4146 | 2339 | 2352 | ||
4147 | 2340 | /* Line 480 of lalr1.cc */ | 2353 | /* Line 480 of lalr1.cc */ |
4149 | 2341 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2354 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4150 | 2342 | { release_hack( (yyvaluep->expr) ); }; | 2355 | { release_hack( (yyvaluep->expr) ); }; |
4151 | 2343 | 2356 | ||
4152 | 2344 | /* Line 480 of lalr1.cc */ | 2357 | /* Line 480 of lalr1.cc */ |
4154 | 2345 | #line 2346 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2358 | #line 2359 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4155 | 2346 | break; | 2359 | break; |
4156 | 2347 | case 585: /* "NameTestList" */ | 2360 | case 585: /* "NameTestList" */ |
4157 | 2348 | 2361 | ||
4158 | 2349 | /* Line 480 of lalr1.cc */ | 2362 | /* Line 480 of lalr1.cc */ |
4160 | 2350 | #line 935 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2363 | #line 935 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4161 | 2351 | { delete (yyvaluep->name_test_list); }; | 2364 | { delete (yyvaluep->name_test_list); }; |
4162 | 2352 | 2365 | ||
4163 | 2353 | /* Line 480 of lalr1.cc */ | 2366 | /* Line 480 of lalr1.cc */ |
4165 | 2354 | #line 2355 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2367 | #line 2368 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4166 | 2355 | break; | 2368 | break; |
4167 | 2356 | case 586: /* "FTSelection" */ | 2369 | case 586: /* "FTSelection" */ |
4168 | 2357 | 2370 | ||
4169 | 2358 | /* Line 480 of lalr1.cc */ | 2371 | /* Line 480 of lalr1.cc */ |
4171 | 2359 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2372 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4172 | 2360 | { release_hack( (yyvaluep->node) ); }; | 2373 | { release_hack( (yyvaluep->node) ); }; |
4173 | 2361 | 2374 | ||
4174 | 2362 | /* Line 480 of lalr1.cc */ | 2375 | /* Line 480 of lalr1.cc */ |
4176 | 2363 | #line 2364 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2376 | #line 2377 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4177 | 2364 | break; | 2377 | break; |
4178 | 2365 | case 589: /* "FTOr" */ | 2378 | case 589: /* "FTOr" */ |
4179 | 2366 | 2379 | ||
4180 | 2367 | /* Line 480 of lalr1.cc */ | 2380 | /* Line 480 of lalr1.cc */ |
4182 | 2368 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2381 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4183 | 2369 | { release_hack( (yyvaluep->node) ); }; | 2382 | { release_hack( (yyvaluep->node) ); }; |
4184 | 2370 | 2383 | ||
4185 | 2371 | /* Line 480 of lalr1.cc */ | 2384 | /* Line 480 of lalr1.cc */ |
4187 | 2372 | #line 2373 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2385 | #line 2386 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4188 | 2373 | break; | 2386 | break; |
4189 | 2374 | case 590: /* "FTAnd" */ | 2387 | case 590: /* "FTAnd" */ |
4190 | 2375 | 2388 | ||
4191 | 2376 | /* Line 480 of lalr1.cc */ | 2389 | /* Line 480 of lalr1.cc */ |
4193 | 2377 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2390 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4194 | 2378 | { release_hack( (yyvaluep->node) ); }; | 2391 | { release_hack( (yyvaluep->node) ); }; |
4195 | 2379 | 2392 | ||
4196 | 2380 | /* Line 480 of lalr1.cc */ | 2393 | /* Line 480 of lalr1.cc */ |
4198 | 2381 | #line 2382 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2394 | #line 2395 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4199 | 2382 | break; | 2395 | break; |
4200 | 2383 | case 591: /* "FTMildNot" */ | 2396 | case 591: /* "FTMildNot" */ |
4201 | 2384 | 2397 | ||
4202 | 2385 | /* Line 480 of lalr1.cc */ | 2398 | /* Line 480 of lalr1.cc */ |
4204 | 2386 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2399 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4205 | 2387 | { release_hack( (yyvaluep->node) ); }; | 2400 | { release_hack( (yyvaluep->node) ); }; |
4206 | 2388 | 2401 | ||
4207 | 2389 | /* Line 480 of lalr1.cc */ | 2402 | /* Line 480 of lalr1.cc */ |
4209 | 2390 | #line 2391 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2403 | #line 2404 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4210 | 2391 | break; | 2404 | break; |
4211 | 2392 | case 592: /* "FTUnaryNot" */ | 2405 | case 592: /* "FTUnaryNot" */ |
4212 | 2393 | 2406 | ||
4213 | 2394 | /* Line 480 of lalr1.cc */ | 2407 | /* Line 480 of lalr1.cc */ |
4215 | 2395 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2408 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4216 | 2396 | { release_hack( (yyvaluep->node) ); }; | 2409 | { release_hack( (yyvaluep->node) ); }; |
4217 | 2397 | 2410 | ||
4218 | 2398 | /* Line 480 of lalr1.cc */ | 2411 | /* Line 480 of lalr1.cc */ |
4220 | 2399 | #line 2400 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2412 | #line 2413 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4221 | 2400 | break; | 2413 | break; |
4222 | 2401 | case 593: /* "FTPrimaryWithOptions" */ | 2414 | case 593: /* "FTPrimaryWithOptions" */ |
4223 | 2402 | 2415 | ||
4224 | 2403 | /* Line 480 of lalr1.cc */ | 2416 | /* Line 480 of lalr1.cc */ |
4226 | 2404 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2417 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4227 | 2405 | { release_hack( (yyvaluep->node) ); }; | 2418 | { release_hack( (yyvaluep->node) ); }; |
4228 | 2406 | 2419 | ||
4229 | 2407 | /* Line 480 of lalr1.cc */ | 2420 | /* Line 480 of lalr1.cc */ |
4231 | 2408 | #line 2409 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2421 | #line 2422 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4232 | 2409 | break; | 2422 | break; |
4233 | 2410 | case 594: /* "opt_FTMatchOptions" */ | 2423 | case 594: /* "opt_FTMatchOptions" */ |
4234 | 2411 | 2424 | ||
4235 | 2412 | /* Line 480 of lalr1.cc */ | 2425 | /* Line 480 of lalr1.cc */ |
4237 | 2413 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2426 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4238 | 2414 | { release_hack( (yyvaluep->node) ); }; | 2427 | { release_hack( (yyvaluep->node) ); }; |
4239 | 2415 | 2428 | ||
4240 | 2416 | /* Line 480 of lalr1.cc */ | 2429 | /* Line 480 of lalr1.cc */ |
4242 | 2417 | #line 2418 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2430 | #line 2431 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4243 | 2418 | break; | 2431 | break; |
4244 | 2419 | case 596: /* "FTWeight" */ | 2432 | case 596: /* "FTWeight" */ |
4245 | 2420 | 2433 | ||
4246 | 2421 | /* Line 480 of lalr1.cc */ | 2434 | /* Line 480 of lalr1.cc */ |
4248 | 2422 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2435 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4249 | 2423 | { release_hack( (yyvaluep->node) ); }; | 2436 | { release_hack( (yyvaluep->node) ); }; |
4250 | 2424 | 2437 | ||
4251 | 2425 | /* Line 480 of lalr1.cc */ | 2438 | /* Line 480 of lalr1.cc */ |
4253 | 2426 | #line 2427 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2439 | #line 2440 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4254 | 2427 | break; | 2440 | break; |
4255 | 2428 | case 597: /* "FTPrimary" */ | 2441 | case 597: /* "FTPrimary" */ |
4256 | 2429 | 2442 | ||
4257 | 2430 | /* Line 480 of lalr1.cc */ | 2443 | /* Line 480 of lalr1.cc */ |
4259 | 2431 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2444 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4260 | 2432 | { release_hack( (yyvaluep->node) ); }; | 2445 | { release_hack( (yyvaluep->node) ); }; |
4261 | 2433 | 2446 | ||
4262 | 2434 | /* Line 480 of lalr1.cc */ | 2447 | /* Line 480 of lalr1.cc */ |
4264 | 2435 | #line 2436 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2448 | #line 2449 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4265 | 2436 | break; | 2449 | break; |
4266 | 2437 | case 598: /* "opt_FTTimes" */ | 2450 | case 598: /* "opt_FTTimes" */ |
4267 | 2438 | 2451 | ||
4268 | 2439 | /* Line 480 of lalr1.cc */ | 2452 | /* Line 480 of lalr1.cc */ |
4270 | 2440 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2453 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4271 | 2441 | { release_hack( (yyvaluep->node) ); }; | 2454 | { release_hack( (yyvaluep->node) ); }; |
4272 | 2442 | 2455 | ||
4273 | 2443 | /* Line 480 of lalr1.cc */ | 2456 | /* Line 480 of lalr1.cc */ |
4275 | 2444 | #line 2445 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2457 | #line 2458 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4276 | 2445 | break; | 2458 | break; |
4277 | 2446 | case 599: /* "FTExtensionSelection" */ | 2459 | case 599: /* "FTExtensionSelection" */ |
4278 | 2447 | 2460 | ||
4279 | 2448 | /* Line 480 of lalr1.cc */ | 2461 | /* Line 480 of lalr1.cc */ |
4281 | 2449 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2462 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4282 | 2450 | { release_hack( (yyvaluep->node) ); }; | 2463 | { release_hack( (yyvaluep->node) ); }; |
4283 | 2451 | 2464 | ||
4284 | 2452 | /* Line 480 of lalr1.cc */ | 2465 | /* Line 480 of lalr1.cc */ |
4286 | 2453 | #line 2454 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2466 | #line 2467 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4287 | 2454 | break; | 2467 | break; |
4288 | 2455 | case 601: /* "FTWords" */ | 2468 | case 601: /* "FTWords" */ |
4289 | 2456 | 2469 | ||
4290 | 2457 | /* Line 480 of lalr1.cc */ | 2470 | /* Line 480 of lalr1.cc */ |
4292 | 2458 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2471 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4293 | 2459 | { release_hack( (yyvaluep->node) ); }; | 2472 | { release_hack( (yyvaluep->node) ); }; |
4294 | 2460 | 2473 | ||
4295 | 2461 | /* Line 480 of lalr1.cc */ | 2474 | /* Line 480 of lalr1.cc */ |
4297 | 2462 | #line 2463 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2475 | #line 2476 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4298 | 2463 | break; | 2476 | break; |
4299 | 2464 | case 602: /* "FTWordsValue" */ | 2477 | case 602: /* "FTWordsValue" */ |
4300 | 2465 | 2478 | ||
4301 | 2466 | /* Line 480 of lalr1.cc */ | 2479 | /* Line 480 of lalr1.cc */ |
4303 | 2467 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2480 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4304 | 2468 | { release_hack( (yyvaluep->node) ); }; | 2481 | { release_hack( (yyvaluep->node) ); }; |
4305 | 2469 | 2482 | ||
4306 | 2470 | /* Line 480 of lalr1.cc */ | 2483 | /* Line 480 of lalr1.cc */ |
4308 | 2471 | #line 2472 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2484 | #line 2485 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4309 | 2472 | break; | 2485 | break; |
4310 | 2473 | case 604: /* "FTAnyallOption" */ | 2486 | case 604: /* "FTAnyallOption" */ |
4311 | 2474 | 2487 | ||
4312 | 2475 | /* Line 480 of lalr1.cc */ | 2488 | /* Line 480 of lalr1.cc */ |
4314 | 2476 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2489 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4315 | 2477 | { release_hack( (yyvaluep->node) ); }; | 2490 | { release_hack( (yyvaluep->node) ); }; |
4316 | 2478 | 2491 | ||
4317 | 2479 | /* Line 480 of lalr1.cc */ | 2492 | /* Line 480 of lalr1.cc */ |
4319 | 2480 | #line 2481 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2493 | #line 2494 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4320 | 2481 | break; | 2494 | break; |
4321 | 2482 | case 607: /* "FTPosFilter" */ | 2495 | case 607: /* "FTPosFilter" */ |
4322 | 2483 | 2496 | ||
4323 | 2484 | /* Line 480 of lalr1.cc */ | 2497 | /* Line 480 of lalr1.cc */ |
4325 | 2485 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2498 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4326 | 2486 | { release_hack( (yyvaluep->node) ); }; | 2499 | { release_hack( (yyvaluep->node) ); }; |
4327 | 2487 | 2500 | ||
4328 | 2488 | /* Line 480 of lalr1.cc */ | 2501 | /* Line 480 of lalr1.cc */ |
4330 | 2489 | #line 2490 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2502 | #line 2503 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4331 | 2490 | break; | 2503 | break; |
4332 | 2491 | case 608: /* "FTOrder" */ | 2504 | case 608: /* "FTOrder" */ |
4333 | 2492 | 2505 | ||
4334 | 2493 | /* Line 480 of lalr1.cc */ | 2506 | /* Line 480 of lalr1.cc */ |
4336 | 2494 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2507 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4337 | 2495 | { release_hack( (yyvaluep->node) ); }; | 2508 | { release_hack( (yyvaluep->node) ); }; |
4338 | 2496 | 2509 | ||
4339 | 2497 | /* Line 480 of lalr1.cc */ | 2510 | /* Line 480 of lalr1.cc */ |
4341 | 2498 | #line 2499 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2511 | #line 2512 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4342 | 2499 | break; | 2512 | break; |
4343 | 2500 | case 609: /* "FTWindow" */ | 2513 | case 609: /* "FTWindow" */ |
4344 | 2501 | 2514 | ||
4345 | 2502 | /* Line 480 of lalr1.cc */ | 2515 | /* Line 480 of lalr1.cc */ |
4347 | 2503 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2516 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4348 | 2504 | { release_hack( (yyvaluep->node) ); }; | 2517 | { release_hack( (yyvaluep->node) ); }; |
4349 | 2505 | 2518 | ||
4350 | 2506 | /* Line 480 of lalr1.cc */ | 2519 | /* Line 480 of lalr1.cc */ |
4352 | 2507 | #line 2508 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2520 | #line 2521 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4353 | 2508 | break; | 2521 | break; |
4354 | 2509 | case 610: /* "FTDistance" */ | 2522 | case 610: /* "FTDistance" */ |
4355 | 2510 | 2523 | ||
4356 | 2511 | /* Line 480 of lalr1.cc */ | 2524 | /* Line 480 of lalr1.cc */ |
4358 | 2512 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2525 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4359 | 2513 | { release_hack( (yyvaluep->node) ); }; | 2526 | { release_hack( (yyvaluep->node) ); }; |
4360 | 2514 | 2527 | ||
4361 | 2515 | /* Line 480 of lalr1.cc */ | 2528 | /* Line 480 of lalr1.cc */ |
4363 | 2516 | #line 2517 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2529 | #line 2530 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4364 | 2517 | break; | 2530 | break; |
4365 | 2518 | case 611: /* "FTUnit" */ | 2531 | case 611: /* "FTUnit" */ |
4366 | 2519 | 2532 | ||
4367 | 2520 | /* Line 480 of lalr1.cc */ | 2533 | /* Line 480 of lalr1.cc */ |
4369 | 2521 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2534 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4370 | 2522 | { release_hack( (yyvaluep->node) ); }; | 2535 | { release_hack( (yyvaluep->node) ); }; |
4371 | 2523 | 2536 | ||
4372 | 2524 | /* Line 480 of lalr1.cc */ | 2537 | /* Line 480 of lalr1.cc */ |
4374 | 2525 | #line 2526 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2538 | #line 2539 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4375 | 2526 | break; | 2539 | break; |
4376 | 2527 | case 612: /* "FTMatchOptions" */ | 2540 | case 612: /* "FTMatchOptions" */ |
4377 | 2528 | 2541 | ||
4378 | 2529 | /* Line 480 of lalr1.cc */ | 2542 | /* Line 480 of lalr1.cc */ |
4380 | 2530 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2543 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4381 | 2531 | { release_hack( (yyvaluep->node) ); }; | 2544 | { release_hack( (yyvaluep->node) ); }; |
4382 | 2532 | 2545 | ||
4383 | 2533 | /* Line 480 of lalr1.cc */ | 2546 | /* Line 480 of lalr1.cc */ |
4385 | 2534 | #line 2535 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2547 | #line 2548 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4386 | 2535 | break; | 2548 | break; |
4387 | 2536 | case 613: /* "FTMatchOption" */ | 2549 | case 613: /* "FTMatchOption" */ |
4388 | 2537 | 2550 | ||
4389 | 2538 | /* Line 480 of lalr1.cc */ | 2551 | /* Line 480 of lalr1.cc */ |
4391 | 2539 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2552 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4392 | 2540 | { release_hack( (yyvaluep->node) ); }; | 2553 | { release_hack( (yyvaluep->node) ); }; |
4393 | 2541 | 2554 | ||
4394 | 2542 | /* Line 480 of lalr1.cc */ | 2555 | /* Line 480 of lalr1.cc */ |
4396 | 2543 | #line 2544 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2556 | #line 2557 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4397 | 2544 | break; | 2557 | break; |
4398 | 2545 | case 614: /* "FTCaseOption" */ | 2558 | case 614: /* "FTCaseOption" */ |
4399 | 2546 | 2559 | ||
4400 | 2547 | /* Line 480 of lalr1.cc */ | 2560 | /* Line 480 of lalr1.cc */ |
4402 | 2548 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2561 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4403 | 2549 | { release_hack( (yyvaluep->node) ); }; | 2562 | { release_hack( (yyvaluep->node) ); }; |
4404 | 2550 | 2563 | ||
4405 | 2551 | /* Line 480 of lalr1.cc */ | 2564 | /* Line 480 of lalr1.cc */ |
4407 | 2552 | #line 2553 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2565 | #line 2566 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4408 | 2553 | break; | 2566 | break; |
4409 | 2554 | case 615: /* "FTDiacriticsOption" */ | 2567 | case 615: /* "FTDiacriticsOption" */ |
4410 | 2555 | 2568 | ||
4411 | 2556 | /* Line 480 of lalr1.cc */ | 2569 | /* Line 480 of lalr1.cc */ |
4413 | 2557 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2570 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4414 | 2558 | { release_hack( (yyvaluep->node) ); }; | 2571 | { release_hack( (yyvaluep->node) ); }; |
4415 | 2559 | 2572 | ||
4416 | 2560 | /* Line 480 of lalr1.cc */ | 2573 | /* Line 480 of lalr1.cc */ |
4418 | 2561 | #line 2562 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2574 | #line 2575 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4419 | 2562 | break; | 2575 | break; |
4420 | 2563 | case 616: /* "FTExtensionOption" */ | 2576 | case 616: /* "FTExtensionOption" */ |
4421 | 2564 | 2577 | ||
4422 | 2565 | /* Line 480 of lalr1.cc */ | 2578 | /* Line 480 of lalr1.cc */ |
4424 | 2566 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2579 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4425 | 2567 | { release_hack( (yyvaluep->node) ); }; | 2580 | { release_hack( (yyvaluep->node) ); }; |
4426 | 2568 | 2581 | ||
4427 | 2569 | /* Line 480 of lalr1.cc */ | 2582 | /* Line 480 of lalr1.cc */ |
4429 | 2570 | #line 2571 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2583 | #line 2584 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4430 | 2571 | break; | 2584 | break; |
4431 | 2572 | case 617: /* "FTStemOption" */ | 2585 | case 617: /* "FTStemOption" */ |
4432 | 2573 | 2586 | ||
4433 | 2574 | /* Line 480 of lalr1.cc */ | 2587 | /* Line 480 of lalr1.cc */ |
4435 | 2575 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2588 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4436 | 2576 | { release_hack( (yyvaluep->node) ); }; | 2589 | { release_hack( (yyvaluep->node) ); }; |
4437 | 2577 | 2590 | ||
4438 | 2578 | /* Line 480 of lalr1.cc */ | 2591 | /* Line 480 of lalr1.cc */ |
4440 | 2579 | #line 2580 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2592 | #line 2593 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4441 | 2580 | break; | 2593 | break; |
4442 | 2581 | case 618: /* "FTThesaurusOption" */ | 2594 | case 618: /* "FTThesaurusOption" */ |
4443 | 2582 | 2595 | ||
4444 | 2583 | /* Line 480 of lalr1.cc */ | 2596 | /* Line 480 of lalr1.cc */ |
4446 | 2584 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2597 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4447 | 2585 | { release_hack( (yyvaluep->node) ); }; | 2598 | { release_hack( (yyvaluep->node) ); }; |
4448 | 2586 | 2599 | ||
4449 | 2587 | /* Line 480 of lalr1.cc */ | 2600 | /* Line 480 of lalr1.cc */ |
4451 | 2588 | #line 2589 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2601 | #line 2602 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4452 | 2589 | break; | 2602 | break; |
4453 | 2590 | case 622: /* "FTThesaurusID" */ | 2603 | case 622: /* "FTThesaurusID" */ |
4454 | 2591 | 2604 | ||
4455 | 2592 | /* Line 480 of lalr1.cc */ | 2605 | /* Line 480 of lalr1.cc */ |
4457 | 2593 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2606 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4458 | 2594 | { release_hack( (yyvaluep->node) ); }; | 2607 | { release_hack( (yyvaluep->node) ); }; |
4459 | 2595 | 2608 | ||
4460 | 2596 | /* Line 480 of lalr1.cc */ | 2609 | /* Line 480 of lalr1.cc */ |
4462 | 2597 | #line 2598 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2610 | #line 2611 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4463 | 2598 | break; | 2611 | break; |
4464 | 2599 | case 625: /* "FTStopWordOption" */ | 2612 | case 625: /* "FTStopWordOption" */ |
4465 | 2600 | 2613 | ||
4466 | 2601 | /* Line 480 of lalr1.cc */ | 2614 | /* Line 480 of lalr1.cc */ |
4468 | 2602 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2615 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4469 | 2603 | { release_hack( (yyvaluep->node) ); }; | 2616 | { release_hack( (yyvaluep->node) ); }; |
4470 | 2604 | 2617 | ||
4471 | 2605 | /* Line 480 of lalr1.cc */ | 2618 | /* Line 480 of lalr1.cc */ |
4473 | 2606 | #line 2607 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2619 | #line 2620 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4474 | 2607 | break; | 2620 | break; |
4475 | 2608 | case 626: /* "FTStopWords" */ | 2621 | case 626: /* "FTStopWords" */ |
4476 | 2609 | 2622 | ||
4477 | 2610 | /* Line 480 of lalr1.cc */ | 2623 | /* Line 480 of lalr1.cc */ |
4479 | 2611 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2624 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4480 | 2612 | { release_hack( (yyvaluep->node) ); }; | 2625 | { release_hack( (yyvaluep->node) ); }; |
4481 | 2613 | 2626 | ||
4482 | 2614 | /* Line 480 of lalr1.cc */ | 2627 | /* Line 480 of lalr1.cc */ |
4484 | 2615 | #line 2616 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2628 | #line 2629 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4485 | 2616 | break; | 2629 | break; |
4486 | 2617 | case 630: /* "FTStopWordsInclExcl" */ | 2630 | case 630: /* "FTStopWordsInclExcl" */ |
4487 | 2618 | 2631 | ||
4488 | 2619 | /* Line 480 of lalr1.cc */ | 2632 | /* Line 480 of lalr1.cc */ |
4490 | 2620 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2633 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4491 | 2621 | { release_hack( (yyvaluep->node) ); }; | 2634 | { release_hack( (yyvaluep->node) ); }; |
4492 | 2622 | 2635 | ||
4493 | 2623 | /* Line 480 of lalr1.cc */ | 2636 | /* Line 480 of lalr1.cc */ |
4495 | 2624 | #line 2625 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2637 | #line 2638 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4496 | 2625 | break; | 2638 | break; |
4497 | 2626 | case 631: /* "FTLanguageOption" */ | 2639 | case 631: /* "FTLanguageOption" */ |
4498 | 2627 | 2640 | ||
4499 | 2628 | /* Line 480 of lalr1.cc */ | 2641 | /* Line 480 of lalr1.cc */ |
4501 | 2629 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2642 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4502 | 2630 | { release_hack( (yyvaluep->node) ); }; | 2643 | { release_hack( (yyvaluep->node) ); }; |
4503 | 2631 | 2644 | ||
4504 | 2632 | /* Line 480 of lalr1.cc */ | 2645 | /* Line 480 of lalr1.cc */ |
4506 | 2633 | #line 2634 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2646 | #line 2647 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4507 | 2634 | break; | 2647 | break; |
4508 | 2635 | case 632: /* "FTWildCardOption" */ | 2648 | case 632: /* "FTWildCardOption" */ |
4509 | 2636 | 2649 | ||
4510 | 2637 | /* Line 480 of lalr1.cc */ | 2650 | /* Line 480 of lalr1.cc */ |
4512 | 2638 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2651 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4513 | 2639 | { release_hack( (yyvaluep->node) ); }; | 2652 | { release_hack( (yyvaluep->node) ); }; |
4514 | 2640 | 2653 | ||
4515 | 2641 | /* Line 480 of lalr1.cc */ | 2654 | /* Line 480 of lalr1.cc */ |
4517 | 2642 | #line 2643 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2655 | #line 2656 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4518 | 2643 | break; | 2656 | break; |
4519 | 2644 | case 633: /* "FTContent" */ | 2657 | case 633: /* "FTContent" */ |
4520 | 2645 | 2658 | ||
4521 | 2646 | /* Line 480 of lalr1.cc */ | 2659 | /* Line 480 of lalr1.cc */ |
4523 | 2647 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2660 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4524 | 2648 | { release_hack( (yyvaluep->node) ); }; | 2661 | { release_hack( (yyvaluep->node) ); }; |
4525 | 2649 | 2662 | ||
4526 | 2650 | /* Line 480 of lalr1.cc */ | 2663 | /* Line 480 of lalr1.cc */ |
4528 | 2651 | #line 2652 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2664 | #line 2665 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4529 | 2652 | break; | 2665 | break; |
4530 | 2653 | case 634: /* "FTTimes" */ | 2666 | case 634: /* "FTTimes" */ |
4531 | 2654 | 2667 | ||
4532 | 2655 | /* Line 480 of lalr1.cc */ | 2668 | /* Line 480 of lalr1.cc */ |
4534 | 2656 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2669 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4535 | 2657 | { release_hack( (yyvaluep->node) ); }; | 2670 | { release_hack( (yyvaluep->node) ); }; |
4536 | 2658 | 2671 | ||
4537 | 2659 | /* Line 480 of lalr1.cc */ | 2672 | /* Line 480 of lalr1.cc */ |
4539 | 2660 | #line 2661 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2673 | #line 2674 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4540 | 2661 | break; | 2674 | break; |
4541 | 2662 | case 635: /* "FTRange" */ | 2675 | case 635: /* "FTRange" */ |
4542 | 2663 | 2676 | ||
4543 | 2664 | /* Line 480 of lalr1.cc */ | 2677 | /* Line 480 of lalr1.cc */ |
4545 | 2665 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2678 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4546 | 2666 | { release_hack( (yyvaluep->node) ); }; | 2679 | { release_hack( (yyvaluep->node) ); }; |
4547 | 2667 | 2680 | ||
4548 | 2668 | /* Line 480 of lalr1.cc */ | 2681 | /* Line 480 of lalr1.cc */ |
4550 | 2669 | #line 2670 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2682 | #line 2683 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4551 | 2670 | break; | 2683 | break; |
4552 | 2671 | case 636: /* "FTScope" */ | 2684 | case 636: /* "FTScope" */ |
4553 | 2672 | 2685 | ||
4554 | 2673 | /* Line 480 of lalr1.cc */ | 2686 | /* Line 480 of lalr1.cc */ |
4556 | 2674 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2687 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4557 | 2675 | { release_hack( (yyvaluep->node) ); }; | 2688 | { release_hack( (yyvaluep->node) ); }; |
4558 | 2676 | 2689 | ||
4559 | 2677 | /* Line 480 of lalr1.cc */ | 2690 | /* Line 480 of lalr1.cc */ |
4561 | 2678 | #line 2679 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2691 | #line 2692 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4562 | 2679 | break; | 2692 | break; |
4563 | 2680 | case 637: /* "FTBigUnit" */ | 2693 | case 637: /* "FTBigUnit" */ |
4564 | 2681 | 2694 | ||
4565 | 2682 | /* Line 480 of lalr1.cc */ | 2695 | /* Line 480 of lalr1.cc */ |
4567 | 2683 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2696 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4568 | 2684 | { release_hack( (yyvaluep->node) ); }; | 2697 | { release_hack( (yyvaluep->node) ); }; |
4569 | 2685 | 2698 | ||
4570 | 2686 | /* Line 480 of lalr1.cc */ | 2699 | /* Line 480 of lalr1.cc */ |
4572 | 2687 | #line 2688 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2700 | #line 2701 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4573 | 2688 | break; | 2701 | break; |
4574 | 2689 | case 638: /* "FTIgnoreOption" */ | 2702 | case 638: /* "FTIgnoreOption" */ |
4575 | 2690 | 2703 | ||
4576 | 2691 | /* Line 480 of lalr1.cc */ | 2704 | /* Line 480 of lalr1.cc */ |
4578 | 2692 | #line 926 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2705 | #line 926 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4579 | 2693 | { release_hack( (yyvaluep->node) ); }; | 2706 | { release_hack( (yyvaluep->node) ); }; |
4580 | 2694 | 2707 | ||
4581 | 2695 | /* Line 480 of lalr1.cc */ | 2708 | /* Line 480 of lalr1.cc */ |
4583 | 2696 | #line 2697 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2709 | #line 2710 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4584 | 2697 | break; | 2710 | break; |
4585 | 2698 | case 639: /* "JSONArrayConstructor" */ | 2711 | case 639: /* "JSONArrayConstructor" */ |
4586 | 2699 | 2712 | ||
4587 | 2700 | /* Line 480 of lalr1.cc */ | 2713 | /* Line 480 of lalr1.cc */ |
4589 | 2701 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2714 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4590 | 2702 | { release_hack( (yyvaluep->expr) ); }; | 2715 | { release_hack( (yyvaluep->expr) ); }; |
4591 | 2703 | 2716 | ||
4592 | 2704 | /* Line 480 of lalr1.cc */ | 2717 | /* Line 480 of lalr1.cc */ |
4594 | 2705 | #line 2706 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2718 | #line 2719 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4595 | 2706 | break; | 2719 | break; |
4596 | 2707 | case 640: /* "JSONSimpleObjectUnion" */ | 2720 | case 640: /* "JSONSimpleObjectUnion" */ |
4597 | 2708 | 2721 | ||
4598 | 2709 | /* Line 480 of lalr1.cc */ | 2722 | /* Line 480 of lalr1.cc */ |
4600 | 2710 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2723 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4601 | 2711 | { release_hack( (yyvaluep->expr) ); }; | 2724 | { release_hack( (yyvaluep->expr) ); }; |
4602 | 2712 | 2725 | ||
4603 | 2713 | /* Line 480 of lalr1.cc */ | 2726 | /* Line 480 of lalr1.cc */ |
4605 | 2714 | #line 2715 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2727 | #line 2728 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4606 | 2715 | break; | 2728 | break; |
4607 | 2716 | case 641: /* "JSONAccumulatorObjectUnion" */ | 2729 | case 641: /* "JSONAccumulatorObjectUnion" */ |
4608 | 2717 | 2730 | ||
4609 | 2718 | /* Line 480 of lalr1.cc */ | 2731 | /* Line 480 of lalr1.cc */ |
4611 | 2719 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2732 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4612 | 2720 | { release_hack( (yyvaluep->expr) ); }; | 2733 | { release_hack( (yyvaluep->expr) ); }; |
4613 | 2721 | 2734 | ||
4614 | 2722 | /* Line 480 of lalr1.cc */ | 2735 | /* Line 480 of lalr1.cc */ |
4616 | 2723 | #line 2724 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2736 | #line 2737 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4617 | 2724 | break; | 2737 | break; |
4618 | 2725 | case 642: /* "JSONObjectConstructor" */ | 2738 | case 642: /* "JSONObjectConstructor" */ |
4619 | 2726 | 2739 | ||
4620 | 2727 | /* Line 480 of lalr1.cc */ | 2740 | /* Line 480 of lalr1.cc */ |
4622 | 2728 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2741 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4623 | 2729 | { release_hack( (yyvaluep->expr) ); }; | 2742 | { release_hack( (yyvaluep->expr) ); }; |
4624 | 2730 | 2743 | ||
4625 | 2731 | /* Line 480 of lalr1.cc */ | 2744 | /* Line 480 of lalr1.cc */ |
4627 | 2732 | #line 2733 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2745 | #line 2746 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4628 | 2733 | break; | 2746 | break; |
4629 | 2734 | case 643: /* "JSONPairList" */ | 2747 | case 643: /* "JSONPairList" */ |
4630 | 2735 | 2748 | ||
4631 | 2736 | /* Line 480 of lalr1.cc */ | 2749 | /* Line 480 of lalr1.cc */ |
4633 | 2737 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2750 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4634 | 2738 | { release_hack( (yyvaluep->node) ); }; | 2751 | { release_hack( (yyvaluep->node) ); }; |
4635 | 2739 | 2752 | ||
4636 | 2740 | /* Line 480 of lalr1.cc */ | 2753 | /* Line 480 of lalr1.cc */ |
4638 | 2741 | #line 2742 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2754 | #line 2755 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4639 | 2742 | break; | 2755 | break; |
4640 | 2743 | case 644: /* "JSONInsertExpr" */ | 2756 | case 644: /* "JSONInsertExpr" */ |
4641 | 2744 | 2757 | ||
4642 | 2745 | /* Line 480 of lalr1.cc */ | 2758 | /* Line 480 of lalr1.cc */ |
4644 | 2746 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2759 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4645 | 2747 | { release_hack( (yyvaluep->expr) ); }; | 2760 | { release_hack( (yyvaluep->expr) ); }; |
4646 | 2748 | 2761 | ||
4647 | 2749 | /* Line 480 of lalr1.cc */ | 2762 | /* Line 480 of lalr1.cc */ |
4649 | 2750 | #line 2751 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2763 | #line 2764 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4650 | 2751 | break; | 2764 | break; |
4651 | 2752 | case 645: /* "JSONAppendExpr" */ | 2765 | case 645: /* "JSONAppendExpr" */ |
4652 | 2753 | 2766 | ||
4653 | 2754 | /* Line 480 of lalr1.cc */ | 2767 | /* Line 480 of lalr1.cc */ |
4655 | 2755 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2768 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4656 | 2756 | { release_hack( (yyvaluep->expr) ); }; | 2769 | { release_hack( (yyvaluep->expr) ); }; |
4657 | 2757 | 2770 | ||
4658 | 2758 | /* Line 480 of lalr1.cc */ | 2771 | /* Line 480 of lalr1.cc */ |
4660 | 2759 | #line 2760 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2772 | #line 2773 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4661 | 2760 | break; | 2773 | break; |
4662 | 2761 | case 646: /* "JSONDeleteExpr" */ | 2774 | case 646: /* "JSONDeleteExpr" */ |
4663 | 2762 | 2775 | ||
4664 | 2763 | /* Line 480 of lalr1.cc */ | 2776 | /* Line 480 of lalr1.cc */ |
4666 | 2764 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2777 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4667 | 2765 | { release_hack( (yyvaluep->expr) ); }; | 2778 | { release_hack( (yyvaluep->expr) ); }; |
4668 | 2766 | 2779 | ||
4669 | 2767 | /* Line 480 of lalr1.cc */ | 2780 | /* Line 480 of lalr1.cc */ |
4671 | 2768 | #line 2769 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2781 | #line 2782 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4672 | 2769 | break; | 2782 | break; |
4673 | 2770 | case 647: /* "JSONRenameExpr" */ | 2783 | case 647: /* "JSONRenameExpr" */ |
4674 | 2771 | 2784 | ||
4675 | 2772 | /* Line 480 of lalr1.cc */ | 2785 | /* Line 480 of lalr1.cc */ |
4677 | 2773 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2786 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4678 | 2774 | { release_hack( (yyvaluep->expr) ); }; | 2787 | { release_hack( (yyvaluep->expr) ); }; |
4679 | 2775 | 2788 | ||
4680 | 2776 | /* Line 480 of lalr1.cc */ | 2789 | /* Line 480 of lalr1.cc */ |
4682 | 2777 | #line 2778 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2790 | #line 2791 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4683 | 2778 | break; | 2791 | break; |
4684 | 2779 | case 648: /* "JSONReplaceExpr" */ | 2792 | case 648: /* "JSONReplaceExpr" */ |
4685 | 2780 | 2793 | ||
4686 | 2781 | /* Line 480 of lalr1.cc */ | 2794 | /* Line 480 of lalr1.cc */ |
4688 | 2782 | #line 929 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2795 | #line 929 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4689 | 2783 | { release_hack( (yyvaluep->expr) ); }; | 2796 | { release_hack( (yyvaluep->expr) ); }; |
4690 | 2784 | 2797 | ||
4691 | 2785 | /* Line 480 of lalr1.cc */ | 2798 | /* Line 480 of lalr1.cc */ |
4693 | 2786 | #line 2787 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2799 | #line 2800 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4694 | 2787 | break; | 2800 | break; |
4695 | 2788 | case 655: /* "QNAME" */ | 2801 | case 655: /* "QNAME" */ |
4696 | 2789 | 2802 | ||
4697 | 2790 | /* Line 480 of lalr1.cc */ | 2803 | /* Line 480 of lalr1.cc */ |
4699 | 2791 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2804 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4700 | 2792 | { release_hack( (yyvaluep->expr) ); }; | 2805 | { release_hack( (yyvaluep->expr) ); }; |
4701 | 2793 | 2806 | ||
4702 | 2794 | /* Line 480 of lalr1.cc */ | 2807 | /* Line 480 of lalr1.cc */ |
4704 | 2795 | #line 2796 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2808 | #line 2809 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4705 | 2796 | break; | 2809 | break; |
4706 | 2797 | case 656: /* "FUNCTION_NAME" */ | 2810 | case 656: /* "FUNCTION_NAME" */ |
4707 | 2798 | 2811 | ||
4708 | 2799 | /* Line 480 of lalr1.cc */ | 2812 | /* Line 480 of lalr1.cc */ |
4710 | 2800 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2813 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4711 | 2801 | { release_hack( (yyvaluep->expr) ); }; | 2814 | { release_hack( (yyvaluep->expr) ); }; |
4712 | 2802 | 2815 | ||
4713 | 2803 | /* Line 480 of lalr1.cc */ | 2816 | /* Line 480 of lalr1.cc */ |
4715 | 2804 | #line 2805 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2817 | #line 2818 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4716 | 2805 | break; | 2818 | break; |
4717 | 2806 | case 657: /* "EQNAME" */ | 2819 | case 657: /* "EQNAME" */ |
4718 | 2807 | 2820 | ||
4719 | 2808 | /* Line 480 of lalr1.cc */ | 2821 | /* Line 480 of lalr1.cc */ |
4721 | 2809 | #line 932 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2822 | #line 932 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4722 | 2810 | { release_hack( (yyvaluep->expr) ); }; | 2823 | { release_hack( (yyvaluep->expr) ); }; |
4723 | 2811 | 2824 | ||
4724 | 2812 | /* Line 480 of lalr1.cc */ | 2825 | /* Line 480 of lalr1.cc */ |
4726 | 2813 | #line 2814 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2826 | #line 2827 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4727 | 2814 | break; | 2827 | break; |
4728 | 2815 | 2828 | ||
4729 | 2816 | default: | 2829 | default: |
4730 | @@ -2853,6 +2866,18 @@ | |||
4731 | 2853 | } | 2866 | } |
4732 | 2854 | #endif | 2867 | #endif |
4733 | 2855 | 2868 | ||
4734 | 2869 | inline bool | ||
4735 | 2870 | xquery_parser::yy_pact_value_is_default_ (int yyvalue) | ||
4736 | 2871 | { | ||
4737 | 2872 | return yyvalue == yypact_ninf_; | ||
4738 | 2873 | } | ||
4739 | 2874 | |||
4740 | 2875 | inline bool | ||
4741 | 2876 | xquery_parser::yy_table_value_is_error_ (int yyvalue) | ||
4742 | 2877 | { | ||
4743 | 2878 | return yyvalue == yytable_ninf_; | ||
4744 | 2879 | } | ||
4745 | 2880 | |||
4746 | 2856 | int | 2881 | int |
4747 | 2857 | xquery_parser::parse () | 2882 | xquery_parser::parse () |
4748 | 2858 | { | 2883 | { |
4749 | @@ -2874,7 +2899,7 @@ | |||
4750 | 2874 | /// Location of the lookahead. | 2899 | /// Location of the lookahead. |
4751 | 2875 | location_type yylloc; | 2900 | location_type yylloc; |
4752 | 2876 | /// The locations where the error started and ended. | 2901 | /// The locations where the error started and ended. |
4754 | 2877 | location_type yyerror_range[2]; | 2902 | location_type yyerror_range[3]; |
4755 | 2878 | 2903 | ||
4756 | 2879 | /// $$. | 2904 | /// $$. |
4757 | 2880 | semantic_type yyval; | 2905 | semantic_type yyval; |
4758 | @@ -2888,14 +2913,14 @@ | |||
4759 | 2888 | 2913 | ||
4760 | 2889 | /* User initialization code. */ | 2914 | /* User initialization code. */ |
4761 | 2890 | 2915 | ||
4764 | 2891 | /* Line 553 of lalr1.cc */ | 2916 | /* Line 565 of lalr1.cc */ |
4765 | 2892 | #line 140 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 2917 | #line 140 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4766 | 2893 | { | 2918 | { |
4767 | 2894 | yylloc.begin.filename = yylloc.end.filename = &(driver.theFilename2); | 2919 | yylloc.begin.filename = yylloc.end.filename = &(driver.theFilename2); |
4768 | 2895 | } | 2920 | } |
4769 | 2896 | 2921 | ||
4772 | 2897 | /* Line 553 of lalr1.cc */ | 2922 | /* Line 565 of lalr1.cc */ |
4773 | 2898 | #line 2899 "/home/markos/zorba/repo/union-sequence-types/build-opt/src/compiler/parser/xquery_parser.cpp" | 2923 | #line 2924 "/home/colea/xquery_bzr/hof/build/src/compiler/parser/xquery_parser.cpp" |
4774 | 2899 | 2924 | ||
4775 | 2900 | /* Initialize the stacks. The initial state will be pushed in | 2925 | /* Initialize the stacks. The initial state will be pushed in |
4776 | 2901 | yynewstate, since the latter expects the semantical and the | 2926 | yynewstate, since the latter expects the semantical and the |
4777 | @@ -2923,7 +2948,7 @@ | |||
4778 | 2923 | 2948 | ||
4779 | 2924 | /* Try to take a decision without lookahead. */ | 2949 | /* Try to take a decision without lookahead. */ |
4780 | 2925 | yyn = yypact_[yystate]; | 2950 | yyn = yypact_[yystate]; |
4782 | 2926 | if (yyn == yypact_ninf_) | 2951 | if (yy_pact_value_is_default_ (yyn)) |
4783 | 2927 | goto yydefault; | 2952 | goto yydefault; |
4784 | 2928 | 2953 | ||
4785 | 2929 | /* Read a lookahead token. */ | 2954 | /* Read a lookahead token. */ |
4786 | @@ -2956,8 +2981,8 @@ | |||
4787 | 2956 | yyn = yytable_[yyn]; | 2981 | yyn = yytable_[yyn]; |
4788 | 2957 | if (yyn <= 0) | 2982 | if (yyn <= 0) |
4789 | 2958 | { | 2983 | { |
4792 | 2959 | if (yyn == 0 || yyn == yytable_ninf_) | 2984 | if (yy_table_value_is_error_ (yyn)) |
4793 | 2960 | goto yyerrlab; | 2985 | goto yyerrlab; |
4794 | 2961 | yyn = -yyn; | 2986 | yyn = -yyn; |
4795 | 2962 | goto yyreduce; | 2987 | goto yyreduce; |
4796 | 2963 | } | 2988 | } |
4797 | @@ -3013,8 +3038,8 @@ | |||
4798 | 3013 | { | 3038 | { |
4799 | 3014 | case 3: | 3039 | case 3: |
4800 | 3015 | 3040 | ||
4803 | 3016 | /* Line 678 of lalr1.cc */ | 3041 | /* Line 690 of lalr1.cc */ |
4804 | 3017 | #line 1054 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3042 | #line 1054 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4805 | 3018 | { | 3043 | { |
4806 | 3019 | (yyval.node) = (yysemantic_stack_[(2) - (2)].node); | 3044 | (yyval.node) = (yysemantic_stack_[(2) - (2)].node); |
4807 | 3020 | } | 3045 | } |
4808 | @@ -3022,8 +3047,8 @@ | |||
4809 | 3022 | 3047 | ||
4810 | 3023 | case 4: | 3048 | case 4: |
4811 | 3024 | 3049 | ||
4814 | 3025 | /* Line 678 of lalr1.cc */ | 3050 | /* Line 690 of lalr1.cc */ |
4815 | 3026 | #line 1058 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3051 | #line 1058 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4816 | 3027 | { | 3052 | { |
4817 | 3028 | (yyval.node) = (yysemantic_stack_[(2) - (2)].node); | 3053 | (yyval.node) = (yysemantic_stack_[(2) - (2)].node); |
4818 | 3029 | } | 3054 | } |
4819 | @@ -3031,8 +3056,8 @@ | |||
4820 | 3031 | 3056 | ||
4821 | 3032 | case 5: | 3057 | case 5: |
4822 | 3033 | 3058 | ||
4825 | 3034 | /* Line 678 of lalr1.cc */ | 3059 | /* Line 690 of lalr1.cc */ |
4826 | 3035 | #line 1062 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3060 | #line 1062 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4827 | 3036 | { | 3061 | { |
4828 | 3037 | (yyval.node) = (yysemantic_stack_[(3) - (3)].node); | 3062 | (yyval.node) = (yysemantic_stack_[(3) - (3)].node); |
4829 | 3038 | } | 3063 | } |
4830 | @@ -3040,8 +3065,8 @@ | |||
4831 | 3040 | 3065 | ||
4832 | 3041 | case 6: | 3066 | case 6: |
4833 | 3042 | 3067 | ||
4836 | 3043 | /* Line 678 of lalr1.cc */ | 3068 | /* Line 690 of lalr1.cc */ |
4837 | 3044 | #line 1070 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3069 | #line 1070 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4838 | 3045 | { | 3070 | { |
4839 | 3046 | (yyval.node) = NULL; | 3071 | (yyval.node) = NULL; |
4840 | 3047 | } | 3072 | } |
4841 | @@ -3049,8 +3074,8 @@ | |||
4842 | 3049 | 3074 | ||
4843 | 3050 | case 7: | 3075 | case 7: |
4844 | 3051 | 3076 | ||
4847 | 3052 | /* Line 678 of lalr1.cc */ | 3077 | /* Line 690 of lalr1.cc */ |
4848 | 3053 | #line 1076 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3078 | #line 1076 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4849 | 3054 | { | 3079 | { |
4850 | 3055 | (yyval.node) = NULL; YYABORT; | 3080 | (yyval.node) = NULL; YYABORT; |
4851 | 3056 | } | 3081 | } |
4852 | @@ -3058,8 +3083,8 @@ | |||
4853 | 3058 | 3083 | ||
4854 | 3059 | case 8: | 3084 | case 8: |
4855 | 3060 | 3085 | ||
4858 | 3061 | /* Line 678 of lalr1.cc */ | 3086 | /* Line 690 of lalr1.cc */ |
4859 | 3062 | #line 1080 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3087 | #line 1080 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4860 | 3063 | { | 3088 | { |
4861 | 3064 | (yyval.node) = NULL; YYABORT; | 3089 | (yyval.node) = NULL; YYABORT; |
4862 | 3065 | } | 3090 | } |
4863 | @@ -3067,8 +3092,8 @@ | |||
4864 | 3067 | 3092 | ||
4865 | 3068 | case 9: | 3093 | case 9: |
4866 | 3069 | 3094 | ||
4869 | 3070 | /* Line 678 of lalr1.cc */ | 3095 | /* Line 690 of lalr1.cc */ |
4870 | 3071 | #line 1089 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3096 | #line 1089 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4871 | 3072 | { | 3097 | { |
4872 | 3073 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); | 3098 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); |
4873 | 3074 | driver.set_expr( (yyval.node) ); | 3099 | driver.set_expr( (yyval.node) ); |
4874 | @@ -3077,8 +3102,8 @@ | |||
4875 | 3077 | 3102 | ||
4876 | 3078 | case 10: | 3103 | case 10: |
4877 | 3079 | 3104 | ||
4880 | 3080 | /* Line 678 of lalr1.cc */ | 3105 | /* Line 690 of lalr1.cc */ |
4881 | 3081 | #line 1095 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3106 | #line 1095 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4882 | 3082 | { | 3107 | { |
4883 | 3083 | MainModule* mm = dynamic_cast<MainModule*>((yysemantic_stack_[(2) - (2)].node)); | 3108 | MainModule* mm = dynamic_cast<MainModule*>((yysemantic_stack_[(2) - (2)].node)); |
4884 | 3084 | mm->set_version_decl( static_cast<VersionDecl*>((yysemantic_stack_[(2) - (1)].node)) ); | 3109 | mm->set_version_decl( static_cast<VersionDecl*>((yysemantic_stack_[(2) - (1)].node)) ); |
4885 | @@ -3089,8 +3114,8 @@ | |||
4886 | 3089 | 3114 | ||
4887 | 3090 | case 11: | 3115 | case 11: |
4888 | 3091 | 3116 | ||
4891 | 3092 | /* Line 678 of lalr1.cc */ | 3117 | /* Line 690 of lalr1.cc */ |
4892 | 3093 | #line 1103 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3118 | #line 1103 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4893 | 3094 | { | 3119 | { |
4894 | 3095 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); | 3120 | (yyval.node) = (yysemantic_stack_[(1) - (1)].node); |
4895 | 3096 | driver.set_expr( (yyval.node) ); | 3121 | driver.set_expr( (yyval.node) ); |
4896 | @@ -3099,8 +3124,8 @@ | |||
4897 | 3099 | 3124 | ||
4898 | 3100 | case 12: | 3125 | case 12: |
4899 | 3101 | 3126 | ||
4902 | 3102 | /* Line 678 of lalr1.cc */ | 3127 | /* Line 690 of lalr1.cc */ |
4903 | 3103 | #line 1109 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3128 | #line 1109 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4904 | 3104 | { | 3129 | { |
4905 | 3105 | LibraryModule* lm = dynamic_cast<LibraryModule*>((yysemantic_stack_[(2) - (2)].node)); | 3130 | LibraryModule* lm = dynamic_cast<LibraryModule*>((yysemantic_stack_[(2) - (2)].node)); |
4906 | 3106 | lm->set_version_decl( static_cast<VersionDecl*>((yysemantic_stack_[(2) - (1)].node)) ); | 3131 | lm->set_version_decl( static_cast<VersionDecl*>((yysemantic_stack_[(2) - (1)].node)) ); |
4907 | @@ -3111,8 +3136,8 @@ | |||
4908 | 3111 | 3136 | ||
4909 | 3112 | case 13: | 3137 | case 13: |
4910 | 3113 | 3138 | ||
4913 | 3114 | /* Line 678 of lalr1.cc */ | 3139 | /* Line 690 of lalr1.cc */ |
4914 | 3115 | #line 1120 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3140 | #line 1120 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4915 | 3116 | { | 3141 | { |
4916 | 3117 | (yyval.node) = new VersionDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(4) - (3)].sval)), "utf-8" ); | 3142 | (yyval.node) = new VersionDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(4) - (3)].sval)), "utf-8" ); |
4917 | 3118 | } | 3143 | } |
4918 | @@ -3120,8 +3145,8 @@ | |||
4919 | 3120 | 3145 | ||
4920 | 3121 | case 14: | 3146 | case 14: |
4921 | 3122 | 3147 | ||
4924 | 3123 | /* Line 678 of lalr1.cc */ | 3148 | /* Line 690 of lalr1.cc */ |
4925 | 3124 | #line 1125 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3149 | #line 1125 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4926 | 3125 | { | 3150 | { |
4927 | 3126 | (yyval.node) = new VersionDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(6) - (3)].sval)), SYMTAB((yysemantic_stack_[(6) - (5)].sval)) ); | 3151 | (yyval.node) = new VersionDecl( LOC((yyloc)), SYMTAB((yysemantic_stack_[(6) - (3)].sval)), SYMTAB((yysemantic_stack_[(6) - (5)].sval)) ); |
4928 | 3127 | } | 3152 | } |
4929 | @@ -3129,8 +3154,8 @@ | |||
4930 | 3129 | 3154 | ||
4931 | 3130 | case 15: | 3155 | case 15: |
4932 | 3131 | 3156 | ||
4935 | 3132 | /* Line 678 of lalr1.cc */ | 3157 | /* Line 690 of lalr1.cc */ |
4936 | 3133 | #line 1133 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3158 | #line 1133 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4937 | 3134 | { | 3159 | { |
4938 | 3135 | Prolog* prolog = new Prolog(LOC((yyloc)), static_cast<SIND_DeclList*>((yysemantic_stack_[(3) - (1)].node)), NULL); | 3160 | Prolog* prolog = new Prolog(LOC((yyloc)), static_cast<SIND_DeclList*>((yysemantic_stack_[(3) - (1)].node)), NULL); |
4939 | 3136 | 3161 | ||
4940 | @@ -3140,8 +3165,8 @@ | |||
4941 | 3140 | 3165 | ||
4942 | 3141 | case 16: | 3166 | case 16: |
4943 | 3142 | 3167 | ||
4946 | 3143 | /* Line 678 of lalr1.cc */ | 3168 | /* Line 690 of lalr1.cc */ |
4947 | 3144 | #line 1140 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3169 | #line 1140 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4948 | 3145 | { | 3170 | { |
4949 | 3146 | Prolog* prolog = new Prolog(LOC((yyloc)), NULL, static_cast<VFO_DeclList*>((yysemantic_stack_[(3) - (1)].node))); | 3171 | Prolog* prolog = new Prolog(LOC((yyloc)), NULL, static_cast<VFO_DeclList*>((yysemantic_stack_[(3) - (1)].node))); |
4950 | 3147 | 3172 | ||
4951 | @@ -3151,8 +3176,8 @@ | |||
4952 | 3151 | 3176 | ||
4953 | 3152 | case 17: | 3177 | case 17: |
4954 | 3153 | 3178 | ||
4957 | 3154 | /* Line 678 of lalr1.cc */ | 3179 | /* Line 690 of lalr1.cc */ |
4958 | 3155 | #line 1147 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3180 | #line 1147 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4959 | 3156 | { | 3181 | { |
4960 | 3157 | Prolog* prolog = new Prolog(LOC((yyloc)), | 3182 | Prolog* prolog = new Prolog(LOC((yyloc)), |
4961 | 3158 | static_cast<SIND_DeclList*>((yysemantic_stack_[(5) - (1)].node)), | 3183 | static_cast<SIND_DeclList*>((yysemantic_stack_[(5) - (1)].node)), |
4962 | @@ -3164,8 +3189,8 @@ | |||
4963 | 3164 | 3189 | ||
4964 | 3165 | case 18: | 3190 | case 18: |
4965 | 3166 | 3191 | ||
4968 | 3167 | /* Line 678 of lalr1.cc */ | 3192 | /* Line 690 of lalr1.cc */ |
4969 | 3168 | #line 1156 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3193 | #line 1156 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4970 | 3169 | { | 3194 | { |
4971 | 3170 | (yyval.node) = new MainModule( LOC((yyloc)), static_cast<QueryBody*>((yysemantic_stack_[(1) - (1)].expr)), NULL ); | 3195 | (yyval.node) = new MainModule( LOC((yyloc)), static_cast<QueryBody*>((yysemantic_stack_[(1) - (1)].expr)), NULL ); |
4972 | 3171 | } | 3196 | } |
4973 | @@ -3173,8 +3198,8 @@ | |||
4974 | 3173 | 3198 | ||
4975 | 3174 | case 19: | 3199 | case 19: |
4976 | 3175 | 3200 | ||
4979 | 3176 | /* Line 678 of lalr1.cc */ | 3201 | /* Line 690 of lalr1.cc */ |
4980 | 3177 | #line 1163 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3202 | #line 1163 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4981 | 3178 | { | 3203 | { |
4982 | 3179 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); (yyval.node) = (yysemantic_stack_[(3) - (3)].expr); // to prevent the Bison warning | 3204 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); (yyval.node) = (yysemantic_stack_[(3) - (3)].expr); // to prevent the Bison warning |
4983 | 3180 | (yylocation_stack_[(3) - (1)]).step(); | 3205 | (yylocation_stack_[(3) - (1)]).step(); |
4984 | @@ -3185,8 +3210,8 @@ | |||
4985 | 3185 | 3210 | ||
4986 | 3186 | case 20: | 3211 | case 20: |
4987 | 3187 | 3212 | ||
4990 | 3188 | /* Line 678 of lalr1.cc */ | 3213 | /* Line 690 of lalr1.cc */ |
4991 | 3189 | #line 1171 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" | 3214 | #line 1171 "/home/colea/xquery_bzr/hof/src/compiler/parser/xquery_parser.y" |
4992 | 3190 | { | 3215 | { |
4993 | 3191 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); (yyval.node) = (yysemantic_stack_[(3) - (3)].expr); // to prevent the Bison warning | 3216 | (yyval.node) = (yysemantic_stack_[(3) - (1)].node); (yyval.node) = (yysemantic_stack_[(3) - (3)].expr); // to prevent the Bison warning |
4994 | 3192 | (yylocation_stack_[(3) - (1)]).step(); | 3217 | (yylocation_stack_[(3) - (1)]).step(); |
4995 | @@ -3197,8 +3222,8 @@ | |||
4996 | 3197 | 3222 | ||
4997 | 3198 | case 21: | 3223 | case 21: |
4998 | 3199 | 3224 | ||
4999 | 3200 | /* Line 678 of lalr1.cc */ | ||
5000 | 3201 | #line 1179 "/home/markos/zorba/repo/union-sequence-types/src/compiler/parser/xquery_parser.y" |
Attempt to merge into lp:zorba failed due to conflicts:
text conflict in test/rbkt/ ExpCompilerResu lts/IterPlan/ zorba/optim/ hoist01. iter