Stash tmpbuffer inside internal structs

I guess those AST node were actually used for something, so we'd better
not touch them.  Instead this commit just puts the tmpbuffer inside a
different internal struct so that we can mark them.
This commit is contained in:
Aaron Patterson 2019-09-05 11:04:43 -07:00
parent 8cd845aa5b
commit 8f096226e1
No known key found for this signature in database
GPG key ID: 953170BCB4FFAFC6
3 changed files with 16 additions and 4 deletions

2
node.h
View file

@ -452,12 +452,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;