Improve error message, no output of line string if not 'set ngdebug'

This commit is contained in:
Holger Vogt 2026-02-24 17:00:40 +01:00
parent a08110585f
commit c939f9610a
1 changed files with 1 additions and 2 deletions

View File

@ -236,8 +236,7 @@ message(dico_t *dico, const char *fmt, ...)
else {
fprintf
(stderr,
"Error in netlist line no. %d:\n"
"%s\n\n",
"Error in netlist line no. %d, new internal line no. %d:\n\n",
dico->srcline, dico->oldline);
}
}