diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 08:45:35 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 08:45:35 +0000 |
commit | 4928900814725b6682c7aae5cf02ed60b3b32e57 (patch) | |
tree | 8782be452b1543d4f465915a333a2e1d2c32c4e3 /vm_core.h | |
parent | 043e1fd559f0675b242cd50fe82256083e3257db (diff) | |
download | ruby-4928900814725b6682c7aae5cf02ed60b3b32e57.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |