From 7f78377ff82ebee0c3c1892a1fe8f12611c09b13 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 18 Sep 2009 10:48:17 +0000 Subject: [PATCH] *** empty log message *** --- XmlExpr.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/XmlExpr.cs b/XmlExpr.cs index 3efb27d..86048c8 100644 --- a/XmlExpr.cs +++ b/XmlExpr.cs @@ -451,7 +451,13 @@ namespace System.Xml.Expression 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 () -- 1.7.10.4