diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-08 12:56:58 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-08 12:56:58 +0000 |
commit | 085356631d479f3fbe6c334bc6d3332ef9c19485 (patch) | |
tree | a737082865feef2d98a3dad77a36044dae9aebc4 /vm.c | |
parent | a88570fbfff714c29d80144820acab20e3280ce8 (diff) | |
download | ruby-085356631d479f3fbe6c334bc6d3332ef9c19485.tar.gz |
parse.y: Make consistent with the terms about code ranges and locations
"loc" was ambiguous; it might refer both a location and a code range.
This change uses "loc" for a location, and "crange" or "cr" for a code
range.
A location (abbr. loc) is a point in a program and consists of line
number and column number. A code range (abbr. crange and cr) is a range
within a program and consists of a pair of locations which is the first
and the last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
0 files changed, 0 insertions, 0 deletions