lang: ast: implement parsing of tuples
This commit is contained in:
@@ -20,6 +20,7 @@ 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 tuple_node_ops;
|
||||
extern struct ast_node_type string_node_ops;
|
||||
extern struct ast_node_type fstring_node_ops;
|
||||
extern struct ast_node_type cascade_node_ops;
|
||||
@@ -52,6 +53,7 @@ static const struct ast_node_type *node_ops[] = {
|
||||
[IVY_AST_INT] = &int_node_ops,
|
||||
[IVY_AST_DOUBLE] = &double_node_ops,
|
||||
[IVY_AST_ATOM] = &atom_node_ops,
|
||||
[IVY_AST_TUPLE] = &tuple_node_ops,
|
||||
[IVY_AST_STRING] = &string_node_ops,
|
||||
[IVY_AST_FSTRING] = &fstring_node_ops,
|
||||
[IVY_AST_CASCADE] = &cascade_node_ops,
|
||||
|
||||
Reference in New Issue
Block a user