Project

General

Profile

« Previous | Next » 

Revision 4788522f

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

parse.y: Fix a location of NODE_BLOCK_PASS

  • parse.y (arg_append_gen): Update the last location of
    NODE_BLOCK_PASS when NODE is appended to nd_head.

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

    o[1, &bl] = :c 
    • Before
    NODE_BLOCK_PASS (line: 1, first_lineno: 1, first_column: 2, last_lineno: 1, last_column: 8) 
    • After
    NODE_BLOCK_PASS (line: 1, first_lineno: 1, first_column: 2, last_lineno: 1, last_column: 14) 

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