aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c.c b/c.c
index 0f4c0f1..20297ce 100644
--- a/c.c
+++ b/c.c
@@ -306,7 +306,7 @@ static bool
islvalue(const struct expr *ex)
{
if (ex->t == EGETF) return islvalue(ex->sub);
- return ex->t == ESYM || ex->t == EDEREF;
+ return ex->t == ESYM || ex->t == EDEREF || ex->t == EINIT;
}
static union type /* 6.5.2.6 default argument promotions */