From f48c3a6cb320c897ca7477af17f8e5eb7447fd72 Mon Sep 17 00:00:00 2001 From: c Date: Sat, 27 Jan 2024 10:32:18 -0500 Subject: Simple parser tests passing :). --- src/include/tree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') 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); /* -- cgit v1.2.3