improve error message

This commit is contained in:
Yuichi Nishiwaki
2014-07-13 11:07:42 +09:00
parent 114e445901
commit c3106a9608
+1 -1
View File
@@ -427,7 +427,7 @@ pic_ref(pic_state *pic, const char *name)
gid = global_ref(pic, name);
if (gid == SIZE_MAX) {
pic_error(pic, "symbol not defined");
pic_errorf(pic, "symbol \"%s\" not defined", name);
}
return pic->globals[gid];
}