From 262e87fb313e4636a07544df152db0f8bcbca381 Mon Sep 17 00:00:00 2001 From: jantuomi Date: Tue, 2 Aug 2016 16:31:19 +0300 Subject: Extend 'include' to also use builtin modules Add math builtin module Add power builtin function Fix IncludeError text to mention modules --- 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 2f133e6..affc353 100644 --- a/src/main/com/jantuomi/tunkki/exception/TunkkiError.java +++ b/src/main/com/jantuomi/tunkki/exception/TunkkiError.java @@ -32,7 +32,7 @@ public class TunkkiError extends Exception { 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 in the current scope."); - errorTexts.put(ExceptionType.IncludeError, "File %s could not be included."); + errorTexts.put(ExceptionType.IncludeError, "File or module %s could not be included."); errorTexts.put(ExceptionType.GeneralError, "%s"); errorTexts.put(ExceptionType.NadaError, "Can't do operation with a nada value."); errorTexts.put(ExceptionType.CastError, "Illegal cast to type %s from value %s."); -- cgit v1.3