getexpress(), break early
instead of doing nothing and then breaking anyway
This commit is contained in:
parent
2f24e6e563
commit
92eb2b0437
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue