-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Parse tree issue with Python3 grammar #3578
Comments
Please provide which grammar you are using, an example input that demos the problem, and indicate which target you are using. Note, the targets all have different implementations, so there cannot be a generalization from one target to another. I tried the python/python3 grammar with the CSharp target, and I cannot reproduce the problem as you say.
The two I have been updating the python/python3 grammar quite a bit. #3540 |
We are using python3 grammar and the generated parse tree is not correct. The block node is not able to take proper indentation.
For example, statements which are part of one block. It should be present as child nodes of the same block. But in the parse tree, code statements are generated as a child node of the parent block node.
The text was updated successfully, but these errors were encountered: