mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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:
parent
8cd845aa5b
commit
8f096226e1
3 changed files with 16 additions and 4 deletions
2
node.h
2
node.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue