aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorc+12023-11-21 16:12:58 -0500
committerc+12023-11-21 16:12:58 -0500
commit930ca8d3b760b33123ba877514a49eca5af35a6a (patch)
tree181b03509727a10ff0b41d76393ae0fa476c36fc /src/main.c
parenta2a5e863dc9beb4bc7a73a7361d8e208599134c9 (diff)
It is possible to parse strings.
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();