Skip to content

Commit

Permalink
Merge pull request #1 from joewiz/fix-map-constructor-syntax
Browse files Browse the repository at this point in the history
Fix map constructor syntax
  • Loading branch information
adamretter authored Aug 30, 2019
2 parents 2b0479d + c0281da commit ab400f9
Show file tree
Hide file tree
Showing 2 changed files with 5,728 additions and 5,544 deletions.
2 changes: 1 addition & 1 deletion lib/XQueryParser.ebnf
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ JSONTest ::=

MapType ::= 'map' '(' ( '*' | (AtomicOrUnionType ',' SequenceType) ) ')'

MapExpr ::= 'map' '{' ( ExprSingle ":=" ExprSingle ( "," ExprSingle ":=" ExprSingle )* )? '}'
MapExpr ::= 'map' '{' ( ExprSingle ":" ExprSingle ( "," ExprSingle ":" ExprSingle )* )? '}'

StructuredItemTest ::= "structured-item" "(" ")"

Expand Down
Loading

0 comments on commit ab400f9

Please sign in to comment.