mirror of https://github.com/kdl-org/kdl.git
identifiers should never look like numbers
This commit is contained in:
parent
5883435297
commit
70867adec4
2
SPEC.md
2
SPEC.md
|
|
@ -311,7 +311,7 @@ node-space := ws* escline ws* | ws+
|
||||||
node-terminator := single-line-comment | newline | ';' | eof
|
node-terminator := single-line-comment | newline | ';' | eof
|
||||||
|
|
||||||
identifier := string | bare-identifier
|
identifier := string | bare-identifier
|
||||||
bare-identifier := (identifier-char - digit) identifier-char*
|
bare-identifier := (identifier-char - digit - sign) identifier-char*
|
||||||
identifier-char := unicode - linespace - [\{}<>;[]=,"]
|
identifier-char := unicode - linespace - [\{}<>;[]=,"]
|
||||||
prop := identifier '=' value
|
prop := identifier '=' value
|
||||||
value := string | number | boolean | 'null'
|
value := string | number | boolean | 'null'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue