diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-27 16:45:36 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-27 16:45:36 +0000 |
commit | 109d71ac71cab09d415a489deb39191735d9d00c (patch) | |
tree | f2c9bdf67b3dd3e1497b32ff663449142d081629 /variable.c | |
parent | 3e81553a1e6d71a1f8c528581c317e34f245f200 (diff) | |
download | ruby-109d71ac71cab09d415a489deb39191735d9d00c.tar.gz |
* variable.c (rb_mod_remove_const): fix segv caused by r38558.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
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)) { |