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 | ecc6fc60b34461c8957a2a1fa884fd86a29dab4e (patch) | |
| tree | c07eb72f3c2a4adb96e66164d986b09419d4cc60 /parse.y | |
| parent | 86c4525ce3feb025ac933b450631e350f6e4fffb (diff) | |
| download | ruby-ecc6fc60b34461c8957a2a1fa884fd86a29dab4e.tar.gz ruby-ecc6fc60b34461c8957a2a1fa884fd86a29dab4e.tar.xz ruby-ecc6fc60b34461c8957a2a1fa884fd86a29dab4e.zip | |
* 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: http://svn.ruby-lang.org/repos/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)) { |
