diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-15 19:37:20 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-15 19:37:20 +0000 |
commit | e8bf23e206835fb73bd88336cbfa00a65448ce2e (patch) | |
tree | 4934de5dcb2905a2784f549a1142d1c86ec27ac5 | |
parent | ef159096d1ce0fdd99125c17f2531e4407d059f4 (diff) | |
download | ruby-e8bf23e206835fb73bd88336cbfa00a65448ce2e.tar.gz |
* parse.y (dsym): return non-null NODE even if yyerror(). based on a
patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31085]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@12966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | parse.y | 1 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Aug 16 04:36:41 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (dsym): return non-null NODE even if yyerror(). based on a + patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31085] + Thu Aug 16 04:34:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * process.c (proc_exec_v, rb_proc_exec): preserve errno. @@ -2143,6 +2143,7 @@ dsym : tSYMBEG xstring_contents tSTRING_END { lex_state = EXPR_END; if (!($$ = $2)) { + $$ = NEW_NIL(); yyerror("empty symbol literal"); } else { @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-08-16" #define RUBY_VERSION_CODE 185 #define RUBY_RELEASE_CODE 20070816 -#define RUBY_PATCHLEVEL 61 +#define RUBY_PATCHLEVEL 62 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |