aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorc2023-11-26 07:52:51 -0500
committerc2023-11-26 07:52:51 -0500
commit097a03435f322962d785d5ecd6883901882fd6c2 (patch)
tree9653cb3f79f94c1b83ed3381e8f3d8a8838508fd /src/main.c
parentbf3767fa7f0f1687d930d0d137e76a0206545fd6 (diff)
Destroying trees.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 11ab70a..3c1b8b8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -53,8 +53,8 @@ int main(int argc, char* argv[]) {
/* Clean up parser stuff. */
token_destroy(lexer->tokenl);
- tree_destroy(parser->tree);
lexer_destroy(lexer);
+ tree_destroy(parser->tree);
parser_destroy(parser);
free(src);