ruby-changes:51305
From: yui-knk <ko1@a...>
Date: Mon, 28 May 2018 23:24:23 +0900 (JST)
Subject: [ruby-changes:51305] yui-knk:r63511 (trunk): Unused macro and field
yui-knk 2018-05-28 23:24:14 +0900 (Mon, 28 May 2018) New Revision: 63511 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63511 Log: Unused macro and field * node.h (nd_cfnc, struct RNode): nd_cfnc has been unused since r49938, and also cfunc field. * .gdbinit (nd_cfnc): ditto Modified files: trunk/.gdbinit trunk/node.h Index: .gdbinit =================================================================== --- .gdbinit (revision 63510) +++ .gdbinit (revision 63511) @@ -797,11 +797,6 @@ define nd_new https://github.com/ruby/ruby/blob/trunk/.gdbinit#L797 end -define nd_cfnc - printf "%su1.cfunc%s: ", $color_highlite, $color_end - p ($arg0).u1.cfunc -end - define nd_argc printf "%su2.argc%s: ", $color_highlite, $color_end p ($arg0).u2.argc Index: node.h =================================================================== --- node.h (revision 63510) +++ node.h (revision 63511) @@ -248,7 +248,6 @@ typedef struct RNode { https://github.com/ruby/ruby/blob/trunk/node.h#L248 struct RNode *node; ID id; VALUE value; - VALUE (*cfunc)(ANYARGS); ID *tbl; } u1; union { @@ -350,7 +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_cfnc u1.cfunc #define nd_argc u2.argc #define nd_cpath u1.node -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/