summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-19 13:38:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-19 13:38:47 +0000
commitcf5ecdfcbba21b8d2e39d9e091d0619eb3a3a0ef (patch)
tree03ff78186e232d0e50054e37188c8ce75fd78587 /eval.c
parentf506e11e10f1230e6cb63e379347e2e4bfccaac0 (diff)
* eval.c (assign): avoid SEGV at multiple attribute assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index b7662c9..bc4dc46 100644
--- a/eval.c
+++ b/eval.c
@@ -4085,6 +4085,7 @@ assign(self, lhs, val, pcall)
break;
case NODE_CALL:
+ case NODE_ATTRASGN:
{
VALUE recv;
recv = rb_eval(self, lhs->nd_recv);