-
Notifications
You must be signed in to change notification settings - Fork 38
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
Debug option #116
Comments
@paulochf hi, thanks for reporting the issue, I will take a look today later |
No rush, @xnuinside . As I showed, I figured out the problem. I only wanted to leave the suggestion. |
@paulochf released in 0.26.0 version where debug statement is updated. Thank you for you suggestion! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I tried to use the library to parse HQL DDLs, but some of them I got the error below
It was hard to find the problem in a big DDL. After finding another shorter example, I could isolate the cause and figured out that the following comment was the issue.
Hence, some debugging parameters to see which error lexer/yaccer got might be helpful. For example, I could see ply lets you do that.
Describe the solution you'd like
parse_from_file(tbl_file["path"], output_mode="hql", debug=True)
Describe alternatives you've considered
Show the character it caused the problem
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: