commit 620b4d63082783d846415b9e240f256f11b16e51
parent d65e66829ce3e79ffb92fd58675f5e655561a37a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Tue, 11 Mar 2014 16:31:02 +0100
Small style changes
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/decl.c b/decl.c
@@ -191,7 +191,10 @@ specifier(register struct ctype *tp,
switch (tok) {
case ENUM: case STRUCT: case UNION:
next();
- (tok == ENUM) ? enumdcl(tp) : structdcl(tp);
+ if (tok == ENUM)
+ enumdcl(tp);
+ else
+ structdcl(tp);
return true;
case TYPEDEF:
tp->base = &yyval->ctype;
diff --git a/symbol.h b/symbol.h
@@ -13,7 +13,6 @@
enum {
NS_IDEN = 0,
NS_TYPE,
- NS_KEYWORD,
NS_LABEL,
NS_TAG
};