diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-10 23:27:58 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-10 23:27:58 +0000 |
commit | ad321cdea5b2ccb3cb6e8e56d2cb26604de00717 (patch) | |
tree | 882190530d78b25456496dbc222416cc60c3e39c /io.c | |
parent | a9770bac6375c9d4ff8ba8bb1842841aec7c59e3 (diff) | |
download | ruby-ad321cdea5b2ccb3cb6e8e56d2cb26604de00717.tar.gz |
parse.y: Change the first location of NODE_ARRAY in NODE_DSTR (nd_next->nd_next)
* parse.y (list_append_gen): Change the first location to
start with the location of item if new list is generated.
e.g. The locations of the NODE_ARRAY is changed:
```
"#{a}.#{b}"
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,0)-(1,6))
```
* After
```
NODE_ARRAY (line: 1, code_range: (1,5)-(1,6))
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
0 files changed, 0 insertions, 0 deletions