refactor: 移除词法异常中的错误消息

This commit is contained in:
Luke 2025-07-16 18:00:38 +08:00
parent 3d35e81a97
commit f540d7fad5

View File

@ -57,7 +57,7 @@ public class LexerEngine {
report(errors); report(errors);
if (!errors.isEmpty()) { if (!errors.isEmpty()) {
throw new LexicalException( throw new LexicalException(
"Lexing failed with " + errors.size() + " error(s).", "",
context.getLine(), context.getCol() context.getLine(), context.getCol()
); );
} }