refine pic_load error message
This commit is contained in:
parent
5b0bce9ce3
commit
b4609aafb7
|
@ -15,7 +15,7 @@ pic_load(pic_state *pic, const char *fn)
|
||||||
|
|
||||||
file = fopen(fn, "r");
|
file = fopen(fn, "r");
|
||||||
if (file == NULL) {
|
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);
|
exprs = pic_parse_file(pic, file);
|
||||||
|
|
Loading…
Reference in New Issue