diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-08-13 10:00:24 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-08-13 10:00:24 +0200 |
commit | 628001248130565ec15894e64c5272c00ccf729a (patch) | |
tree | 56fd55ccb7faa7f78eaad134130433efbf86898a /cook | |
parent | 8c7623268bcf4006f8792b2c86122d239e348589 (diff) |
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 #\} #\%))) |