Skip to content

Commit ed4ef1c

Browse files
committed
merge revision(s) 16385:
* eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}. "defined?(a||=1)" should not operate assignment. [ruby-dev:34645] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 4614918 commit ed4ef1c

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sun Jun 15 22:50:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}. "defined?(a||=1)"
4+
should not operate assignment. [ruby-dev:34645]
5+
16
Sun Jun 15 22:49:12 2008 NAKAMURA Usaku <usa@ruby-lang.org>
27

38
* win32/win32.c (rb_w32_select): backport from trunk.

eval.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2413,6 +2413,8 @@ is_defined(self, node, buf)
24132413
case NODE_ATTRSET:
24142414
case NODE_OP_ASGN1:
24152415
case NODE_OP_ASGN2:
2416+
case NODE_OP_ASGN_OR:
2417+
case NODE_OP_ASGN_AND:
24162418
case NODE_MASGN:
24172419
case NODE_LASGN:
24182420
case NODE_DASGN:

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2008-06-15"
33
#define RUBY_VERSION_CODE 185
44
#define RUBY_RELEASE_CODE 20080615
5-
#define RUBY_PATCHLEVEL 206
5+
#define RUBY_PATCHLEVEL 207
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy