From c4fc1f9f4f88676c557ecf41b0c6c5d80230146b Mon Sep 17 00:00:00 2001 From: arookas Date: Wed, 23 Dec 2015 20:21:58 -0500 Subject: [PATCH] Added a clear function. --- ssc/loop stack.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssc/loop stack.cs b/ssc/loop stack.cs index 48c5833..e708b01 100644 --- a/ssc/loop stack.cs +++ b/ssc/loop stack.cs @@ -26,6 +26,8 @@ namespace arookas loops.Pop(); } + public void Clear() { loops.Clear(); } + public bool AddBreak(sunPoint point) { return AddBreak(point, null); } public bool AddContinue(sunPoint point) { return AddContinue(point, null); } public bool AddBreak(sunPoint point, string name)