*** empty log message ***
authorhanda <handa>
Fri, 18 Sep 2009 10:48:17 +0000 (10:48 +0000)
committerhanda <handa>
Fri, 18 Sep 2009 10:48:17 +0000 (10:48 +0000)
XmlExpr.cs

index 3efb27d..86048c8 100644 (file)
@@ -451,7 +451,13 @@ namespace System.Xml.Expression
 
       internal void ThrowReturn ()
       {
 
       internal void ThrowReturn ()
       {
-       catch_list.Peek ().count = catchcount;
+       CatchTag tag = catch_list.Peek ();
+       while (tag.name != Nreturn)
+         {
+           catch_list.Pop ();
+           tag = catch_list.Peek ();
+         }
+       catchcount = tag.count;
       }
 
       internal void ThrowBreak ()
       }
 
       internal void ThrowBreak ()