aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorc2024-01-27 10:32:18 -0500
committerc2024-01-27 10:32:18 -0500
commitf48c3a6cb320c897ca7477af17f8e5eb7447fd72 (patch)
tree053890a8497f0459cb08ddb0c5caad6daa617e3a /src/include
parent0ff1d40842390da36908c7ffce62f2cf33b173b9 (diff)
Simple parser tests passing :).
Diffstat (limited to 'src/include')
-rw-r--r--src/include/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/tree.h b/src/include/tree.h
index 8b8e14a..31b8f3f 100644
--- a/src/include/tree.h
+++ b/src/include/tree.h
@@ -82,8 +82,8 @@ typedef struct TREE {
} tree_t;
/* Create a new AST. */
-tree_t* tree_init(int type);
-/* Destroy the AST. */
+tree_t* tree_init(tree_type_t type);
+/* Destroy the AST (if it exists). */
void tree_destroy(tree_t* tree);
/*