From: ts Date: 2001-09-27T00:24:32+09:00 Subject: [ruby-talk:21730] Re: manipulating "immutable" objects such as Fixnum from within callbacks & al... >>>>> "B" == Brian F Feldman writes: B> Yeah, that's enough to fix it. B> I came up with something a little bit different but because its complexity B> is greater, it's not as good of a fix :) This patch is even better because it's just one line :-) pigeon% diff -u parse.y~ parse.y --- parse.y~ Mon Sep 3 07:29:18 2001 +++ parse.y Wed Sep 26 16:55:36 2001 @@ -692,7 +692,7 @@ { NODE *args = NEW_LIST($6); - list_append($3, NEW_NIL()); + $3 = list_append($3, NEW_NIL()); list_concat(args, $3); if ($5 == tOROP) { $5 = 0; pigeon% Guy Decoux