aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tccgen.c b/tccgen.c
index 4d85414..dbd2569 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -4166,6 +4166,8 @@ ST_FUNC void unary(void)
if (tok == TOK_CDOUBLE)
expect("field name");
next();
+ if (tok == TOK_CINT || tok == TOK_CUINT)
+ expect("field name");
s = vtop->type.ref;
/* find field */
tok |= SYM_FIELD;