Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How antlr turns off runtime error logging #4360

Open
yaosheng-zhang opened this issue Jul 19, 2023 · 2 comments
Open

How antlr turns off runtime error logging #4360

yaosheng-zhang opened this issue Jul 19, 2023 · 2 comments

Comments

@yaosheng-zhang
Copy link

How to turn off the log output shown in the image?
微信图片_20230719094105

@jimidle
Copy link
Collaborator

jimidle commented Jul 19, 2023 via email

@aldoKelvianto
Copy link

Use either parser.removeErrorListeners() or lexer.removeErrorListener(ConsoleErrorListener.INSTANCE);

As mentioned here: https://stackoverflow.com/a/35286575/1760984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants