X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=parser.c;h=852f73a565ba502974815f3200b3f6447b3354e5;hb=a7d1c10195d786169dceb3092576b388282b3d80;hp=68a7d17d9619f6a9c03db6c59c32d75556b3fc7b;hpb=aa371747ce0d09b35d53a2a8d74861b44df4bd45;p=cparser 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: {