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

wrong x-1 parsing precedence, whitespace #75

Open
rurban opened this issue Nov 18, 2014 · 0 comments
Open

wrong x-1 parsing precedence, whitespace #75

rurban opened this issue Nov 18, 2014 · 0 comments
Assignees

Comments

@rurban
Copy link
Member

rurban commented Nov 18, 2014

n-1 => (expr (msg ("n" value (-1) nil))
n -1 => (expr (msg ("n" value (-1) nil))
n - 1 => (minus (expr (msg ("n")) expr (value (1)))

but the arithmetic minus should be preferred over the generic call with the given value.

@rurban rurban self-assigned this Nov 18, 2014
rurban pushed a commit that referenced this issue Dec 26, 2014
robotii added a commit to robotii/potion that referenced this issue Oct 29, 2015
# wrong x-1 parsing precedence, whitespace perl11#75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant