summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
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 c71fa460e9..d1f1b70832 100644
--- a/node.c
+++ b/node.c
@@ -77,7 +77,7 @@ add_id(VALUE buf, ID id)
else {
VALUE str = rb_id2str(id);
if (str) {
- A(":"); AR(rb_id2str(id));
+ A(":"); AR(str);
}
else {
A("(internal variable)");