more small fixes

This commit is contained in:
Kat Marchán 2024-02-08 09:35:26 -08:00
parent 40d8c83aca
commit b1163e1f91
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
2 changed files with 5 additions and 5 deletions

View File

@ -15,8 +15,9 @@
characters).
* `,`, `<`, and `>` are now legal identifier characters. They were previously
reserved for KQL but this is no longer necessary.
* Code points under `0x20`, code points above `0x10FFFF`, Delete control
character (`0x7F`), and the [unicode "direction control"
* Code points under `0x20` (except newline and whitespace code points), code
points above `0x10FFFF`, Delete control character (`0x7F`), and the [unicode
"direction control"
characters](https://www.w3.org/International/questions/qa-bidi-unicode-controls)
are now completely banned from appearing literally in KDL documents. They
can now only be represented in regular strings, and there's no facilities to

View File

@ -714,7 +714,8 @@ node-terminator := single-line-comment | newline | ';' | eof
prop := string optional-node-space equals-sign optional-node-space value
value := type? optional-node-space (string | number | keyword)
type := '(' optional-node-space string optional-node-space ')'
equals-sign := See Table (Equals Sign)
equals-sign := See Table ([Equals Sign](#equals-sign))
string := identifier-string | quoted-string | raw-string
@ -762,8 +763,6 @@ bom := '\u{FEFF}'
disallowed-literal-code-points := See Table (Disallowed Literal Code Points)
equals-sign := See Table ([Equals Sign](#equals-sign))
unicode-space := See Table (All [White_Space](#whitespace) unicode characters which are not `newline`)
single-line-comment := '//' ^newline* (newline | eof)