refinements in error reporting

This commit is contained in:
dick
1988-09-30 15:20:24 +00:00
parent 63d95a5f0e
commit 1fb9c249b3
3 changed files with 28 additions and 12 deletions

View File

@@ -342,9 +342,11 @@ PRIVATE stat_def(stnr)
dot, funvar(dot), dot->id_name, lib);
}
if (ext) {
report("%L: %s %s also %s at %L",
dot, funvar(dot), dot->id_name,
defdec(ext), ext);
if (!streq(dot->id_file, ext->id_file)) {
report("%L: %s %s also %s at %L",
dot, funvar(dot), dot->id_name,
defdec(ext), ext);
}
}
sta = dot;
dot = new_inpdef();