diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-02 23:28:42 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-02 23:28:42 +0000 |
commit | b56e266d6450e21575edf3af355c9723faa0ba97 (patch) | |
tree | 7491db1a3288900e58dda127cdf4fed78bff784e /test/test_pp.rb | |
parent | 4a8531db5df048bc1f46154b861d751807a08a1d (diff) |
remove unnecessary settings with NULL_NODE in \X implementation
Remove unnecessary settings of node_array elements to NULL_NODE.
We can do this because we initialize the whole array to NULL_NODEs
and set everything again to NULL_NODEs when creating a sequence or
alternative node.
Also, fix an index error in the initialization of node_array.
(issue #15343)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pp.rb')
0 files changed, 0 insertions, 0 deletions