lang: ast: treat bang (!) as an unconsumed expression terminator

This commit is contained in:
2024-12-06 13:22:33 +00:00
parent 363b13534d
commit d3813dc514
3 changed files with 24 additions and 0 deletions

View File

@@ -120,6 +120,8 @@ extern struct token_parse_result arith_parse_semicolon(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result arith_parse_dot(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result arith_parse_bang(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result arith_parse_caret(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result arith_parse_comma(