[前][次][番号順一覧][スレッド一覧]

ruby-changes:51312

From: yui-knk <ko1@a...>
Date: Tue, 29 May 2018 10:40:08 +0900 (JST)
Subject: [ruby-changes:51312] yui-knk:r63518 (trunk): Unused macro

yui-knk	2018-05-29 10:40:01 +0900 (Tue, 29 May 2018)

  New Revision: 63518

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

  Log:
    Unused macro
    
    * node.h (nd_noex): nd_noex has been unused since r24128.
    * .gdbinit (nd_noex): ditto

  Modified files:
    trunk/.gdbinit
    trunk/node.h
Index: node.h
===================================================================
--- node.h	(revision 63517)
+++ node.h	(revision 63518)
@@ -345,7 +345,6 @@ typedef struct RNode { https://github.com/ruby/ruby/blob/trunk/node.h#L345
 #define nd_args  u3.node
 #define nd_ainfo u3.args
 
-#define nd_noex  u3.id
 #define nd_defn  u3.node
 
 #define nd_cpath u1.node
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 63517)
+++ .gdbinit	(revision 63518)
@@ -768,12 +768,6 @@ define nd_args https://github.com/ruby/ruby/blob/trunk/.gdbinit#L768
   rp ($arg0).u3.node
 end
 
-
-define nd_noex
-  printf "%su1.id%s: ", $color_highlite, $color_end
-  p ($arg0).u1.id
-end
-
 define nd_defn
   printf "%su3.node%s: ", $color_highlite, $color_end
   rp ($arg0).u3.node

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]