aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
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 710cbe0..11ab70a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -54,8 +54,8 @@ int main(int argc, char* argv[]) {
/* Clean up parser stuff. */
token_destroy(lexer->tokenl);
tree_destroy(parser->tree);
- parser_destroy(parser);
lexer_destroy(lexer);
+ parser_destroy(parser);
free(src);
HLKT_LOG();