diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-07 02:25:37 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-07 02:25:37 +0000 |
commit | d2d4839a390434af70c20f36065b7804597a7337 (patch) | |
tree | 0224333bf98a050e8aa9a1c24232086f25a1cbe4 /tool/sync_default_gems.rb | |
parent | 04594937ebce0f6a03b81d4d2a10480cf4164005 (diff) |
parse.y: Fix locations of xstring
* parse.y (new_xstring_gen): Always set locations
to include locations of tXSTRING_BEG and tSTRING_END.
e.g. The locations of the NODE_XSTR is fixed:
```
`a`
```
* Before
```
NODE_XSTR (line: 1, code_range: (1,1)-(1,2))
```
* After
```
NODE_XSTR (line: 1, code_range: (1,0)-(1,3))
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/sync_default_gems.rb')
0 files changed, 0 insertions, 0 deletions