aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc/cc.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-30 19:29:42 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-30 19:29:42 -0700
commitfc158ab464fd58aec17aa590bc2022f539fefc5a (patch)
treec2690da2d4c900036d9cb4cfaf747e8c4297089c /sys/cmd/cc/cc.h
parent7c01031fda34b64fb2ca5e73838d860bf3f0d78d (diff)
bug: temporary removal of musl lib to isolate malloc bug
Diffstat (limited to 'sys/cmd/cc/cc.h')
-rw-r--r--sys/cmd/cc/cc.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/cmd/cc/cc.h b/sys/cmd/cc/cc.h
index da45b18..d030b91 100644
--- a/sys/cmd/cc/cc.h
+++ b/sys/cmd/cc/cc.h
@@ -409,9 +409,13 @@ struct Expr
uint32 qual;
uint32 type;
union {
+ string name;
struct {
uint64 kind;
- union Val;
+ union {
+ union Val;
+ union Val v;
+ };
} val;
struct {
int n;
@@ -699,8 +703,8 @@ struct Type
extern Type pointer;
extern Type basetypes[24];
/* mandated by C standard */
-extern uint64 validtypespec[40];
-extern int indextypespec[40];
+extern uint64 validtypespec[38];
+extern int indextypespec[38];
struct Scope
{