mirror of https://github.com/kdl-org/kdl.git
remove () from identifiers so we can use it for KQL (#108)
This commit is contained in:
parent
d87979f175
commit
34c6592f09
4
SPEC.md
4
SPEC.md
|
|
@ -100,7 +100,7 @@ The following characters cannot be used anywhere in a bare
|
|||
|
||||
* Any codepoint with hexadecimal value `0x20` or below.
|
||||
* Any codepoint with hexadecimal value higher than `0x10FFFF`.
|
||||
* Any of "\\<>{};[]=,\""
|
||||
* Any of "\\<>{};[]()=,\""
|
||||
|
||||
### Line Continuation
|
||||
|
||||
|
|
@ -313,7 +313,7 @@ node-terminator := single-line-comment | newline | ';' | eof
|
|||
|
||||
identifier := string | bare-identifier
|
||||
bare-identifier := (identifier-char - digit - sign) identifier-char* | sign ((identifier-char - digit) identifier-char*)?
|
||||
identifier-char := unicode - linespace - [\{}<>;[]=,"]
|
||||
identifier-char := unicode - linespace - [\(){}<>;[]=,"]
|
||||
prop := identifier '=' value
|
||||
value := string | number | boolean | 'null'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue