getexpress(), d == ')' is automatically true

when level has been decremented to level <= 0
This commit is contained in:
rlar 2016-05-06 20:51:42 +02:00
parent 1e6a44af27
commit 1df1e69f5d
1 changed files with 1 additions and 1 deletions

View File

@ -1399,7 +1399,7 @@ getexpress(const char * const s, SPICE_DSTRINGPTR tstr_p, const char **pi)
else if (d == ')') else if (d == ')')
level--; level--;
if ((d == ')') && (level <= 0)) if (level <= 0)
break; break;
} while (1); } while (1);
} }