summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authoryui-knk <[email protected]>2024-05-03 08:57:55 +0900
committerYuichiro Kaneko <[email protected]>2024-05-03 12:40:35 +0900
commit899d9f79dde0e2dbb2da3a6ec7c1cbf1023cc56d ()
treeab7c9a58f20afec022d74c2a45fcd09c0c05d82c /load.c
parente1905ca18047e2dff73115f432ddfa532f7d396e (diff)
Rename `vast` to `ast_value`
There is an English word "vast". This commit changes the name to be more clear name to avoid confusion.
-rw-r--r--load.c8
1 files changed, 4 insertions, 4 deletions
@@ -762,13 +762,13 @@ load_iseq_eval(rb_execution_context_t *ec, VALUE fname)
}
else {
rb_ast_t *ast;
- VALUE vast;
VALUE parser = rb_parser_new();
rb_parser_set_context(parser, NULL, FALSE);
- vast = rb_parser_load_file(parser, fname);
- ast = rb_ruby_ast_data_get(vast);
- iseq = rb_iseq_new_top(vast, rb_fstring_lit("<top (required)>"),
fname, realpath_internal_cached(realpath_map, fname), NULL);
rb_ast_dispose(ast);
}