From dbfb5b5bbcbd71e9ca1e4c25cf6945ae10d14a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=B2=20=D0=9A=D0=BE=D0=BF=D0=BE=D1=80=D1=83?= =?UTF-8?q?=D1=88=D0=BA=D0=B8=D0=BD?= Date: Mon, 23 Aug 2021 12:26:12 +0500 Subject: [PATCH] Update KayJamLexerException.java --- .../github/kayjamlang/core/exceptions/KayJamLexerException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/kayjamlang/core/exceptions/KayJamLexerException.java b/src/main/java/com/github/kayjamlang/core/exceptions/KayJamLexerException.java index 573b2ae..d289530 100644 --- a/src/main/java/com/github/kayjamlang/core/exceptions/KayJamLexerException.java +++ b/src/main/java/com/github/kayjamlang/core/exceptions/KayJamLexerException.java @@ -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); } }