compiler may perform tco against macroexpand_node

This commit is contained in:
Yuichi Nishiwaki
2014-08-03 13:52:18 +09:00
parent 48003c2ce1
commit e73d9cc590
+1 -1
View File
@@ -295,7 +295,7 @@ macroexpand_node(pic_state *pic, pic_value expr, struct pic_senv *senv)
}
if ((mac = find_macro(pic, tag)) != NULL) {
return macroexpand(pic, macroexpand_macro(pic, mac, expr, senv), senv);
return macroexpand_node(pic, macroexpand_macro(pic, mac, expr, senv), senv);
}
}