mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Rename vast
to ast_value
There is an English word "vast". This commit changes the name to be more clear name to avoid confusion.
This commit is contained in:
parent
e1905ca180
commit
899d9f79dd
12 changed files with 239 additions and 239 deletions
|
@ -1753,7 +1753,7 @@ eval_make_iseq(VALUE src, VALUE fname, int line,
|
|||
const VALUE parser = rb_parser_new();
|
||||
const rb_iseq_t *const parent = vm_block_iseq(base_block);
|
||||
rb_iseq_t *iseq = NULL;
|
||||
VALUE vast;
|
||||
VALUE ast_value;
|
||||
rb_ast_t *ast;
|
||||
int isolated_depth = 0;
|
||||
|
||||
|
@ -1791,13 +1791,13 @@ eval_make_iseq(VALUE src, VALUE fname, int line,
|
|||
|
||||
rb_parser_set_context(parser, parent, FALSE);
|
||||
if (ruby_vm_keep_script_lines) rb_parser_set_script_lines(parser);
|
||||
vast = rb_parser_compile_string_path(parser, fname, src, line);
|
||||
ast_value = rb_parser_compile_string_path(parser, fname, src, line);
|
||||
|
||||
ast = rb_ruby_ast_data_get(vast);
|
||||
ast = rb_ruby_ast_data_get(ast_value);
|
||||
|
||||
if (ast->body.root) {
|
||||
ast->body.coverage_enabled = coverage_enabled;
|
||||
iseq = rb_iseq_new_eval(vast,
|
||||
iseq = rb_iseq_new_eval(ast_value,
|
||||
ISEQ_BODY(parent)->location.label,
|
||||
fname, Qnil, line,
|
||||
parent, isolated_depth);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue