[bugfix] build failure in debug mode
This commit is contained in:
parent
6e6e1de7a5
commit
1270787344
|
@ -169,7 +169,7 @@ export(pic_state *pic, pic_value spec)
|
|||
}
|
||||
|
||||
#if DEBUG
|
||||
printf("* exporting %s as %s\n", pic_symbol_name(pic, pic_sym(b)), pic_symbol_name(pic, rename));
|
||||
printf("* exporting %s as %s\n", pic_symbol_name(pic, pic_sym_ptr(b)), pic_symbol_name(pic, rename));
|
||||
#endif
|
||||
|
||||
pic_dict_set(pic, pic->lib->exports, pic_sym_ptr(b), pic_obj_value(rename));
|
||||
|
|
Loading…
Reference in New Issue