mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 16:57:35 +02:00
Do not reassign the same var to itself
This commit is contained in:
parent
5b3f5d34e1
commit
3d60211e67
1 changed files with 7 additions and 5 deletions
|
@ -970,11 +970,13 @@
|
||||||
string-append
|
string-append
|
||||||
(map
|
(map
|
||||||
(lambda (arg body-exp)
|
(lambda (arg body-exp)
|
||||||
(string-append
|
(if (equal? (mangle arg) (c:body body-exp))
|
||||||
(mangle arg)
|
"" ;; Do nothing
|
||||||
" = "
|
(string-append
|
||||||
(c:body body-exp)
|
(mangle arg)
|
||||||
";"))
|
" = "
|
||||||
|
(c:body body-exp)
|
||||||
|
";")))
|
||||||
parent-args
|
parent-args
|
||||||
cgen-lis))))
|
cgen-lis))))
|
||||||
;;(trace:info `(loop ,args ,(cadr args) ,cgen-lis ,parent-args))
|
;;(trace:info `(loop ,args ,(cadr args) ,cgen-lis ,parent-args))
|
||||||
|
|
Loading…
Add table
Reference in a new issue