diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-18 08:21:46 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-18 08:21:46 +0000 |
commit | 4be8be617e5f7cddcaaece6a2e2e706bf78cac1b (patch) | |
tree | 2f3d336e96a9d0421df04a897e34b08382e64f05 /internal.h | |
parent | a910587a32865bb496364b11c6e499bc5637ed32 (diff) | |
download | ruby-4be8be617e5f7cddcaaece6a2e2e706bf78cac1b.tar.gz |
parse.y: Fix the locations of NODE_DVAR and NODE_LVAR
* parse.y: Fix the locations of NODE_DVAR and NODE_LVAR
when it's a multiple assignment method parameter.
e.g. The locations of NODE_DVAR is fixed:
```
a {|(b, c)| d}
```
* Before
```
NODE_DVAR (line: 1, first_lineno: 1, first_column: 4, last_lineno: 1, last_column: 10)
```
* After
```
NODE_DVAR (line: 1, first_lineno: 1, first_column: 5, last_lineno: 1, last_column: 9)
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
0 files changed, 0 insertions, 0 deletions