inp_modify_exp(), cleanup #17/17, polish while loop
This commit is contained in:
parent
aa05b6f095
commit
70ad8cce5f
|
|
@ -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 == ')') ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue