From aef1a1b3589af9ff8ed911727438bfb8add2724b Mon Sep 17 00:00:00 2001 From: Daphne Preston-Kendal Date: Tue, 1 Feb 2022 13:46:18 +0100 Subject: [PATCH] Use a less confusing term in the error message for invalid clauses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since ‘template’ is technically the second part --- lib/init-7.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init-7.scm b/lib/init-7.scm index 184cf17f..5e78af65 100644 --- a/lib/init-7.scm +++ b/lib/init-7.scm @@ -1080,7 +1080,7 @@ (lambda (clause) (if (and (list? clause) (= (length clause) 2)) (expand-pattern (car clause) (cadr clause)) - (error "invalid syntax template clause, which must be of the form (pattern template) (note fenders are not supported)" + (error "invalid syntax rule, which must be of the form (pattern template) (note fenders are not supported)" clause))) forms) (list