We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I am building a configuration file parser and I need to remove all the error output messages, so I have tried removing the error listeners:
parser.setErrorHandler(new BailErrorStrategy()) parser.removeErrorListeners()
But when I run the parser I am still getting errors in the standard error output:
line 1:0 token recognition error at: ' ' line 1:1 token recognition error at: '■' line 1:0 token recognition error at: ' ' line 1:1 token recognition error at: '■' line 1:0 token recognition error at: ';' line 1:0 token recognition error at: ';' line 1:0 token recognition error at: ' ' line 1:1 token recognition error at: '■' line 1:0 token recognition error at: ' ' line 1:1 token recognition error at: '■'
Is this normal? whats the best method for removing these errors?
Best regards, Sebastian
The text was updated successfully, but these errors were encountered:
I believe you also need to remove the error listeners from the lexer separately from the parser.
Sorry, something went wrong.
sharwell
No branches or pull requests
Hello,
I am building a configuration file parser and I need to remove all the error output messages, so I have tried removing the error listeners:
But when I run the parser I am still getting errors in the standard error output:
Is this normal?
whats the best method for removing these errors?
Best regards,
Sebastian
The text was updated successfully, but these errors were encountered: