diff options
| author | 2025-10-08 23:03:06 +0200 | |
|---|---|---|
| committer | 2025-10-08 23:03:06 +0200 | |
| commit | 6436f4c576b65dd8220db7dcd0e7a21f33ac4933 (patch) | |
| tree | 7c06011b48019761151192f63140921610d2f036 /c.h | |
| parent | de0ff34465d9c6a34a359b0b05af1f5c34905c6c (diff) | |
initial implementation of run-time array/aggregate initializers
Diffstat (limited to 'c.h')
| -rw-r--r-- | c.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -43,11 +43,14 @@ struct expr { }; struct init { - uint n; - struct bitset *zero; - uint *offs; - struct { uchar off, siz; } *bitf; - struct expr **ex; + uint nzero; + struct bitset *zero; /* bytes to zero out */ + struct initval { + struct initval *next; + uint off; + uchar bitoff, bitsiz; + struct expr ex; + } *vals, **tail; }; enum storageclass { |