summaryrefslogtreecommitdiffstats
path: root/marshal.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-28 02:45:23 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-28 02:45:23 +0000
commit8db23b37400493071ce7599f90474f6ea1a26761 (patch)
tree7e5d3b3352dbd38446002315e32d41f271167573 /marshal.c
parent8c4118a72a4ac2872b1ad722d59b2231c563b6a7 (diff)
downloadruby-8db23b37400493071ce7599f90474f6ea1a26761.tar.gz
ruby-8db23b37400493071ce7599f90474f6ea1a26761.tar.xz
ruby-8db23b37400493071ce7599f90474f6ea1a26761.zip
* exception error messages updated. [ruby-core:04497]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/marshal.c b/marshal.c
index 5323fdde2..3791c4c79 100644
--- a/marshal.c
+++ b/marshal.c
@@ -111,7 +111,7 @@ class2path(klass)
n);
}
if (rb_path2class(n) != rb_class_real(klass)) {
- rb_raise(rb_eTypeError, "%s cannot be referred", n);
+ rb_raise(rb_eTypeError, "%s can't be referred", n);
}
return path;
}
@@ -615,7 +615,7 @@ w_object(obj, arg, limit)
}
else if (FL_TEST(obj, FL_USER2)) {
/* FL_USER2 means HASH_PROC_DEFAULT (see hash.c) */
- rb_raise(rb_eTypeError, "cannot dump hash with default proc");
+ rb_raise(rb_eTypeError, "can't dump hash with default proc");
}
else {
w_byte(TYPE_HASH_DEF, arg);