summaryrefslogtreecommitdiff
path: root/com.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-06 22:20:53 +0100
committerubq323 <ubq323@ubq323.website>2024-08-06 22:20:53 +0100
commita4e8599e8d0fde881cd4e6e3031e5b52550e878e (patch)
tree41f455835a76442eb2442754f5d4fd15c915f721 /com.c
parente4a7b6c397c430e3aa5f6fec63eeb91236069c27 (diff)
remove ast and peg parser
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);
}