diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-30 19:29:42 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-30 19:29:42 -0700 |
commit | fc158ab464fd58aec17aa590bc2022f539fefc5a (patch) | |
tree | c2690da2d4c900036d9cb4cfaf747e8c4297089c /sys/cmd/cc/cc.c | |
parent | 7c01031fda34b64fb2ca5e73838d860bf3f0d78d (diff) |
bug: temporary removal of musl lib to isolate malloc bug
Diffstat (limited to 'sys/cmd/cc/cc.c')
-rw-r--r-- | sys/cmd/cc/cc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cmd/cc/cc.c b/sys/cmd/cc/cc.c index 24bc9e0..da4c4ed 100644 --- a/sys/cmd/cc/cc.c +++ b/sys/cmd/cc/cc.c @@ -94,6 +94,7 @@ END: // ----------------------------------------------------------------------- // type interning +/* TODO: intern types for memory savings */ int type() { @@ -263,6 +264,8 @@ initlx(Lexer *lx) lx->new = lx->iostk; lx->new->link = nil; memset(lx->iostk, 0, sizeof(lx->iostk)); + + lx->sym = (SymTab){ 0 }; } void |