From 8813de2902e06c61b2bdc8697b1cc987f920dc1f Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 30 Jul 2016 12:24:06 +0300 Subject: Function references are now correctly first class citizens Resolves #7 --- src/main/com/jantuomi/tunkki/exception/TunkkiError.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/com/jantuomi/tunkki/exception/TunkkiError.java') diff --git a/src/main/com/jantuomi/tunkki/exception/TunkkiError.java b/src/main/com/jantuomi/tunkki/exception/TunkkiError.java index 9e0163c..dd48077 100644 --- a/src/main/com/jantuomi/tunkki/exception/TunkkiError.java +++ b/src/main/com/jantuomi/tunkki/exception/TunkkiError.java @@ -31,7 +31,7 @@ public class TunkkiError extends Exception { errorTexts.put(ExceptionType.TypeError, "Incompatible types %s and %s."); errorTexts.put(ExceptionType.ExpectedDifferentTokenError, "Token '%s' expects a different token stack."); errorTexts.put(ExceptionType.FunctionArgumentError, "The parameter list given to function %s is either of wrong length or the parameters are of wrong type. Actual: %s"); - errorTexts.put(ExceptionType.UndeclaredSymbolError, "No symbol %s defined, parameters: [%s]."); + errorTexts.put(ExceptionType.UndeclaredSymbolError, "No symbol %s defined in the current scope."); errorTexts.put(ExceptionType.IncludeError, "File %s could not be included."); errorTexts.put(ExceptionType.GeneralError, "%s"); errorTexts.put(ExceptionType.NadaError, "Can't do operation with a nada value."); -- cgit v1.3