From a7d1c10195d786169dceb3092576b388282b3d80 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 15 Nov 2008 22:53:26 +0000 Subject: [PATCH] Fix off-by-one error in error message. [r23694] --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index 68a7d17..852f73a 100644 --- a/parser.c +++ b/parser.c @@ -3629,7 +3629,6 @@ static void parse_declaration_specifiers(declaration_specifiers_t *specifiers) break; case T_long: - next_token(); if (type_specifiers & SPECIFIER_LONG_LONG) { errorf(HERE, "multiple type specifiers given"); } else if (type_specifiers & SPECIFIER_LONG) { @@ -3637,6 +3636,7 @@ static void parse_declaration_specifiers(declaration_specifiers_t *specifiers) } else { type_specifiers |= SPECIFIER_LONG; } + next_token(); break; case T_struct: { -- 2.20.1