[ruby-cvs:68323] yui-knk:r61142 (trunk): parse.y: Fix the locations of NODE_ITER (cmd_brace_block)

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Tue Dec 12 17:54:34 JST 2017


yui-knk	2017-12-12 17:54:34 +0900 (Tue, 12 Dec 2017)

  New Revision: 61142

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

  Log:
    parse.y: Fix the locations of NODE_ITER (cmd_brace_block)
    
    * parse.y: Update the locations of NODE_ITER
      when nd_iter is determined.
    
      ```
      a (1) {|i|}
      ```
    
      * Before
    
      ```
      NODE_ITER (line: 1, code_range: (1,6)-(1,10))
      ```
    
      * After
    
      ```
      NODE_ITER (line: 1, code_range: (1,0)-(1,11))
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list