[ruby-cvs:68878] yui-knk:r61697 (trunk): parse.y: Remove duplicated nd_line set

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Tue Jan 9 09:19:51 JST 2018


yui-knk	2018-01-09 09:19:51 +0900 (Tue, 09 Jan 2018)

  New Revision: 61697

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

  Log:
    parse.y: Remove duplicated nd_line set
    
    * parse.y: These nodes are created with `@$` locations.
      Start position of `@$` is same as start position of `@1`.
      And NEW_XXX macros set first_loc.lineno of a passed
      code range to nd_line. So these nd_set_line are not needed.

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list