Skip to content

Commit

Permalink
Update KayJamLexerException.java
Browse files Browse the repository at this point in the history
  • Loading branch information
levkopo committed Aug 23, 2021
1 parent 5852c77 commit dbfb5b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

public class KayJamLexerException extends Exception {
public KayJamLexerException(KayJamLexer lexer, String errorMessage) {
super(errorMessage + " in " + lexer.source.path);
super("Lexer error: "+ errorMessage + " on "+lexer.getLine()+" in " + lexer.source.path);
}
}

0 comments on commit dbfb5b5

Please sign in to comment.