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

Replace Deletion with Empty Statements #23

Merged
merged 4 commits into from
Sep 10, 2023

Conversation

ctrl-escp
Copy link
Contributor

Issue brought up in REstringer repo (issue #90):
In some cases a node was set to be removed, but doing so would break the code (like removing the consequent clause from an if statement), so instead of removing it, Arborist will replace it with an empty statement, keeping the syntax valid.

…ith an Empty Statement rather than deleted;

Add description to fields added by flAST
@BenBaryoPX BenBaryoPX merged commit 010418d into PerimeterX:main Sep 10, 2023
2 checks passed
@ctrl-escp ctrl-escp deleted the fix/safe-delete branch September 10, 2023 10:18
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.

2 participants