lang: ast: implement parsing of unnamed parameters
This commit is contained in:
@@ -40,6 +40,8 @@ struct ast_node_type expr_node_ops = {
|
||||
SYM_PARSER(SEMICOLON, arith_parse_semicolon),
|
||||
SYM_PARSER(UNDERSCORE, arith_parse_operand),
|
||||
SYM_PARSER(CARET, arith_parse_caret),
|
||||
/* treat colons as empty labels */
|
||||
SYM_PARSER(COLON, arith_parse_label),
|
||||
SYM_PARSER(COMMA, arith_parse_comma),
|
||||
SYM_PARSER(DOT, arith_parse_dot),
|
||||
SYM_PARSER(BANG, arith_parse_bang),
|
||||
|
||||
Reference in New Issue
Block a user