Project

General

Profile

« Previous | Next » 

Revision 933fabd1

Added by yui-knk (Kaneko Yuichiro) almost 8 years ago

parse.y: Fix locations of NODE_ARRAY in NODE_OPCALL(nd_args)

  • parse.y: Fix to only include a range of arg1.

    e.g. The locations of the NODE_ARRAY is fixed:

    1 + 2 
    • Before
    NODE_ARRAY (line: 1, code_range: (1,0)-(1,5)) 
    • After
    NODE_ARRAY (line: 1, code_range: (1,4)-(1,5)) 

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e