aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index de74288..2403e47 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,6 +6,8 @@
#include <errno.h>
#include <string.h>
+#include <sharing.h>
+#include <map.h>
#include <parse.h>
#include <log.h>
@@ -47,14 +49,14 @@ int main(int argc, char *argv[])
fatal("usage: %s <file>\n", argc ? argv[0] : "sharing");
char *term = read_path(argv[1]);
+ map_initialize();
char *orig_term = term;
- struct term *parsed = parse_blc(&term);
+ parse_blc(&term);
free(orig_term);
- term_print(parsed);
- fprintf(stderr, "\n");
+ blind_check();
- term_free(parsed);
+ map_destroy();
return 0;
}