Project

General

Profile

« Previous | Next » 

Revision dd782579

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

Fix locations of NODE_UNDEF in undef with multiple args

  • parse.y: Fix the beginning position of trailing NODE_UNDEF.

    e.g. The location of the NODE_UNDEF for b is fixed:

    undef a, b
    
    • Before
    NODE_UNDEF (line: 1, location: (1,6)-(1,10))
    
    • After
    NODE_UNDEF (line: 1, location: (1,9)-(1,10))
    

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