aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc/cc.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-19 19:12:10 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-19 19:12:10 -0700
commitb779c6f7d73e5f70b2d886ed75e6e65217ad1e85 (patch)
tree480864b08c5242cf7c9de7d47c56f66e240948a5 /sys/cmd/cc/cc.c
parent13772a8a2120017981d280bfe120fdbb74f27860 (diff)
checkin: found a large bug associated to ident resetting the buffer vector
Diffstat (limited to 'sys/cmd/cc/cc.c')
-rw-r--r--sys/cmd/cc/cc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cmd/cc/cc.c b/sys/cmd/cc/cc.c
index e348893..74040eb 100644
--- a/sys/cmd/cc/cc.c
+++ b/sys/cmd/cc/cc.c
@@ -286,10 +286,10 @@ compile(byte *path)
.line = 1,
.col = 1,
};
+
while (tok = lex(&C.lxr), tok.kind > Aeof) {
- puttok(tok);
+ // puttok(tok);
}
- freeio(C.lxr.io);
return tok.kind != Anil;
}