call symbol_rename as much as possible
This commit is contained in:
parent
dec4ddc125
commit
464ecdd452
|
@ -831,7 +831,7 @@ ir_macro_wrap(pic_state *pic, pic_value expr, struct pic_senv *use_env, pic_valu
|
||||||
{
|
{
|
||||||
if (pic_sym_p(expr)) {
|
if (pic_sym_p(expr)) {
|
||||||
pic_value ren;
|
pic_value ren;
|
||||||
ren = macroexpand(pic, expr, use_env);
|
ren = pic_sym_value(symbol_rename(pic, pic_sym(expr), use_env));
|
||||||
*assoc = pic_acons(pic, ren, expr, *assoc);
|
*assoc = pic_acons(pic, ren, expr, *assoc);
|
||||||
return ren;
|
return ren;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue