lang: ast: treat bang (!) as an unconsumed expression terminator
This commit is contained in:
@@ -36,6 +36,7 @@ struct ast_node_type expr_node_ops = {
|
||||
SYM_PARSER(CARET, arith_parse_caret),
|
||||
SYM_PARSER(COMMA, arith_parse_comma),
|
||||
SYM_PARSER(DOT, arith_parse_dot),
|
||||
SYM_PARSER(BANG, arith_parse_bang),
|
||||
SYM_PARSER(EQUAL_RIGHT_ANGLE, arith_parse_equal_right_angle),
|
||||
},
|
||||
.n_keyword_parsers = {
|
||||
|
||||
Reference in New Issue
Block a user