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

ruby-changes:51311

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

yui-knk	2018-05-29 10:19:06 +0900 (Tue, 29 May 2018)

  New Revision: 63517

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

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

  Modified files:
    trunk/.gdbinit
    trunk/node.h
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 63516)
+++ .gdbinit	(revision 63517)
@@ -742,12 +742,6 @@ define nd_lit https://github.com/ruby/ruby/blob/trunk/.gdbinit#L742
   rp ($arg0).u1.value
 end
 
-
-define nd_frml
-  printf "%su1.node%s: ", $color_highlite, $color_end
-  rp ($arg0).u1.node
-end
-
 define nd_rest
   printf "%su2.argc%s: ", $color_highlite, $color_end
   p ($arg0).u2.argc
Index: node.h
===================================================================
--- node.h	(revision 63516)
+++ node.h	(revision 63517)
@@ -335,7 +335,6 @@ typedef struct RNode { https://github.com/ruby/ruby/blob/trunk/node.h#L335
 
 #define nd_lit   u1.value
 
-#define nd_frml  u2.argc
 #define nd_rest  u1.id
 #define nd_opt   u1.node
 #define nd_pid   u1.id

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

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