diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-10 08:37:12 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-10 08:37:12 +0000 |
| commit | cc3ede1ba8b59115e1a5abf02873e92e9841a00b (patch) | |
| tree | 2c2f889b16d8583f32bddc6311e596b369fa3346 /parse.y | |
| parent | 6c96aef2df77517199e1b6f54190247fd869230c (diff) | |
| download | ruby-cc3ede1ba8b59115e1a5abf02873e92e9841a00b.tar.gz ruby-cc3ede1ba8b59115e1a5abf02873e92e9841a00b.tar.xz ruby-cc3ede1ba8b59115e1a5abf02873e92e9841a00b.zip | |
* variable.c (rb_mod_name): always return empty string for
anonymous class/module. (ruby-bugs-ja PR#424)
* config.sub: stop forcing addition of -gnu to -linux.
* variable.c (classname): refactoring.
* variable.c (rb_class_path): __tmp__classpath__ handling moved
from classname().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3664 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 allowable as an instance variable name", c); + rb_compile_error("`@%c' is not allowed as an instance variable name", c); } else { - rb_compile_error("`@@%c' is not allowable as a class variable name", c); + rb_compile_error("`@@%c' is not allowed as a class variable name", c); } } if (!is_identchar(c)) { |
