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.
This commit is contained in:
parent
c4ae3b1243
commit
f84a72d1f8
|
|
@ -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));
|
char* tmpstr = copy(nexttok(buffer));
|
||||||
wl_append_word(&sourceinfo, &sourceinfo, tmpstr);
|
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) {
|
for (tmpcard = newcard; tmpcard; tmpcard = tmpcard->nextcard) {
|
||||||
/* skip *include */
|
|
||||||
tmpcard->linesource = tmpstr;
|
|
||||||
if (compset)
|
if (compset)
|
||||||
tmpcard->compmod = 1;
|
tmpcard->compmod = 1;
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue