ruby-changes:51309
From: yui-knk <ko1@a...>
Date: Tue, 29 May 2018 10:01:01 +0900 (JST)
Subject: [ruby-changes:51309] yui-knk:r63515 (trunk): Unused macro
yui-knk 2018-05-29 10:00:54 +0900 (Tue, 29 May 2018) New Revision: 63515 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63515 Log: Unused macro * node.h (nd_argc): nd_argc has been unused since r24128. * .gdbinit (nd_argc): ditto Modified files: trunk/.gdbinit trunk/node.h Index: .gdbinit =================================================================== --- .gdbinit (revision 63514) +++ .gdbinit (revision 63515) @@ -797,12 +797,6 @@ define nd_new https://github.com/ruby/ruby/blob/trunk/.gdbinit#L797 end -define nd_argc - printf "%su2.argc%s: ", $color_highlite, $color_end - p ($arg0).u2.argc -end - - define nd_cname printf "%su1.id%s: ", $color_highlite, $color_end p ($arg0).u1.id Index: node.h =================================================================== --- node.h (revision 63514) +++ node.h (revision 63515) @@ -349,8 +349,6 @@ typedef struct RNode { https://github.com/ruby/ruby/blob/trunk/node.h#L349 #define nd_noex u3.id #define nd_defn u3.node -#define nd_argc u2.argc - #define nd_cpath u1.node #define nd_super u3.node -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/