Skip to content

Commit

Permalink
Clarify raw single-line string grammar (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjol authored Dec 11, 2024
1 parent 91f7ec0 commit 75a0869
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,8 @@ 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*) '"""'
single-line-raw-string-body := (unicode - newline - disallowed-literal-code-points)*
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)*
// Numbers
Expand Down
1 change: 0 additions & 1 deletion tests/test_cases/expected_kdl/raw_string_just_quote.kdl

This file was deleted.

0 comments on commit 75a0869

Please sign in to comment.