Skip to content

fix: preserve brackets around functions #159

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

Merged
merged 1 commit into from
Jan 10, 2022
Merged

fix: preserve brackets around functions #159

merged 1 commit into from
Jan 10, 2022

Conversation

ludofischer
Copy link
Collaborator

Modify the parser to track parenthesized expressions.
Keep the parentheses if a function is inside.

Fix #113
Fix #115

I think the top comment in #115 was already working in 8.2; I've added a test to make sure.

Modify the parser to track parenthesized expressions.
Keep the parentheses if a function is inside.

Fix #113
Fix #115
@ludofischer ludofischer changed the title fix: preserve brackets around var fix: preserve brackets around functions Jan 10, 2022
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.

Operator precedence is not preserved Problem with removed parenthesis from calc before var
2 participants