From 8401d6d945ec76bf96b3ebc479c70e1d5eba6870 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 5 Feb 2011 09:04:07 +0000 Subject: [PATCH] Do not eat() the semicolon at the end of a local label declaration, but expect() it. [r28308] --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index c476ed7..ce7ce2f 100644 --- a/parser.c +++ b/parser.c @@ -10130,7 +10130,7 @@ static statement_t *parse_local_label_declaration(void) } next_token(); } while (next_if(',')); - eat(';'); + expect(';', end_error); end_error: statement->declaration.declarations_begin = begin; statement->declaration.declarations_end = end; -- 2.20.1