[ruby-cvs:70481] yui-knk:r63391 (trunk): parse.y: Fix locations of NODE_NIL in endless ranges.

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Thu May 10 15:34:20 JST 2018


yui-knk	2018-05-10 15:34:20 +0900 (Thu, 10 May 2018)

  New Revision: 63391

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

  Log:
    parse.y: Fix locations of NODE_NIL in endless ranges.
    
    * parse.y: Fix to start with the end of dots.
    
      e.g. The locations of the NODE_NIL is fixed:
    
      ```
      1..
      ```
    
      * Before
    
      ```
      NODE_NIL (line: 1, location: (1,0)-(1,3))
      ```
    
      * After
    
      ```
      NODE_NIL (line: 1, location: (1,3)-(1,3))
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list