aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/c.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-10-19 11:06:58 +0200
committerlemon <lsof@mailbox.org>2025-10-19 11:06:58 +0200
commit9bf5c97d3b5391c6cf3757629d09a53403a64f45 (patch)
treee8ca609e27d72b4011be6803a45d5d3773a05b05 /c/c.h
parentdea8fd171acb54b6d9685422d5e391fb55074008 (diff)
c irgen fixes
Diffstat (limited to 'c/c.h')
-rw-r--r--c/c.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/c/c.h b/c/c.h
index 6a26455..81c07f9 100644
--- a/c/c.h
+++ b/c/c.h
@@ -36,7 +36,14 @@ struct expr {
} fld; /* EGETF */
};
uvlong u; vlong i; double f; /* ENUMLIT */
- struct bytes s; /* ESTRLIT */
+ struct {
+ union {
+ uchar *p;
+ ushort *w16;
+ uint *w32;
+ };
+ uint n;
+ } s; /* ESTRLIT */
struct decl *sym; /* ESYM */
struct init *init; /* EINIT */
};