lang: ast: implement cascade operator parsing

This commit is contained in:
2024-12-03 21:57:44 +00:00
parent 16ab13d738
commit 051cb1d2c2
7 changed files with 294 additions and 35 deletions

View File

@@ -31,6 +31,7 @@ struct ast_node_type expr_node_ops = {
.n_symbol_parsers = {
SYM_PARSER(LEFT_PAREN, arith_parse_left_paren),
SYM_PARSER(RIGHT_PAREN, arith_parse_right_paren),
SYM_PARSER(SEMICOLON, arith_parse_semicolon),
SYM_PARSER(DOT, arith_parse_dot),
},
};