Fix a bug when reding a var list: a ')' is left over,

skip over it.
This commit is contained in:
Holger Vogt 2025-12-10 21:49:47 +01:00
parent b1b698f9b0
commit 582679989e
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@ INPdoOpts(
if(if_parm && (if_parm->dataType & IF_SET)) {
val = INPgetValue(ckt,&line, if_parm->dataType&IF_VARTYPES, tab);
/* in case of vector, INPgetValue leaves closing ')' */
if (*line == ')')
line++;
error = ft_sim->setAnalysisParm (ckt, anal, if_parm->id, val, NULL);
if(error) {
errmsg = tprintf("Warning: can't set option %s\n", token);