inp_modify_exp(), cleanup #17/17, polish while loop

This commit is contained in:
rlar 2014-11-03 19:57:21 +01:00
parent aa05b6f095
commit 70ad8cce5f
1 changed files with 4 additions and 6 deletions

View File

@ -5506,12 +5506,10 @@ inp_modify_exp(char* expr)
/* scan the expression */
s = expr;
while (*s != '\0') {
char c;
s = skip_ws(s);
if (*s == '\0')
break;
c = *s;
while (*(s = skip_ws(s))) {
char c = *s;
wl_append_word(&wlist, &wl, NULL);
if ((c == ',') || (c == '(') || (c == ')') ||