aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main.c b/src/main.c
deleted file mode 100644
index 5827913..0000000
--- a/src/main.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <context.h>
-#include <lint.h>
-#include <log.h>
-#include <preprocess.h>
-#include <tokenize.h>
-#include <treeify.h>
-
-int main(int argc, char *argv[])
-{
- if (argc < 2) {
- fprintf(stderr, "Not enough arguments!");
- exit(1);
- }
-
- struct ctx *ctx = context_create(argv[1]);
- preprocess(ctx);
- tokenize(ctx);
- lint(ctx);
- treeify(ctx);
-
- context_destroy(ctx);
-
- return 0;
-}