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

Fix assignment variable and add test cases #56

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sereysethy
Copy link

I added a failed case, but I am not sure if it a correct way to do it.

sereysethy and others added 3 commits August 21, 2019 10:39
Last elif clause node is created and added to parts as a list.
When parsing the next elif (bottom-up order), as the last part is a list,
then it wrongly created a ReservedWord node and add the previous list as word.
The solution is to extend parts to include previous parts.
Fix elif clause by extending parts to include previous elif parts
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

Successfully merging this pull request may close these issues.

1 participant