mirror of https://github.com/kdl-org/kdl.git
typo
Accidental lingering `)` in single-line-raw-string-body, with no matching `(` to pair with.
This commit is contained in:
parent
1a6b17b0ae
commit
ca2bd45a66
4
SPEC.md
4
SPEC.md
|
|
@ -872,7 +872,7 @@ escape := ["\\bfnrts] | 'u{' hex-digit{1, 6} '}' | (unicode-space | newline)+
|
|||
hex-digit := [0-9a-fA-F]
|
||||
|
||||
raw-string := '#' raw-string-quotes '#' | '#' raw-string '#'
|
||||
raw-string-quotes := '"' single-line-raw-string-body '"' | '"""' newline multi-line-raw-string-body newline unicode-space*) '"""'
|
||||
raw-string-quotes := '"' single-line-raw-string-body '"' | '"""' newline multi-line-raw-string-body newline unicode-space* '"""'
|
||||
single-line-raw-string-body := '' | (single-line-raw-string-char - '"') single-line-raw-string-char* | '"' (single-line-raw-string-char - '"') single-line-raw-string-char*
|
||||
single-line-raw-string-char := unicode - newline - disallowed-literal-code-points
|
||||
multi-line-raw-string-body := (unicode - disallowed-literal-code-points)*
|
||||
|
|
@ -940,4 +940,4 @@ Specifically:
|
|||
For example, `^foo` means "must not match `foo`".
|
||||
* A single definition may be split over multiple lines. Newlines are treated as
|
||||
spaces.
|
||||
* `//` followed by text on its own line is used as comment syntax.
|
||||
* `//` followed by text on its own line is used as comment syntax.
|
||||
|
|
|
|||
Loading…
Reference in New Issue