diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-06-14 10:02:02 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-06-14 10:02:02 +0900 |
commit | 70313ec01a674e15d301f2dabb368cd90c78fa40 (patch) | |
tree | 563d2d2ac813dd0c23923847deb2a0ce65e07cc2 /misc/rb_optparse.zsh | |
parent | 32b18fe9d04e9c95ac0b8d5df258226867efc063 (diff) |
parse.y: Fix the location of a target constant of OP_CDECL
```
p RubyVM::AbstractSyntaxTree.parse("::Foo += 1").children
#=> before: [[], nil, (OP_CDECL@1:0-1:10 (COLON3@1:0-1:10 :Foo) :+ (LIT@1:9-1:10 1))]
#=> after: [[], nil, (OP_CDECL@1:0-1:10 (COLON3@1:0-1:5 :Foo) :+ (LIT@1:9-1:10 1))]
```
Diffstat (limited to 'misc/rb_optparse.zsh')
0 files changed, 0 insertions, 0 deletions