Factorise macro.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 18 Nov 2008 22:06:39 +0000 (22:06 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 18 Nov 2008 22:06:39 +0000 (22:06 +0000)
[r23786]

parser.c

index a6430d2..8107a57 100644 (file)
--- 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:         \