From 51e18e45c4ac48e8b77fbd7403daa7ba7109675a Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 11 Aug 2024 13:57:36 +0200 Subject: Remove uneeded import --- cook/parse.scm | 4 +++- cook/parse.sld | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cook/parse.scm b/cook/parse.scm index a4ab940..f53bca4 100644 --- a/cook/parse.scm +++ b/cook/parse.scm @@ -150,7 +150,9 @@ https://github.com/cooklang/spec/blob/main/EBNF.md (recipe ((* (or (: (=> m (+ ,metadata)) ,nl) (=> c (+ ,comment)) (: (=> s (+ ,step)) (or eos (* ,empty-line))))) - (list 'recipe (metadata-line-list->hash-table m) s)))) + (list 'recipe + (metadata-line-list->hash-table (or m '())) + s)))) (define (parse-cook str) (parse-fully recipe str)) diff --git a/cook/parse.sld b/cook/parse.sld index 6a92d1d..e9805c3 100644 --- a/cook/parse.sld +++ b/cook/parse.sld @@ -6,8 +6,7 @@ (chibi char-set ascii) (chibi char-set) (chibi parse) - (chibi regexp) - (chibi parse common)) + (chibi regexp)) (export amount? amount-quantity amount-unit -- cgit v1.2.3