From ec7d06b135283366b9243446fbd8cc09efef0ecc Mon Sep 17 00:00:00 2001 From: omicron Date: Tue, 1 Apr 2025 17:20:32 +0200 Subject: [PATCH] Fix ast nodes now containing token entry instead of token --- src/ast.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ast.h b/src/ast.h index 9a9539b..8aceecf 100644 --- a/src/ast.h +++ b/src/ast.h @@ -3,6 +3,7 @@ #include "error.h" #include "lexer.h" +#include "tokenlist.h" #include #include @@ -23,7 +24,7 @@ constexpr size_t node_max_children_cap = 1 << 16; struct ast_node { node_id_t id; - lexer_token_t *token; + tokenlist_entry_t *token_entry; size_t len; size_t cap; ast_node_t **children;