summaryrefslogtreecommitdiff
path: root/com.c
diff options
context:
space:
mode:
Diffstat (limited to 'com.c')
-rw-r--r--com.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/com.c b/com.c
index 57e600c..6d701d9 100644
--- a/com.c
+++ b/com.c
@@ -6,7 +6,6 @@
#include "com.h"
#include "mem.h"
#include "chunk.h"
-#include "ast.h"
#include "util.h"
#include "prs.h"
#include "lib.h"
@@ -697,7 +696,6 @@ int main(int argc, char **argv) {
exit(1);
}
-
fread(buf, 1, 8192, infile);
buf[8192] = '\0';
ObjArr *top = read_exprs(S, buf);
@@ -706,11 +704,6 @@ int main(int argc, char **argv) {
println_val(VAL_OBJ(top));
cpl_body(&com, top, 0, 0);
-
-
- // pcc_destroy(parser);
- // compile_body(&com, top.as.list, 0, 0);
- // astnode_free(&top);
}