[ruby-cvs:68141] yui-knk:r60960 (trunk): parse.y: Fix a location of NODE_HASH

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Fri Dec 1 18:48:18 JST 2017


yui-knk	2017-12-01 18:48:17 +0900 (Fri, 01 Dec 2017)

  New Revision: 60960

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

  Log:
    parse.y: Fix a location of NODE_HASH
    
    * parse.y: Fix to only include a range of assocs.
    
      e.g. The locations of the NODE_HASH is fixed:
    
      ```
      a(1, b: 10, &block)
      ```
    
      * Before
    
      ```
      NODE_HASH (line: 1, first_lineno: 1, first_column: 2, last_lineno: 1, last_column: 18)
      ```
    
      * After
    
      ```
      NODE_HASH (line: 1, first_lineno: 1, first_column: 5, last_lineno: 1, last_column: 10)
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list