From 628001248130565ec15894e64c5272c00ccf729a Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 13 Aug 2024 10:00:24 +0200 Subject: Make "7-inch pan" ingredient test pass" --- cook/parse.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cook') 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 #\} #\%))) -- cgit v1.2.3