Skip to content

Commit

Permalink
Grammar rules updated. qt4cg#1685
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGruen committed Jan 12, 2025
1 parent 54f76d9 commit 7ff57d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions specifications/grammar-40/xpath-grammar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ VersionDecl ::= "xquery" (("encoding" StringLiteral) | ("version" StringLiteral
<g:ref name="AssignmentExpr" if="scripting" lookahead="3"/>
<g:ref name="ExitExpr" if="scripting" lookahead="2"/>
<g:ref name="WhileExpr" if="scripting" lookahead="2"/>
<g:ref name="PipelineExpr" if="xpath40 xquery40"/>
<g:ref name="OrExpr" if="xpath40 xquery40"/>
</g:choice>
</g:production>

Expand Down Expand Up @@ -1413,11 +1413,6 @@ ErrorVal ::= "$" VarName
<!-- [ start OrExpr etc -->

<g:exprProduction name="OperatorExpr" node-type="void">
<g:level>
<g:binary name="PipelineExpr" condition="&gt; 1">
<g:string>-></g:string>
</g:binary>
</g:level>
<g:level>
<g:binary name="OrExpr" condition="&gt; 1">
<g:string>or</g:string>
Expand Down Expand Up @@ -1558,6 +1553,11 @@ ErrorVal ::= "$" VarName
</g:sequence>
</g:postfix>
</g:level>
<g:level>
<g:binary name="PipelineExpr" condition="&gt; 1" if="xpath40 xquery40">
<g:string>-></g:string>
</g:binary>
</g:level>
<g:level>
<g:postfix name="ArrowExpr" prefix-seq-type="*" condition="&gt; 1" if="xpath40 xquery40">
<g:sequence>
Expand Down

0 comments on commit 7ff57d5

Please sign in to comment.