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

Added syntax simplification logic to shorthand updates. #114

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

AngeloD2022
Copy link
Owner

for example...

Input Decompiled
i += -5 i -= 5
i += -1 i--
i -= -1 i++
i += 1 i++
i -= -3 i += 3

…nmentExpression, and SimpleForStatement regarding shorthand variable updating.
@AngeloD2022 AngeloD2022 requested a review from psyirius May 24, 2023 04:30
@AngeloD2022 AngeloD2022 added the enhancement New feature or request label May 24, 2023
@AngeloD2022 AngeloD2022 linked an issue May 24, 2023 that may be closed by this pull request
@AngeloD2022
Copy link
Owner Author

Tested this with a larger file and it seems to work properly.

@AngeloD2022 AngeloD2022 merged commit 6ea405f into development Jun 5, 2023
@AngeloD2022 AngeloD2022 mentioned this pull request Jun 5, 2023
@AngeloD2022 AngeloD2022 deleted the shorthand-update-simplify branch May 5, 2024 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update expressions are often not in simplest form.
1 participant