Browse Source

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.
pre-master-46
Holger Vogt 6 months ago
parent
commit
8585383654
  1. 5
      src/frontend/inpcom.c

5
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

Loading…
Cancel
Save