From b61f7ce7016548248bab93843c2f3fe37a0cab78 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 17 Apr 2012 10:42:00 +0200 Subject: [PATCH] Remove anchors only when they were added before. --- parser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/parser.c b/parser.c index 4784f8a..73b0209 100644 --- a/parser.c +++ b/parser.c @@ -6868,9 +6868,10 @@ static expression_t *parse_noop_expression(void) if (token.kind != ')') do { (void)parse_assignment_expression(); } while (next_if(',')); + + rem_anchor_token(','); + rem_anchor_token(')'); } - rem_anchor_token(','); - rem_anchor_token(')'); expect(')', end_error); end_error: -- 2.20.1