feat: Merge branch 'parser' into dev

This commit is contained in:
Gu://em_ 2026-01-30 21:32:57 +01:00
commit d6e6bfacf2
3 changed files with 61 additions and 29 deletions

View file

@ -2,7 +2,6 @@
#include "ast_word.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -43,6 +42,8 @@ void ast_free_word(struct ast_word *ast_node)
if (ast_node == NULL)
return;
free(ast_node->word);
if (ast_node->word != NULL)
free(ast_node->word);
free(ast_node);
}