From 85853836546f08b4f2b1449171463a229c3c9f2e Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 6 Oct 2025 17:07:27 +0200 Subject: [PATCH] Improve error messages. Towards better locating of errors: Remove entry to avoid false file readings. Still to do: Return correct fline numbers, when reading large PDKs. --- src/frontend/inpcom.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 0c6f5b283..af7e2c0d1 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1609,11 +1609,8 @@ static struct inp_read_t inp_read(FILE* fp, int call_depth, const char* dir_name char* tmpstr = copy(nexttok(buffer)); wl_append_word(&sourceinfo, &sourceinfo, tmpstr); - /* Add source of netlist data, for use in verbose error messages. - Set the compatibility mode flag to 1, if pslt is read. */ + /* Set the compatibility mode flag to 1, if pslt is read. */ for (tmpcard = newcard; tmpcard; tmpcard = tmpcard->nextcard) { - /* skip *include */ - tmpcard->linesource = tmpstr; if (compset) tmpcard->compmod = 1; else