fix the error check

closes PR 12290
(cherry picked from commit 9ab6a93127)
This commit is contained in:
Robby Findler 2011-10-15 13:59:26 -05:00 committed by Eli Barzilay
parent 394e62a31e
commit 38c55dc063

View File

@ -1757,7 +1757,7 @@
(for-each
(λ (x)
(syntax-case x ()
[(stuff ...) (void)]
[(stuff stuff2 ...) (void)]
[x (raise-syntax-error syn-error-name "expected a clause" stx #'x)]))
(syntax->list #'(x ...)))
(raise-syntax-error syn-error-name "error checking failed.2" stx))]))