Prevent reading from NULL when user input is something like .ic=v
This commit is contained in:
parent
02109587ee
commit
4231ad3f5f
|
|
@ -148,6 +148,8 @@ INPpas3(CKTcircuit *ckt, struct card *data, INPtables *tab, TSKtask *task,
|
|||
FREE(name);
|
||||
/* Gobble the rest of the token */
|
||||
line = nexttok(line);
|
||||
if (!line)
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
ptemp.rValue = INPevaluate(&line,&error,1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue