call symbol_rename as much as possible

This commit is contained in:
Yuichi Nishiwaki 2014-03-29 08:52:59 +09:00
parent dec4ddc125
commit 464ecdd452
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {
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);
return ren;
}