-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
TypeError: Parser.parse() got an unexpected keyword argument 'on_error' #1311
Comments
|
yes was using earley, this should be reported |
another suggestion is that instead of a string definiing what parser to use |
I agree, a better error is warranted. If we want to be type-friendly, we can define different interfaces for each parser, and use |
Better error in Lark.parse when using on_error when parser!=lalr (issue #1311)
Error is now fixed. If anyone wants to suggest a PR to improve the API or make it more type-friendly, they are welcome to do so. |
The text was updated successfully, but these errors were encountered: