From 5f3c86669b646cb92b59c4d8f0803e65d1fb893c Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 28 Dec 2015 14:19:14 -0500 Subject: [PATCH] Changed break/continue error messages. --- ssc/exceptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssc/exceptions.cs b/ssc/exceptions.cs index b2cc6a3..6764c76 100644 --- a/ssc/exceptions.cs +++ b/ssc/exceptions.cs @@ -188,13 +188,13 @@ namespace arookas { : base(node) { } } class sunBreakException : sunNodeException { - public override string Message { get { return "Break statements must be placed within a loop statement."; } } + public override string Message { get { return "Misplaced break statement."; } } public sunBreakException(sunBreak node) : base(node) { } } class sunContinueException : sunNodeException { - public override string Message { get { return "Continue statements must be placed within a loop statement."; } } + public override string Message { get { return "Misplaced continue statement."; } } public sunContinueException(sunContinue node) : base(node) { }