diff options
| author | 2025-10-15 10:05:19 +0200 | |
|---|---|---|
| committer | 2025-10-15 10:05:19 +0200 | |
| commit | 04d5425c0512f28990a4583e5f41b20015712f95 (patch) | |
| tree | 80e3a99466954bcdb19cba90b86d1dbd0e17d1e8 | |
| parent | 2c5c8f3bca082c0822a9b2a247689b882980cc47 (diff) | |
c: compound inits are lvalues
| -rw-r--r-- | c.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |