mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Check if renamed symbol is a bound variable
This commit is contained in:
parent
d2019bb284
commit
9555c48850
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@
|
|||
;; if symbol has been renamed and is not a bound variable,
|
||||
;; undo the rename
|
||||
(let ((val (env:lookup expr *macro:renamed-variables* #f)))
|
||||
(if (and val (not (member val bv)))
|
||||
(if (and val (not (member expr bv)))
|
||||
(clean val bv)
|
||||
expr)))
|
||||
((if? expr)
|
||||
|
|
Loading…
Add table
Reference in a new issue