diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-17 10:54:41 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-17 10:54:41 +0000 |
| commit | 065967579852fe691edc27998cab160279fa38d1 (patch) | |
| tree | a67689588021ed91eb1f8e460e95427e5f78e403 /eval.c | |
| parent | 02e87ae3e783cd8f56a9998308ee26fd199c53f8 (diff) | |
| download | ruby-065967579852fe691edc27998cab160279fa38d1.tar.gz ruby-065967579852fe691edc27998cab160279fa38d1.tar.xz ruby-065967579852fe691edc27998cab160279fa38d1.zip | |
* eval.c (is_defined): NODE_ATTRASGN should be assignment.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1881,7 +1881,6 @@ is_defined(self, node, buf) goto check_bound; case NODE_CALL: - case NODE_ATTRASGN: PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { val = rb_eval(self, node->nd_recv); @@ -1937,6 +1936,7 @@ is_defined(self, node, buf) return "false"; case NODE_ATTRSET: + case NODE_ATTRASGN: case NODE_OP_ASGN1: case NODE_OP_ASGN2: case NODE_MASGN: |
