refactor: 移除词法异常中的错误消息
This commit is contained in:
parent
3d35e81a97
commit
f540d7fad5
@ -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()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user