aboutsummaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/build.h4
-rw-r--r--inc/parse.h1
-rw-r--r--inc/print.h2
-rw-r--r--inc/tree.h1
4 files changed, 5 insertions, 3 deletions
diff --git a/inc/build.h b/inc/build.h
index fe41e11..4e9d634 100644
--- a/inc/build.h
+++ b/inc/build.h
@@ -5,8 +5,8 @@
#define BLOC_BUILD_H
#include <spec.h>
-#include <term.h>
+#include <tree.h>
-void write_bloc(struct term *term, const char *path);
+void write_bloc(struct list *table, const char *path);
#endif
diff --git a/inc/parse.h b/inc/parse.h
index c8cafed..2071f65 100644
--- a/inc/parse.h
+++ b/inc/parse.h
@@ -12,7 +12,6 @@
struct bloc_parsed {
size_t length;
struct term **entries;
- struct term *term;
};
struct term *parse_blc(const char *term);
diff --git a/inc/print.h b/inc/print.h
index 9885f57..30f67d4 100644
--- a/inc/print.h
+++ b/inc/print.h
@@ -5,8 +5,10 @@
#define BLOC_PRINT_H
#include <term.h>
+#include <parse.h>
void print_bruijn(struct term *term);
void print_blc(struct term *term);
+void print_bloc(struct bloc_parsed *bloc);
#endif
diff --git a/inc/tree.h b/inc/tree.h
index 8f11f1b..a3be29c 100644
--- a/inc/tree.h
+++ b/inc/tree.h
@@ -42,5 +42,6 @@ struct list {
};
struct list *tree_merge_duplicates(struct term *term);
+void tree_destroy(struct list *table);
#endif