some indentation made prev patch pretty; removed it

This commit is contained in:
Joe Soroka
2011-03-08 01:59:50 -08:00
parent 89059f94c0
commit 545a37b306

View File

@ -3057,7 +3057,6 @@ static void post_type_args(CType *type, AttributeDef *ad)
AttributeDef ad1; AttributeDef ad1;
CType pt; CType pt;
if (tok == '(') {
/* function declaration */ /* function declaration */
next(); next();
l = 0; l = 0;
@ -3125,14 +3124,12 @@ static void post_type_args(CType *type, AttributeDef *ad)
type->t = t1 | VT_FUNC; type->t = t1 | VT_FUNC;
type->ref = s; type->ref = s;
} }
}
static void post_type_array(CType *type, AttributeDef *ad) static void post_type_array(CType *type, AttributeDef *ad)
{ {
int n, t1; int n, t1;
Sym *s; Sym *s;
if (tok == '[') {
/* array definition */ /* array definition */
next(); next();
if (tok == TOK_RESTRICT1) if (tok == TOK_RESTRICT1)
@ -3158,7 +3155,6 @@ static void post_type_array(CType *type, AttributeDef *ad)
type->t = t1 | VT_ARRAY | VT_PTR; type->t = t1 | VT_ARRAY | VT_PTR;
type->ref = s; type->ref = s;
} }
}
/* Parse a type declaration (except basic type), and return the type /* Parse a type declaration (except basic type), and return the type
in 'type'. 'td' is a bitmask indicating which kind of type decl is in 'type'. 'td' is a bitmask indicating which kind of type decl is