oops.. fixed bad switch case

This commit is contained in:
Manindra Moharana
2014-07-07 21:17:20 +05:30
parent 01a72b6f4b
commit 1804f6da29

View File

@@ -82,19 +82,21 @@ public class ErrorMessageSimplifier {
else {
result = "Problem with code syntax: Consider removing \"" + args[0]
+ "\"";
}
break;
}
}
break;
case IProblem.ParsingErrorInsertToComplete:
if (args.length > 0) {
if (args.length > 0) {
result = getErrorMessageForBracket(args[0].charAt(0));
break;
}
break;
case IProblem.ParsingErrorInsertTokenAfter:
if (args.length > 0) {
result = getErrorMessageForBracket(args[1].charAt(0));
break;
}
break;
case IProblem.UndefinedMethod:
if (args.length > 2) {
result = "I don't know the function \"" + args[args.length - 2] + "\"";