diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-07-24 04:42:07 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-07-24 04:42:07 +0000 |
commit | 3b0fec9a5f966fd7ae26bc7b84877fa7209d8605 (patch) | |
tree | 48fbc4b02d73ca0f173ed87e288ee406e0913b97 /error.c | |
parent | 0d30af8fd2bcfea8cf5dbf87b623c57960ce81bc (diff) |
1.1c1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -393,12 +393,12 @@ exception(argc, argv) } for (i=0; i<argc; i++) { /* argument check */ id = rb_to_id(argv[i]); - if (!rb_is_const_id(id)) { - ArgError("identifier `%s' needs to be constant", rb_id2name(id)); - } if (!rb_id2name(id)) { ArgError("argument needs to be symbol or string"); } + if (!rb_is_const_id(id)) { + ArgError("identifier `%s' needs to be constant", rb_id2name(id)); + } } for (i=0; i<argc; i++) { v = rb_define_class_under(the_class, |