diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-12 00:28:29 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-12 00:28:29 +0000 |
commit | 0b31ce0047513d1eb8f9902286215025a3742bf5 (patch) | |
tree | d9996a2ff57a02ff19c8e11a4b207f6e8b454d47 /test/test_delegate.rb | |
parent | 9b1d8ab7d0ab45a81dcd682accd1b5d3441fec25 (diff) | |
download | ruby-0b31ce0047513d1eb8f9902286215025a3742bf5.tar.gz |
parse.y: Fix locations of NODE_ARRAY in NODE_CALL(:=~)
* parse.y (match_op_gen): Fix to only include a range of node2.
e.g. The locations of the NODE_ARRAY is fixed:
```
re =~ s1
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,0)-(1,8))
```
* After
```
NODE_ARRAY (line: 1, code_range: (1,6)-(1,8))
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_delegate.rb')
0 files changed, 0 insertions, 0 deletions