lang: ast: implement parsing of atoms

This commit is contained in:
2024-12-06 13:46:41 +00:00
parent 7ba0a05332
commit 2bd3e96427
4 changed files with 29 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ struct ast_node_type expr_node_ops = {
TOK_PARSER(IDENT, arith_parse_ident),
TOK_PARSER(INT, arith_parse_operand),
TOK_PARSER(DOUBLE, arith_parse_operand),
TOK_PARSER(ATOM, arith_parse_operand),
TOK_PARSER(STRING, arith_parse_operand),
TOK_PARSER(SYMBOL, arith_parse_operator),
TOK_PARSER(LABEL, arith_parse_label),