[ruby-cvs:68021] yui-knk:r60840 (trunk): parse.y: Fix the locations of NODE_ITER

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Sat Nov 18 22:11:36 JST 2017


yui-knk	2017-11-18 22:11:36 +0900 (Sat, 18 Nov 2017)

  New Revision: 60840

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

  Log:
    parse.y: Fix the locations of NODE_ITER
    
      * parse.y: Update the locations of NODE_ITER
        when nd_iter is determined.
    
      e.g. The locations of NODE_ITER is fixed:
    
      ```
      a {b}
      ```
    
      * Before
    
      ```
      NODE_ITER (line: 1, first_lineno: 1, first_column: 2, last_lineno: 1, last_column: 5)
      ```
    
      * After
    
      ```
      NODE_ITER (line: 1, first_lineno: 1, first_column: 0, last_lineno: 1, last_column: 5)
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list