diff options
| author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-10 23:44:22 +0000 |
|---|---|---|
| committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-10 23:44:22 +0000 |
| commit | e038b794fe673583b413d81a8933bdc0aead85fe (patch) | |
| tree | 39c9f333596a569466cf7cbcd45d4944c671d78a /include/ruby/backward | |
| parent | f17285275c96e2143ee69bedfa58aeb2a5ba7d6f (diff) | |
parse.y: Fix the last location of NODE_COLON2
* parse.y: Fix to only include a range from primary_value to tCONSTANT.
e.g. The locations of the NODE_COLON2 is fixed:
```
A::B ||= 1
```
* Before
```
NODE_COLON2 (line: 1, code_range: (1,0)-(1,10))
```
* After
```
NODE_COLON2 (line: 1, code_range: (1,0)-(1,4))
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/backward')
0 files changed, 0 insertions, 0 deletions
