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

PrefixExpression off-by-one in the range of IndexExpressions #48

Closed
trixnz opened this issue Mar 18, 2017 · 1 comment
Closed

PrefixExpression off-by-one in the range of IndexExpressions #48

trixnz opened this issue Mar 18, 2017 · 1 comment
Labels
incorrect parsing Valid Lua code fails to parse, is parsed incorrectly, or invalid Lua code is accepted

Comments

@trixnz
Copy link

trixnz commented Mar 18, 2017

parsePrefixExpression is returning IndexExpressions with a range ending one character before the actual end of the expression. I suspect this is because the node is finished before consuming the closing ].

@fstirlitz
Copy link
Owner

Fixed by a1114d3, thank you.

@fstirlitz fstirlitz added the incorrect parsing Valid Lua code fails to parse, is parsed incorrectly, or invalid Lua code is accepted label Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incorrect parsing Valid Lua code fails to parse, is parsed incorrectly, or invalid Lua code is accepted
Projects
None yet
Development

No branches or pull requests

2 participants