mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 13:05:05 +02:00
Put renamed macro sym in use env
Then it is available for use by compare
This commit is contained in:
parent
cc2b8d037f
commit
958ad75e78
1 changed files with 3 additions and 0 deletions
|
@ -634,6 +634,9 @@
|
||||||
((tagged-list? 'macro val)
|
((tagged-list? 'macro val)
|
||||||
(let ((renamed (gensym identifier)))
|
(let ((renamed (gensym identifier)))
|
||||||
(env:define-variable! renamed val mac-env)
|
(env:define-variable! renamed val mac-env)
|
||||||
|
;; Also update rename over here so it is available for
|
||||||
|
;; use later on by compare
|
||||||
|
(env:define-variable! renamed identifier use-env)
|
||||||
renamed))
|
renamed))
|
||||||
((eq? val 'not-defined)
|
((eq? val 'not-defined)
|
||||||
;; Unrenamed variable identifier
|
;; Unrenamed variable identifier
|
||||||
|
|
Loading…
Add table
Reference in a new issue