diff options
| author | jantuomi <jans.tuomi@gmail.com> | 2016-08-02 16:31:19 +0300 |
|---|---|---|
| committer | jantuomi <jans.tuomi@gmail.com> | 2016-08-02 16:31:19 +0300 |
| commit | 262e87fb313e4636a07544df152db0f8bcbca381 (patch) | |
| tree | e935a594f25ae75f3514862a12ddac07948f98c5 /src/main/com/jantuomi/tunkki/exception/TunkkiError.java | |
| parent | a84e59f7763c73f55496a77b775cc858a5382bb0 (diff) | |
Extend 'include' to also use builtin modules
Add math builtin module
Add power builtin function
Fix IncludeError text to mention modules
Diffstat (limited to 'src/main/com/jantuomi/tunkki/exception/TunkkiError.java')
| -rw-r--r-- | src/main/com/jantuomi/tunkki/exception/TunkkiError.java | 2 |
1 files changed, 1 insertions, 1 deletions
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."); |
