Project

General

Profile

« Previous | Next » 

Revision 5fd65585

Added by yui-knk (Kaneko Yuichiro) over 7 years ago

parse.y: Fix the locations of NODE_ITER

  • parse.y: Update the locations of NODE_ITER
    when nd_iter is determined.

e.g. The locations of NODE_ITER is fixed:

a {b}
  • Before
NODE_ITER (line: 1, first_lineno: 1, first_column: 2, last_lineno: 1, last_column: 5)
  • After
NODE_ITER (line: 1, first_lineno: 1, first_column: 0, last_lineno: 1, last_column: 5)

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