You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ER macro's rename procedure takes a quoted symbol. When the inner macro want to refer to the local variable introduced by outer macro, and that local variable is effectively renamed, it fails to do so, since quoting strips off the outer renaming info.
The renaming info of outer vah is stripped when we pass 'var to the rename proc.
It works if two vahs are renamed at the same time, that is, both are syntax-rules transformer, or the inner macro doesn't use inner rename procedure but use the outer rename procedure. Typical use case can be covered by that. But that's not always the case.
The text was updated successfully, but these errors were encountered:
ER macro's rename procedure takes a quoted symbol. When the inner macro want to refer to the local variable introduced by outer macro, and that local variable is effectively renamed, it fails to do so, since quoting strips off the outer renaming info.
Example:
The renaming info of outer vah is stripped when we pass
'var
to the rename proc.It works if two
vah
s are renamed at the same time, that is, both aresyntax-rules
transformer, or the inner macro doesn't use inner rename procedure but use the outer rename procedure. Typical use case can be covered by that. But that's not always the case.The text was updated successfully, but these errors were encountered: