aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/com/jantuomi/tunkki/exception
diff options
context:
space:
mode:
authorjantuomi <jans.tuomi@gmail.com>2016-08-03 09:09:15 +0300
committerjantuomi <jans.tuomi@gmail.com>2016-08-03 09:54:46 +0300
commitf3b8e894c1212e0c494601d2ef04f94e4ee1ae7d (patch)
treedd3bdd4b40132be02d0095fc617770fc5de0eb8a /src/main/com/jantuomi/tunkki/exception
parenta8ac69d4c0e82ff4c8da7bf608b41c07afe1fc0e (diff)
Change "Malformed syntax tree" error to SyntaxError
Remove dead code Change SyntaxError message
Diffstat (limited to 'src/main/com/jantuomi/tunkki/exception')
-rw-r--r--src/main/com/jantuomi/tunkki/exception/types/SyntaxTunkkiError.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/com/jantuomi/tunkki/exception/types/SyntaxTunkkiError.java b/src/main/com/jantuomi/tunkki/exception/types/SyntaxTunkkiError.java
index 08d230b..fce4ef5 100644
--- a/src/main/com/jantuomi/tunkki/exception/types/SyntaxTunkkiError.java
+++ b/src/main/com/jantuomi/tunkki/exception/types/SyntaxTunkkiError.java
@@ -10,7 +10,7 @@ public class SyntaxTunkkiError extends TunkkiError {
@Override
public String what() {
- return "Unexpected %s.";
+ return "%s";
}
@Override