improve error message

This commit is contained in:
Yuichi Nishiwaki 2014-07-12 22:21:19 +09:00
parent 114e445901
commit c3106a9608
1 changed files with 1 additions and 1 deletions

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];
}