Project

General

Profile

« Previous | Next » 

Revision 7a79d881

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

parse.y: Fix locations of NODE_SCOPE in NODE_SCLASS

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

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

    class << [] def m; end end 
    • Before
    NODE_SCOPE (line: 3, code_range: (1,0)-(3,3)) 
    • After
    NODE_SCOPE (line: 3, code_range: (2,2)-(3,3)) 

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