Project

General

Profile

« Previous | Next » 

Revision 14b6dc4c

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

parse.y: Fix locations of NODE_SCOPE in NODE_MODULE

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

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

    module M def m end end 
    • Before
    NODE_SCOPE (line: 4, code_range: (1,0)-(4,3)) 
    • After
    NODE_SCOPE (line: 4, code_range: (1,8)-(4,3)) 

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