diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-12 23:48:50 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-12 23:48:50 +0000 |
commit | 47f1d84215893e32fb536c084cd03542f91bd884 (patch) | |
tree | 363ce06b6b2af621fa321d25a144dbc3069b0186 /test/webrick | |
parent | d5874f0fffa1e12920ae267ad81acf651475cd64 (diff) | |
download | ruby-47f1d84215893e32fb536c084cd03542f91bd884.tar.gz |
parse.y: Fix the locations of an empty script
* parse.y: Fix the locations of NODE_BEGIN in
an empty script.
```
ruby --dump=p -e ''
```
* Before
```
NODE_BEGIN (line: 1, code_range: (1,1)-(1,1))
```
* After
```
NODE_BEGIN (line: 1, code_range: (1,0)-(1,0))
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick')
0 files changed, 0 insertions, 0 deletions