aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc/cc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/cc/cc.c')
-rw-r--r--sys/cmd/cc/cc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/cmd/cc/cc.c b/sys/cmd/cc/cc.c
index fcb9217..cf479f8 100644
--- a/sys/cmd/cc/cc.c
+++ b/sys/cmd/cc/cc.c
@@ -297,9 +297,7 @@ compile(byte *path)
.col = 1,
};
- while (tok = lex(&C.lxr), tok.kind > Aeof) {
- // puttok(tok);
- }
+ parse(&C.psr, &C.lxr);
return tok.kind != Anil;
}
@@ -350,3 +348,4 @@ main(int argc, byte *argv[])
exit(0);
}
+