summaryrefslogtreecommitdiff
path: root/vm.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 (patch)
treeab7c9a58f20afec022d74c2a45fcd09c0c05d82c /vm.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.
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm.c b/vm.c
index dbee303851..7e39940017 100644
--- a/vm.c
+++ b/vm.c
@@ -1480,14 +1480,14 @@ rb_binding_add_dynavars(VALUE bindval, rb_binding_t *bind, int dyncount, const I
tmp_node.nd_body = 0;
tmp_node.nd_args = 0;
- VALUE vast = rb_ruby_ast_new(RNODE(&tmp_node));
+ VALUE ast_value = rb_ruby_ast_new(RNODE(&tmp_node));
if (base_iseq) {
- iseq = rb_iseq_new(vast, ISEQ_BODY(base_iseq)->location.label, path, realpath, base_iseq, ISEQ_TYPE_EVAL);
+ iseq = rb_iseq_new(ast_value, ISEQ_BODY(base_iseq)->location.label, path, realpath, base_iseq, ISEQ_TYPE_EVAL);
}
else {
VALUE tempstr = rb_fstring_lit("<temp>");
- iseq = rb_iseq_new_top(vast, tempstr, tempstr, tempstr, NULL);
+ iseq = rb_iseq_new_top(ast_value, tempstr, tempstr, tempstr, NULL);
}
tmp_node.nd_tbl = 0; /* reset table */
ALLOCV_END(idtmp);