pic_errof requires pic_value

This commit is contained in:
Sunrin SHIMURA (keen)
2015-10-02 13:49:32 +09:00
parent 69d9a212ed
commit 5691739272
+1 -1
View File
@@ -200,7 +200,7 @@ vm_gref(pic_state *pic, struct pic_box *slot, pic_sym *uid)
if (uid == NULL) {
uid = pic_intern(pic, "unknown"); /* FIXME */
}
pic_errorf(pic, "uninitialized global variable: ~a", uid);
pic_errorf(pic, "uninitialized global variable: ~a", pic_obj_value(uid));
}
return slot->value;
}