getexpress(), d == ')' is automatically true
when level has been decremented to level <= 0
This commit is contained in:
parent
1e6a44af27
commit
1df1e69f5d
|
|
@ -1399,7 +1399,7 @@ getexpress(const char * const s, SPICE_DSTRINGPTR tstr_p, const char **pi)
|
|||
else if (d == ')')
|
||||
level--;
|
||||
|
||||
if ((d == ')') && (level <= 0))
|
||||
if (level <= 0)
|
||||
break;
|
||||
} while (1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue