This commit is contained in:
rusefi 2017-03-11 19:14:10 -05:00
parent a0b509c2a7
commit 6c819429d7
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class Token {
String getLiteral() {
if (!this.kind.equals(Kind.LITERAL)) {
throw new IllegalArgumentException();
throw new IllegalArgumentException("Literal expected but " + kind);
}
return (String)this.content;
}