aboutsummaryrefslogtreecommitdiffstats
path: root/node_dump.c
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2023-12-27 15:01:25 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2023-12-27 16:53:18 +0900
commit81cf7491d7fc8263b52b63dde926843cd7a014bf (patch)
tree099415c500c3ee0e3e0d307663e643b8bbfb57f7 /node_dump.c
parent862cfcaf75d060103e8ebaf203ff9fed3190a9fe (diff)
downloadruby-81cf7491d7fc8263b52b63dde926843cd7a014bf.tar.gz
Print NODE_SELF nd_state field
Diffstat (limited to 'node_dump.c')
-rw-r--r--node_dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/node_dump.c b/node_dump.c
index 391aea10b1..ebb0ac8b61 100644
--- a/node_dump.c
+++ b/node_dump.c
@@ -914,6 +914,9 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
ANN("self");
ANN("format: self");
ANN("example: self");
+ F_CUSTOM1(nd_state, "nd_state") {
+ A_INT((int)RNODE_SELF(node)->nd_state);
+ }
return;
case NODE_NIL: