зеркало из https://github.com/github/ruby.git
* 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/trunk@12653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
baaa30ec03
Коммит
cf46a2fce6
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31085]
|
||||
|
||||
Thu Jun 28 23:29:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* parse.y (assoc_list): odd number check only for NODE_ARRAY.
|
||||
|
|
1
parse.y
1
parse.y
|
@ -3829,6 +3829,7 @@ dsym : tSYMBEG xstring_contents tSTRING_END
|
|||
/*%%%*/
|
||||
lex_state = EXPR_ENDARG;
|
||||
if (!($$ = $2)) {
|
||||
$$ = NEW_NIL();
|
||||
yyerror("empty symbol literal");
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2007-06-28"
|
||||
#define RUBY_RELEASE_DATE "2007-06-29"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20070628
|
||||
#define RUBY_RELEASE_CODE 20070629
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2007
|
||||
#define RUBY_RELEASE_MONTH 6
|
||||
#define RUBY_RELEASE_DAY 28
|
||||
#define RUBY_RELEASE_DAY 29
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Загрузка…
Ссылка в новой задаче