lang: ast: use fancy index manipulation to reduce the size of ast_node_type

This commit is contained in:
2024-11-28 10:56:43 +00:00
parent f04c858d9a
commit fc76fe6ad4
10 changed files with 80 additions and 64 deletions

View File

@@ -85,6 +85,6 @@ struct ast_node_type msgh_node_ops = {
.expr_begin = parse_expr,
},
.n_symbol_parsers = {
[IVY_SYM_BANG] = parse_bang,
SYM_PARSER(BANG, parse_bang),
},
};