Corrected an error introduced yesterday by a hasty fix, which

ended up breaking the "extresist" function by failing to parse
the comment line of a .sim file.  This is now fixed.
This commit is contained in:
R. Timothy Edwards 2025-10-15 10:00:02 -04:00
parent 9327e319da
commit c977e4cf76
1 changed files with 3 additions and 3 deletions

View File

@ -198,10 +198,10 @@ ResReadSim(simfile, fetproc, capproc, resproc, attrproc, mergeproc, subproc)
result = 1; result = 1;
break; break;
} }
if (fettype < 0) if ((fettype != MINFINITY) && (fettype < 0))
{ {
TxError("Error in Reading device line of sim file: "); TxError("Error in Reading device line of sim file: ");
TxError("Amgiguous or unknown device.\n"); TxError("Ambiguous or unknown device.\n");
result = 1; result = 1;
} }
else if (fettype == DBNumTypes) else if (fettype == DBNumTypes)