diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-29 15:17:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-29 15:17:02 +0000 |
commit | 0ba42821dd51693bf0968c3cc44489c3bed317b4 (patch) | |
tree | 66ec530e9b23747ab012f2c470cca0ea508da0f0 | |
parent | 955a978aef9ade50ba4791b2c133599b2d5a74de (diff) |
* parse.y (parser_yylex): return non-valid token for an invalid
instance/class variable name. a patch from from Yusuke ENDOH
<mame AT tsg.ne.jp>. [ruby-dev:31095]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | parse.y | 1 | ||||
-rw-r--r-- | version.h | 6 |
3 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Sat Jun 30 00:17:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (yylex): return non-valid token for an invalid + instance/class variable name. a patch from from Yusuke ENDOH + <mame AT tsg.ne.jp>. [ruby-dev:31095] + Fri Jun 29 11:23:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (dsym): return non-null NODE even if yyerror(). based on a @@ -4351,6 +4351,7 @@ yylex() else { rb_compile_error("`@@%c' is not allowed as a class variable name", c); } + return 0; } if (!is_identchar(c)) { pushback(c); @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.8.6" -#define RUBY_RELEASE_DATE "2007-06-29" +#define RUBY_RELEASE_DATE "2007-06-30" #define RUBY_VERSION_CODE 186 -#define RUBY_RELEASE_CODE 20070629 +#define RUBY_RELEASE_CODE 20070630 #define RUBY_PATCHLEVEL 5000 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 6 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 6 -#define RUBY_RELEASE_DAY 29 +#define RUBY_RELEASE_DAY 30 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; |