mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 04:55:04 +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,
|
;; if symbol has been renamed and is not a bound variable,
|
||||||
;; undo the rename
|
;; undo the rename
|
||||||
(let ((val (env:lookup expr *macro:renamed-variables* #f)))
|
(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)
|
(clean val bv)
|
||||||
expr)))
|
expr)))
|
||||||
((if? expr)
|
((if? expr)
|
||||||
|
|
Loading…
Add table
Reference in a new issue