Merge lp:~nbrinza/zorba/hof into lp:zorba

Proposed by Nicolae Brinza
Status: Superseded
Proposed branch: lp:~nbrinza/zorba/hof
Merge into: lp:zorba
Diff against target: 37873 lines (+12839/-9545)
184 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 (+127/-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 (+36/-15)
src/compiler/expression/expr_iter.cpp (+23/-6)
src/compiler/expression/expr_manager.cpp (+24/-10)
src/compiler/expression/expr_manager.h (+15/-5)
src/compiler/expression/expr_put.cpp (+59/-11)
src/compiler/expression/expr_type.cpp (+7/-0)
src/compiler/expression/expr_visitor.h (+6/-5)
src/compiler/expression/function_item_expr.cpp (+64/-42)
src/compiler/expression/function_item_expr.h (+73/-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/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 (+1447/-824)
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 (+56/-0)
src/context/static_context.h (+10/-1)
src/diagnostics/diagnostic_en.xml (+14/-0)
src/diagnostics/pregenerated/diagnostic_list.cpp (+6/-0)
src/diagnostics/pregenerated/dict_en.cpp (+2/-0)
src/functions/CMakeLists.txt (+1/-0)
src/functions/func_hof_impl.cpp (+218/-0)
src/functions/func_hof_impl.h (+38/-0)
src/functions/func_sequences_impl.cpp (+2/-0)
src/functions/function.h (+4/-4)
src/functions/function_consts.h (+3/-0)
src/functions/library.cpp (+2/-0)
src/functions/pregenerated/func_function_item_iter.cpp (+27/-29)
src/functions/pregenerated/func_function_item_iter.h (+50/-5)
src/functions/pregenerated/func_numerics.cpp (+2/-2)
src/functions/pregenerated/function_enum.h (+4/-2)
src/functions/signature.cpp (+122/-87)
src/functions/signature.h (+10/-0)
src/functions/udf.cpp (+19/-1)
src/functions/udf.h (+2/-2)
src/runtime/accessors/accessors_impl.cpp (+3/-2)
src/runtime/api/plan_iterator_wrapper.cpp (+133/-7)
src/runtime/api/plan_iterator_wrapper.h (+66/-7)
src/runtime/api/plan_wrapper.cpp (+33/-12)
src/runtime/api/plan_wrapper.h (+3/-0)
src/runtime/base/plan_iterator.cpp (+62/-2)
src/runtime/base/plan_iterator.h (+32/-24)
src/runtime/core/constructors.cpp (+14/-2)
src/runtime/core/flwor_iterator.cpp (+75/-58)
src/runtime/core/flwor_iterator.h (+50/-50)
src/runtime/core/fncall_iterator.cpp (+47/-20)
src/runtime/core/fncall_iterator.h (+24/-17)
src/runtime/core/item_iterator.cpp (+371/-16)
src/runtime/core/item_iterator.h (+66/-19)
src/runtime/core/sequencetypes.cpp (+1/-1)
src/runtime/core/var_iterators.cpp (+34/-2)
src/runtime/core/var_iterators.h (+28/-28)
src/runtime/function_item/dynamic_fncall_iterator.cpp (+113/-63)
src/runtime/function_item/dynamic_fncall_iterator.h (+56/-14)
src/runtime/function_item/function_item.cpp (+204/-85)
src/runtime/function_item/function_item.h (+84/-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 (+20/-15)
src/zorbaserialization/class_serializer.h (+21/-14)
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/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
Reviewer Review Type Date Requested Status
Nicolae Brinza Pending
Review via email: mp+146290@code.launchpad.net

This proposal supersedes a proposal from 2013-02-03.

This proposal has been superseded by a proposal from 2013-02-11.

Commit message

Implementation of higher order functions.

Description of the change

Implementation of higher order functions.

To post a comment you must log in.
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

Validation queue starting for merge proposal.
Log at: http://zorbatest.lambda.nu:8080/remotequeue/hof-2013-01-23T16-47-10.293Z/log.html

Revision history for this message
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/zo/testing/zorbatest/tester/TarmacLander.cmake:275 (message):
  Validation queue job hof-2013-01-23T16-47-10.293Z is finished. The final
  status was:

  69 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

Attempt to merge into lp:zorba failed due to conflicts:

text conflict in src/compiler/translator/translator.cpp
text conflict in src/types/typeops.cpp

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

Validation queue starting for merge proposal.
Log at: http://zorbatest.lambda.nu:8080/remotequeue/hof-2013-02-01T11-37-00.909Z/log.html

Revision history for this message
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/zo/testing/zorbatest/tester/TarmacLander.cmake:275 (message):
  Validation queue job hof-2013-02-01T11-37-00.909Z is finished. The final
  status was:

  71 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal

Validation queue starting for merge proposal.
Log at: http://zorbatest.lambda.nu:8080/remotequeue/hof-2013-02-03T01-10-25.448Z/log.html

Revision history for this message
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/zo/testing/zorbatest/tester/TarmacLander.cmake:275 (message):
  Validation queue job hof-2013-02-03T01-10-25.448Z is finished. The final
  status was:

  59 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue starting for merge proposal.
Log at: http://zorbatest.lambda.nu:8080/remotequeue/hof-2013-02-03T02-43-18.232Z/log.html

Revision history for this message
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/zo/testing/zorbatest/tester/TarmacLander.cmake:275 (message):
  Validation queue job hof-2013-02-03T02-43-18.232Z is finished. The final
  status was:

  57 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue starting for merge proposal.
Log at: http://zorbatest.lambda.nu:8080/remotequeue/hof-2013-02-03T13-56-58.37Z/log.html

Revision history for this message
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/zo/testing/zorbatest/tester/TarmacLander.cmake:275 (message):
  Validation queue job hof-2013-02-03T13-56-58.37Z is finished. The final
  status was:

  54 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

lp:~nbrinza/zorba/hof updated
10682. By Nicolae Brinza

Fixed hof regressions

10683. By Nicolae Brinza

Merged with Zorba trunk

10684. By Nicolae Brinza

Fixed hof regressions

10685. By Nicolae Brinza

Merged with Zorba trunk

10686. By Nicolae Brinza

Removed the test 'xquery_3_0' from expected failures as it now passes.

10687. By Nicolae Brinza

Fixed more hof regressions

10688. By Nicolae Brinza

Merged with Zorba trunk

10689. By Nicolae Brinza

Fixed more hof regressions -- fixed plan serialization working with hofs.

10690. By Nicolae Brinza

Merged with Zorba trunk

10691. By Nicolae Brinza

Added expected failures for tests with incorrect results in XQTTS

10692. By Nicolae Brinza

Added the expected failures to the w3c_known_failures.txt as well so that it gets picked up by the testdriver_mt

10693. By Nicolae Brinza

Fixed FOTS regressions

10694. By Nicolae Brinza

Attempt to remove an expected FOTS failure as the test is now passing

10695. By Nicolae Brinza

Adjusted more expected FOTS failures

10696. By Nicolae Brinza

math:pi() FOTS regression now passing.

10697. By Nicolae Brinza

HoF work in progress

10698. By Nicolae Brinza

Merged with Zorba trunk

10699. By Nicolae Brinza

Cleanup of HoF work

10700. By Nicolae Brinza

Updated iterator tree for the gflwor_04.iter test

10701. By Nicolae Brinza

HoF cleanup

10702. By Nicolae Brinza

Fixed issues reported by Markos.

10703. By Nicolae Brinza

Removed HoFs from the features system. They are now always supported.

10704. By Nicolae Brinza

Removed redundant arity checks

10705. By Nicolae Brinza

Enabled FOTS HoF tests

10706. By Nicolae Brinza

Fixed more fn:function-lookup() tests.

10707. By Nicolae Brinza

Fixed a small error in the code

10708. By Nicolae Brinza

Better static typing for dynamic_function_invocation_expr

10709. By Nicolae Brinza

The testdriver no longer attempts to set enable the HoF feature

10710. By Nicolae Brinza

dynamic_function_invocation_expr's flwor translation now uses allowing empty, so that the flow reaches the iterator and the proper error is thrown

10711. By Nicolae Brinza

Merged with Zorba trunk

10712. By Nicolae Brinza

Removed more obsolete HoF feature enabling code.

10713. By Nicolae Brinza

HoF work in progress

10714. By Nicolae Brinza

Pulled some changes from the hof-merge branch

10715. By Nicolae Brinza

Fixed fn:function-name() for coerced functions.

10716. By Nicolae Brinza

Pulled changes from the hof-merge branch

Unmerged revisions

Preview Diff

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

Subscribers

People subscribed via source and target branches