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