summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 40bbbb1564..df90ab5e3c 100644
--- a/parse.y
+++ b/parse.y
@@ -8846,8 +8846,8 @@ rb_id_attrset(ID id)
scope, (VALUE)data);
}
else {
- rb_name_error(id, "cannot make unknown type ID %d:%"PRIxVALUE" attrset",
- scope, (VALUE)id);
+ rb_name_error_str(Qnil, "cannot make unknown type anonymous ID %d:%"PRIxVALUE" attrset",
+ scope, (VALUE)id);
}
}
}