mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47: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
|
||||
(map
|
||||
(lambda (arg body-exp)
|
||||
(string-append
|
||||
(mangle arg)
|
||||
" = "
|
||||
(c:body body-exp)
|
||||
";"))
|
||||
(if (equal? (mangle arg) (c:body body-exp))
|
||||
"" ;; Do nothing
|
||||
(string-append
|
||||
(mangle arg)
|
||||
" = "
|
||||
(c:body body-exp)
|
||||
";")))
|
||||
parent-args
|
||||
cgen-lis))))
|
||||
;;(trace:info `(loop ,args ,(cadr args) ,cgen-lis ,parent-args))
|
||||
|
|
Loading…
Add table
Reference in a new issue