Fixes bug 175117: Named let violates scoping rules

This commit is contained in:
Abdulaziz Ghuloum
2007-12-09 12:20:13 -05:00
parent 1d5c069273
commit 3562a736c5
6 changed files with 248 additions and 15 deletions
Binary file not shown.
+4
View File
@@ -677,6 +677,10 @@
(CODE #x31 (ModRM 3 src dst ac))]
[(and (mem? src) (reg? dst))
(CODErd #x33 dst src ac)]
[(and (reg? src) (mem? dst))
((CODE/digit #x31 src) dst ac)]
;[(and (imm? src) (mem? dst))
; ((CODE/digit #x81 '/6) dst (IMM32 src ac))]
[else (error who "invalid" instr)])]
[(leal src dst)
(cond
+1 -1
View File
@@ -1 +1 @@
1200
1201
+1 -2
View File
@@ -989,8 +989,7 @@
(invalid-fmls-error stx lhs*)))
((_ f ((lhs* rhs*) ...) b b* ...) (id? f)
(if (valid-bound-ids? lhs*)
(bless `(letrec ((,f (lambda ,lhs* ,b . ,b*)))
(,f . ,rhs*)))
(bless `((letrec ((,f (lambda ,lhs* ,b . ,b*))) ,f) . ,rhs*))
(invalid-fmls-error stx lhs*))))))
(define let-values-macro