lang: ast: implement parsing of atoms
This commit is contained in:
@@ -18,6 +18,7 @@ extern struct ast_node_type op_node_ops;
|
||||
extern struct ast_node_type ident_node_ops;
|
||||
extern struct ast_node_type int_node_ops;
|
||||
extern struct ast_node_type double_node_ops;
|
||||
extern struct ast_node_type atom_node_ops;
|
||||
extern struct ast_node_type string_node_ops;
|
||||
extern struct ast_node_type cascade_node_ops;
|
||||
extern struct ast_node_type cond_group_node_ops;
|
||||
@@ -42,6 +43,7 @@ static const struct ast_node_type *node_ops[] = {
|
||||
[IVY_AST_IDENT] = &ident_node_ops,
|
||||
[IVY_AST_INT] = &int_node_ops,
|
||||
[IVY_AST_DOUBLE] = &double_node_ops,
|
||||
[IVY_AST_ATOM] = &atom_node_ops,
|
||||
[IVY_AST_STRING] = &string_node_ops,
|
||||
[IVY_AST_CASCADE] = &cascade_node_ops,
|
||||
[IVY_AST_COND_GROUP] = &cond_group_node_ops,
|
||||
|
||||
Reference in New Issue
Block a user