Fix ast nodes now containing token entry instead of token
This commit is contained in:
parent
3ff53f923d
commit
ec7d06b135
@ -3,6 +3,7 @@
|
||||
|
||||
#include "error.h"
|
||||
#include "lexer.h"
|
||||
#include "tokenlist.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user