mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (arg): tUPLUS no longer works as identity operation any
more. inspired by [ruby-talk:265532]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a42bb2a456
commit
aff0d98a5b
3 changed files with 9 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Dec 6 19:48:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* parse.y (arg): tUPLUS no longer works as identity operation any
|
||||||
|
more. inspired by [ruby-talk:265532].
|
||||||
|
|
||||||
Thu Dec 6 18:22:11 2007 Tanaka Akira <akr@fsij.org>
|
Thu Dec 6 18:22:11 2007 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* encoding.c (rb_enc_precise_mbclen): new function for mbclen with
|
* encoding.c (rb_enc_precise_mbclen): new function for mbclen with
|
||||||
|
|
7
parse.y
7
parse.y
|
@ -2035,12 +2035,7 @@ arg : lhs '=' arg
|
||||||
| tUPLUS arg
|
| tUPLUS arg
|
||||||
{
|
{
|
||||||
/*%%%*/
|
/*%%%*/
|
||||||
if ($2 && nd_type($2) == NODE_LIT) {
|
$$ = call_uni_op($2, tUPLUS);
|
||||||
$$ = $2;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$$ = call_uni_op($2, tUPLUS);
|
|
||||||
}
|
|
||||||
/*%
|
/*%
|
||||||
$$ = dispatch2(unary, ripper_intern("+@"), $2);
|
$$ = dispatch2(unary, ripper_intern("+@"), $2);
|
||||||
%*/
|
%*/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2007-12-06"
|
#define RUBY_RELEASE_DATE "2007-12-07"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20071206
|
#define RUBY_RELEASE_CODE 20071207
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 12
|
#define RUBY_RELEASE_MONTH 12
|
||||||
#define RUBY_RELEASE_DAY 6
|
#define RUBY_RELEASE_DAY 7
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Loading…
Reference in a new issue