From b20f0c9f924b34a581ef0d4f9a09018ba3afec46 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sun, 18 Nov 2007 12:24:04 +0000 Subject: [PATCH] compound type specifiers can have __attribute__, too. Parse it (and ignore it for now). [r18484] --- parser.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/parser.c b/parser.c index 6bf4752..f030107 100644 --- a/parser.c +++ b/parser.c @@ -960,6 +960,11 @@ static declaration_t *parse_compound_type_specifier(bool is_struct) symbol_t *symbol = NULL; declaration_t *declaration = NULL; + if (token.type == T___attribute__) { + /* TODO */ + parse_attributes(); + } + if(token.type == T_IDENTIFIER) { symbol = token.v.symbol; next_token(); -- 2.20.1