mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 14:49:18 +02:00
Use a less confusing term in the error message for invalid clauses
Since ‘template’ is technically the second part
This commit is contained in:
parent
bddbdc801d
commit
aef1a1b358
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue