aboutsummaryrefslogtreecommitdiff
path: root/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'decl.c')
-rw-r--r--decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decl.c b/decl.c
index fc48dc9..34e61f4 100644
--- a/decl.c
+++ b/decl.c
@@ -625,7 +625,7 @@ declaratortypes(struct scope *s, struct list *result, char **name, bool allowabs
error(&tok.loc, "VLAs are not yet supported");
t = mkarraytype(NULL, tq, 0);
if (tok.kind != TRBRACK) {
- e = eval(assignexpr(s), EVALARITH);
+ e = eval(assignexpr(s));
if (e->kind != EXPRCONST || !(e->type->prop & PROPINT))
error(&tok.loc, "VLAs are not yet supported");
i = e->u.constant.u;