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: 38074 lines (+12975/-9579)
186 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 (+238/-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 (+1471/-854)
src/compiler/translator/translator.h (+15/-0)
src/context/dynamic_context.cpp (+31/-0)
src/context/dynamic_context.h (+8/-0)
src/context/root_static_context.cpp (+1/-1)
src/context/static_context.cpp (+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 (+216/-0)
src/functions/func_hof_impl.h (+38/-0)
src/functions/func_sequences_impl.cpp (+2/-0)
src/functions/function.h (+4/-4)
src/functions/function_consts.h (+3/-0)
src/functions/library.cpp (+2/-0)
src/functions/pregenerated/func_function_item_iter.cpp (+27/-29)
src/functions/pregenerated/func_function_item_iter.h (+50/-5)
src/functions/pregenerated/func_numerics.cpp (+2/-2)
src/functions/pregenerated/function_enum.h (+4/-2)
src/functions/signature.cpp (+122/-87)
src/functions/signature.h (+10/-0)
src/functions/udf.cpp (+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 (+64/-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 (+64/-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 (+114/-64)
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 (+85/-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/ExpQueryResults/zorba/introspection/introsp-fn-7.xml.res (+1/-1)
test/rbkt/Queries/CMakeLists.txt (+0/-2)
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+147927@code.launchpad.net

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

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 :

Validation queue starting for merge proposal.
Log at: http://zorbatest.lambda.nu:8080/remotequeue/hof-2013-02-12T14-18-33.969Z/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-12T14-18-33.969Z is finished. The final
  status was:

  13 tests did not succeed - changes not commited.

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

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

Subscribers

People subscribed via source and target branches