make / illegal in identifiers

Fixes: https://github.com/kdl-org/kdl/issues/75
This commit is contained in:
Kat Marchán 2021-08-31 20:09:45 -07:00
parent d7089944ac
commit 3f739cad42
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 2 additions and 2 deletions

View File

@ -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'