lang: ast: add a BLOCK ast node to hold lists of expressions

This commit is contained in:
2024-11-28 10:26:53 +00:00
parent 7f9894d8f9
commit 811d3787c4
6 changed files with 103 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ struct parser_state;
#define PARSE_RESULT(status, flags) \
((struct token_parse_result) {.r_status = (status), .r_flags = (flags)})
enum token_parse_flags {
PARSE_REPEAT_TOKEN = 0x01u,
};