summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 08:45:35 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 08:45:35 +0000
commit4928900814725b6682c7aae5cf02ed60b3b32e57 (patch)
tree8782be452b1543d4f465915a333a2e1d2c32c4e3 /vm_core.h
parent043e1fd559f0675b242cd50fe82256083e3257db (diff)
Rename code_range to code_location
Because the name "code_range" is ambiguous with encoding's. Abbreviations ("crange", and "cr") are also renamed to "loc". The traditional "code_location" (a pair of lineno and column) is renamed to "code_position". Abbreviations are also renamed (first_loc to beg_pos, and last_loc to end_pos). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index c2a4b1ab03..1be20c1356 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -258,7 +258,7 @@ typedef struct rb_iseq_location_struct {
VALUE base_label; /* String */
VALUE label; /* String */
VALUE first_lineno; /* TODO: may be unsigned short */
- rb_code_range_t code_range;
+ rb_code_location_t code_location;
} rb_iseq_location_t;
#define PATHOBJ_PATH 0