summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-06-04 11:39:27 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-06-04 11:39:27 +0900
commit7866ed850c1ae95a6b115e09f3788d5b623f0708 (patch)
treee42428f045c196f33c9f127540403073eaf34074 /node.c
parent14b5ccf91b8df1e61ae20f606b85cbb86d087f16 (diff)
node.c: Show the ID of internal variable
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index 65c6837303..d2bf9bf150 100644
--- a/node.c
+++ b/node.c
@@ -92,7 +92,7 @@ add_id(VALUE buf, ID id)
A(":"); AR(str);
}
else {
- A("(internal variable)");
+ rb_str_catf(buf, "(internal variable: 0x%"PRIsVALUE")", id);
}
}
}