aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--analyze.c2
-rw-r--r--main.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/analyze.c b/analyze.c
deleted file mode 100644
index 53ce1b4..0000000
--- a/analyze.c
+++ /dev/null
@@ -1,2 +0,0 @@
-void analyze(Program* prog) {
-}
diff --git a/main.c b/main.c
index 34a847f..0aedc6d 100644
--- a/main.c
+++ b/main.c
@@ -7,7 +7,6 @@
#include "ast.c"
#include "parse.c"
#include "codegen.c"
-#include "analyze.c"
// clang-format on
int main(int argc, char** argv) {
@@ -24,6 +23,5 @@ int main(int argc, char** argv) {
PpToken* pp_tokens = preprocess(source);
Token* tokens = tokenize(pp_tokens);
Program* prog = parse(tokens);
- analyze(prog);
codegen(prog);
}