From: Christoph Mallon Date: Mon, 27 Oct 2008 15:44:09 +0000 (+0000) Subject: Fix anchor token underflow while parsing for-statements. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c607515c495c9c1a7d37eb3d967bda736a320cc8;p=cparser Fix anchor token underflow while parsing for-statements. [r23236] --- diff --git a/parser.c b/parser.c index 5bda23a..df1a6b6 100644 --- a/parser.c +++ b/parser.c @@ -9618,8 +9618,8 @@ static statement_t *parse_for(void) "step of 'for'-statement has no effect"); } } - rem_anchor_token(')'); expect(')'); + rem_anchor_token(')'); statement->fors.body = parse_loop_body(statement); assert(scope == &statement->fors.scope);