some indentation made prev patch pretty; removed it
This commit is contained in:
4
tccgen.c
4
tccgen.c
@ -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;
|
||||||
@ -3124,7 +3123,6 @@ static void post_type_args(CType *type, AttributeDef *ad)
|
|||||||
s->next = first;
|
s->next = first;
|
||||||
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)
|
||||||
@ -3132,7 +3130,6 @@ 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)
|
||||||
@ -3157,7 +3154,6 @@ static void post_type_array(CType *type, AttributeDef *ad)
|
|||||||
ARRAY_RESIZE(s->r) = 1;
|
ARRAY_RESIZE(s->r) = 1;
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user