fix the error check
closes PR 12290
(cherry picked from commit 9ab6a93127
)
This commit is contained in:
parent
394e62a31e
commit
38c55dc063
|
@ -1757,7 +1757,7 @@
|
||||||
(for-each
|
(for-each
|
||||||
(λ (x)
|
(λ (x)
|
||||||
(syntax-case x ()
|
(syntax-case x ()
|
||||||
[(stuff ...) (void)]
|
[(stuff stuff2 ...) (void)]
|
||||||
[x (raise-syntax-error syn-error-name "expected a clause" stx #'x)]))
|
[x (raise-syntax-error syn-error-name "expected a clause" stx #'x)]))
|
||||||
(syntax->list #'(x ...)))
|
(syntax->list #'(x ...)))
|
||||||
(raise-syntax-error syn-error-name "error checking failed.2" stx))]))
|
(raise-syntax-error syn-error-name "error checking failed.2" stx))]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user