refine pic_load error message

This commit is contained in:
Yuichi Nishiwaki
2014-03-15 20:52:34 +09:00
parent 5b0bce9ce3
commit b4609aafb7
+1 -1
View File
@@ -15,7 +15,7 @@ pic_load(pic_state *pic, const char *fn)
file = fopen(fn, "r");
if (file == NULL) {
pic_error(pic, "load: could not read file");
pic_errorf(pic, "load: could not read file \"%s\"", fn);
}
exprs = pic_parse_file(pic, file);