aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--expr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/expr.c b/expr.c
index 8b00b67..4762d7a 100644
--- a/expr.c
+++ b/expr.c
@@ -707,9 +707,7 @@ postfixexpr(struct scope *s, struct expr *r)
e->call.nargs = 0;
p = t->func.params;
end = &e->call.args;
- for (;;) {
- if (tok.kind == TRPAREN)
- break;
+ while (tok.kind != TRPAREN) {
if (e->call.args)
expect(TCOMMA, "or ')' after function call argument");
if (!p && !t->func.isvararg && t->func.paraminfo)