From e78f068d6649741a80756852531a86543980fa84 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 18 Nov 2008 22:06:39 +0000 Subject: [PATCH] Factorise macro. [r23786] --- parser.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/parser.c b/parser.c index a6430d2..8107a57 100644 --- a/parser.c +++ b/parser.c @@ -195,13 +195,9 @@ static entity_t *record_entity(entity_t *entity, bool is_definition); static void semantic_comparison(binary_expression_t *expression); -#define STORAGE_CLASSES \ - case T_typedef: \ - case T_extern: \ - case T_static: \ - case T_auto: \ - case T_register: \ - case T___thread: +#define STORAGE_CLASSES \ + STORAGE_CLASSES_NO_EXTERN \ + case T_extern: #define STORAGE_CLASSES_NO_EXTERN \ case T_typedef: \ -- 2.20.1