Fixed bug 172279: Incorrect syntax use causing an internal bug

This commit is contained in:
Abdulaziz Ghuloum
2007-11-27 06:11:30 -05:00
parent 5cf465f2c6
commit 6b74c8fb7d
4 changed files with 9 additions and 5 deletions
+4 -2
View File
@@ -3386,12 +3386,14 @@
(error 'syntax-error "invalid argument" args))
(raise
(condition
(make-who-condition 'expander)
;(make-who-condition 'expander)
(make-message-condition
(if (null? args)
"invalid syntax"
(apply string-append args)))
(stx->datum x)))))
(make-syntax-violation
(stx->datum x)
'none)))))
(define identifier? (lambda (x) (id? x)))