Project

General

Profile

« Previous | Next » 

Revision 5afa84b0

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

parse.y: Fix locations of NODE_NIL in endless ranges.

  • parse.y: Fix to start with the end of dots.

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

    1..
    
    • Before
    NODE_NIL (line: 1, location: (1,0)-(1,3))
    
    • After
    NODE_NIL (line: 1, location: (1,3)-(1,3))
    

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