mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15: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)
|
||||
(let ((renamed (gensym identifier)))
|
||||
(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))
|
||||
((eq? val 'not-defined)
|
||||
;; Unrenamed variable identifier
|
||||
|
|
Loading…
Add table
Reference in a new issue