fix debug print

This commit is contained in:
Yuichi Nishiwaki 2015-06-09 22:49:49 +09:00
parent cf411fd62a
commit 2b1fa0692d
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ export(pic_state *pic, pic_value spec)
} }
#if DEBUG #if DEBUG
printf("* exporting %s as %s\n", pic_symbol_name(pic, pic_sym_ptr(b)), pic_symbol_name(pic, rename)); printf("* exporting %s as %s\n", pic_symbol_name(pic, pic_sym_ptr(b)), pic_symbol_name(pic, pic_sym_ptr(a)));
#endif #endif
pic_dict_set(pic, pic->lib->exports, pic_sym_ptr(b), a); pic_dict_set(pic, pic->lib->exports, pic_sym_ptr(b), a);