aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc/cc.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-19 19:59:26 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-19 19:59:26 -0700
commit74ccc8cc01d365f30a502dd42825de19c05c3743 (patch)
tree0eafca0b2dccf3ef09e33555c9c887141ef18568 /sys/cmd/cc/cc.c
parentb779c6f7d73e5f70b2d886ed75e6e65217ad1e85 (diff)
fix: arguments now hold their state correctly throughout macro parsing
Diffstat (limited to 'sys/cmd/cc/cc.c')
-rw-r--r--sys/cmd/cc/cc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cmd/cc/cc.c b/sys/cmd/cc/cc.c
index 74040eb..d7bb12c 100644
--- a/sys/cmd/cc/cc.c
+++ b/sys/cmd/cc/cc.c
@@ -249,6 +249,7 @@ init(void)
memset(C.iostk, 0, sizeof(C.iostk));
C.lxr = (Lexer){ 0 };
+ C.lxr.b = C.lxr.buf;
}
error