aboutsummaryrefslogtreecommitdiffstats
path: root/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'node.h')
-rw-r--r--node.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/node.h b/node.h
index 22d10a2d58..d39cae86f2 100644
--- a/node.h
+++ b/node.h
@@ -408,7 +408,7 @@ void rb_ast_dispose(rb_ast_t*);
void rb_ast_free(rb_ast_t*);
size_t rb_ast_memsize(const rb_ast_t*);
void rb_ast_add_mark_object(rb_ast_t*, VALUE);
-NODE *rb_ast_newnode(rb_ast_t*);
+NODE *rb_ast_newnode(rb_ast_t*, enum node_type type);
void rb_ast_delete_node(rb_ast_t*, NODE *n);
VALUE rb_parser_new(void);
@@ -451,12 +451,14 @@ struct rb_args_info {
NODE *opt_args;
int no_kwarg;
+ VALUE imemo;
};
struct rb_ary_pattern_info {
NODE *pre_args;
NODE *rest_arg;
NODE *post_args;
+ VALUE imemo;
};
struct parser_params;