show debug print when a library is reopened
This commit is contained in:
parent
d0713456ef
commit
76f8916dca
|
@ -11,6 +11,13 @@ pic_make_library(pic_state *pic, pic_value name)
|
||||||
struct pic_senv *senv;
|
struct pic_senv *senv;
|
||||||
|
|
||||||
if ((lib = pic_find_library(pic, name)) != NULL) {
|
if ((lib = pic_find_library(pic, name)) != NULL) {
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
|
printf("* reopen library: ");
|
||||||
|
pic_debug(pic, name);
|
||||||
|
puts("");
|
||||||
|
#endif
|
||||||
|
|
||||||
return lib;
|
return lib;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue