getexpress(), transform

This commit is contained in:
rlar 2016-05-01 15:07:02 +02:00
parent 0cc72ae3c1
commit 1e6a44af27
1 changed files with 3 additions and 1 deletions

View File

@ -1399,7 +1399,9 @@ getexpress(const char * const s, SPICE_DSTRINGPTR tstr_p, const char **pi)
else if (d == ')')
level--;
} while (!((d == ')') && (level <= 0)));
if ((d == ')') && (level <= 0))
break;
} while (1);
}
} while (!strchr(",;)}", c)); /* legal separators */