summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 2597015d50..f6bd70a211 100644
--- a/variable.c
+++ b/variable.c
@@ -1919,7 +1919,7 @@ rb_mod_remove_const(VALUE mod, VALUE name)
}
else {
rb_name_error_str(name, "`%"PRIsVALUE"' is not allowed as a constant name",
- QUOTE_ID(name));
+ QUOTE(name));
}
}
if (!rb_is_const_id(id)) {