getexpress(), break early

instead of doing nothing and then breaking anyway
This commit is contained in:
rlar 2017-11-18 12:33:01 +01:00
parent 2f24e6e563
commit 92eb2b0437
1 changed files with 3 additions and 3 deletions

View File

@ -1379,9 +1379,9 @@ getexpress(const char * const s, SPICE_DSTRINGPTR tstr_p, const char **pi)
p++;
if (p >= ls_ptr)
c = ';';
else
c = *p;
break;
c = *p;
if (c == '(') {
/* sub-formula */