diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2016-07-30 12:24:06 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2016-07-30 12:24:06 +0300 |
| commit | 8813de2902e06c61b2bdc8697b1cc987f920dc1f (patch) | |
| tree | ba0f9d1086a8535aaef3321b2a4c6ee71b5141e0 /src/main/com/jantuomi/tunkki/exception | |
| parent | 6c6eabea8947a9ae83e6ba98112574c1a2f25a34 (diff) | |
Function references are now correctly first class citizens
Resolves #7
Diffstat (limited to 'src/main/com/jantuomi/tunkki/exception')
| -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 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."); |
