aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tccgen.c b/tccgen.c
index 15736f0..805d501 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -3058,7 +3058,7 @@ static void post_type_args(CType *type, AttributeDef *ad)
CType pt;
/* function declaration */
- next();
+ skip('(');
l = 0;
first = NULL;
plast = &first;
@@ -3131,7 +3131,7 @@ static void post_type_array(CType *type, AttributeDef *ad)
Sym *s;
/* array definition */
- next();
+ skip('[');
if (tok == TOK_RESTRICT1)
next();
n = -1;