Fix error message to match the test suite's check for it.

This commit is contained in:
Mike Sperber 2010-06-08 11:22:35 +02:00
parent f54dc18326
commit 97a04e9f9d

View File

@ -148,7 +148,7 @@
(when (bound-identifier-mapping-get defined-ids id (lambda () #f))
(raise-syntax-error
#f
"There is already a definition for this name."
"this name was defined previously and cannot be re-defined"
id))
(bound-identifier-mapping-put! defined-ids id #t))
(reverse (syntax->list #'(defined-id ...)))))