aboutsummaryrefslogtreecommitdiffhomepage
path: root/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'c.h')
-rw-r--r--c.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/c.h b/c.h
index dc6ae32..3b301a3 100644
--- a/c.h
+++ b/c.h
@@ -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 {