diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-28 10:32:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-28 10:32:36 +0000 |
commit | 4a46362239ca151be428f1db799c491f09d7403b (patch) | |
tree | 8fcce73ad4c06c044cfec76df5895ddae60be949 /struct.c | |
parent | afb4bcbfd6a4d315093285679d9aa9270ad7d1ab (diff) | |
download | ruby-4a46362239ca151be428f1db799c491f09d7403b.tar.gz |
struct.c: encoding of member name
* struct.c (not_a_member): preserve encoding of member name in
error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
-rw-r--r-- | struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -84,7 +84,7 @@ NORETURN(static void not_a_member(ID id)); static void not_a_member(ID id) { - rb_name_error(id, "`%s' is not a struct member", rb_id2name(id)); + rb_name_error(id, "`%"PRIsVALUE"' is not a struct member", QUOTE_ID(id)); } VALUE |