[ruby-cvs:68043] yui-knk:r60862 (trunk): parse.y: Fix the locations of NODE_FCALL

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Mon Nov 20 15:00:04 JST 2017


yui-knk	2017-11-20 15:00:04 +0900 (Mon, 20 Nov 2017)

  New Revision: 60862

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

  Log:
    parse.y: Fix the locations of NODE_FCALL
    
      * parse.y: Update the locations of NODE_FCALL
        when nd_args is determined.
    
      e.g. The locations of NODE_FCALL is fixed:
    
      ```
      a 1
      ```
    
      * Before
    
      ```
      NODE_FCALL (line: 1, first_lineno: 1, first_column: 0, last_lineno: 1, last_column: 1)
      ```
    
      * After
    
      ```
      NODE_FCALL (line: 1, first_lineno: 1, first_column: 0, last_lineno: 1, last_column: 3)
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list