Commit 79c2e6e
committed
parse.y: Fix the locations of NODE_ITER (cmd_brace_block)
* parse.y: Update the locations of NODE_ITER
when nd_iter is determined.
```
a (1) {|i|}
```
* Before
```
NODE_ITER (line: 1, code_range: (1,6)-(1,10))
```
* After
```
NODE_ITER (line: 1, code_range: (1,0)-(1,11))
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e1 parent a6a1d7a commit 79c2e6e
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1678 | 1678 | | |
1679 | 1679 | | |
1680 | 1680 | | |
| 1681 | + | |
1681 | 1682 | | |
1682 | 1683 | | |
1683 | 1684 | | |
| |||
1694 | 1695 | | |
1695 | 1696 | | |
1696 | 1697 | | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
1697 | 1702 | | |
1698 | 1703 | | |
1699 | 1704 | | |
| |||
1706 | 1711 | | |
1707 | 1712 | | |
1708 | 1713 | | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
1709 | 1718 | | |
1710 | 1719 | | |
1711 | 1720 | | |
| |||
0 commit comments