[ruby-cvs:72327] yui-knk:r65227 (trunk): Fix locations of NODE_SCOPE in lambda.

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Sat Oct 20 19:53:31 JST 2018


yui-knk	2018-10-20 19:53:31 +0900 (Sat, 20 Oct 2018)

  New Revision: 65227

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65227

  Log:
    Fix locations of NODE_SCOPE in lambda.
    
    * parse.y: Fix to start with the argument.
    
      e.g. The locations of the NODE_SCOPE is fixed:
    
      ```
      -> x { 1 + 2 }
      ```
    
      * Before
    
      ```
      NODE_SCOPE (line: 1, location: (1,2)-(1,14))
      ```
    
      * After
    
      ```
      NODE_SCOPE (line: 1, location: (1,3)-(1,14))
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list