diff options
Diffstat (limited to 'cook')
-rw-r--r-- | cook/parse.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cook/parse.scm b/cook/parse.scm index fd6c70c..e162698 100644 --- a/cook/parse.scm +++ b/cook/parse.scm @@ -94,9 +94,9 @@ https://github.com/cooklang/spec/blob/main/EBNF.md (define text-chars (char-set-difference any-text-chars (char-set #\@ #\# #\~))) (define unit-chars (char-set-difference text-chars (char-set #\}))) -(define component-chars (char-set-difference text-chars - punctuation-chars)) +(define component-chars text-chars) (define component-word-chars (char-set-difference component-chars + punctuation-chars newline-chars whitespace-chars)) (define quantity-chars (char-set-difference text-chars (char-set #\} #\%))) |