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

Operator precedence issue between * and + #3

Closed
nishkum opened this issue Jul 12, 2019 · 0 comments
Closed

Operator precedence issue between * and + #3

nishkum opened this issue Jul 12, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nishkum
Copy link
Contributor

nishkum commented Jul 12, 2019

1 + 2*3 is currently parsed as (1+2)*3. This should instead be parsed as 1 + (2*3).
Fix needed in setting operator precedence in parser.mly. Need to discuss before implementing.

@mayank0403 mayank0403 added the enhancement New feature or request label Sep 27, 2019
@nishkum nishkum assigned nishkum and unassigned nishkum Feb 21, 2020
@drunkenlegend drunkenlegend self-assigned this Apr 19, 2022
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

No branches or pull requests

3 participants