diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-09 15:06:57 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-09 15:06:57 +0000 |
commit | 8e09f5b907868d3524e3e0557ca7bdf7cd2d73c8 (patch) | |
tree | c07eb72f3c2a4adb96e66164d986b09419d4cc60 /parse.y | |
parent | e5877f1c96b759a7468341c354027638ca7ced33 (diff) |
* variable.c (rb_obj_remove_instance_variable): better message.
[ruby-talk:68987]
* variable.c (rb_mod_remove_const): ditto.
* object.c (rb_obj_ivar_get): ditto.
* object.c (rb_obj_ivar_set): ditto.
* parse.y (yylex): ditto.
* eval.c (rb_mod_define_method): Allow UnboundMethod as
parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4271,10 +4271,10 @@ yylex() } if (ISDIGIT(c)) { if (tokidx == 1) { - rb_compile_error("`@%c' is not a valid instance variable name", c); + rb_compile_error("`@%c' is not allowable as an instance variable name", c); } else { - rb_compile_error("`@@%c' is not a valid class variable name", c); + rb_compile_error("`@@%c' is not allowable as a class variable name", c); } } if (!is_identchar(c)) { |