From: handa Date: Fri, 18 Sep 2009 10:48:17 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7f78377ff82ebee0c3c1892a1fe8f12611c09b13;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- 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 ()