Fix parser bug with JSON items. Refactor grouping variable ebnf rule according to the latest W3C spec.
This commit is contained in:
parent
aea9a21bd6
commit
53c83a79d5
2 changed files with 33493 additions and 33294 deletions
|
|
@ -177,7 +177,9 @@ GroupByClause
|
|||
GroupingSpecList
|
||||
::= GroupingSpec ( ',' GroupingSpec )*
|
||||
GroupingSpec
|
||||
::= '$' VarName ( TypeDeclaration? ':=' ExprSingle )? ( 'collation' URILiteral )?
|
||||
::= GroupingVariable ( TypeDeclaration? ':=' ExprSingle )? ( 'collation' URILiteral )?
|
||||
GroupingVariable
|
||||
::= '$' VarName
|
||||
OrderByClause
|
||||
::= ( 'order' 'by' | 'stable' 'order' 'by' ) OrderSpecList
|
||||
OrderSpecList
|
||||
|
|
@ -773,6 +775,9 @@ FunctionName
|
|||
| 'constraint'
|
||||
| 'loop'
|
||||
| 'returning'
|
||||
| 'object'
|
||||
| 'json-item'
|
||||
| 'array'
|
||||
NCName ::= NCName^Token
|
||||
| 'after'
|
||||
| 'and'
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue