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

incorrect line and line number for syntax error #277

Open
kmafeni04 opened this issue Nov 4, 2024 · 0 comments
Open

incorrect line and line number for syntax error #277

kmafeni04 opened this issue Nov 4, 2024 · 0 comments
Labels

Comments

@kmafeni04
Copy link

kmafeni04 commented Nov 4, 2024

Bug description

Incorrect line and line number for syntax error

nelua test.nelua
test.nelua:2:0: syntax error: unclosed parenthesis, did you forget a `)`?

^

Code example

print(

Expected behavior

nelua test.nelua
test.nelua:1:6: syntax error: unclosed parenthesis, did you forget a `)`?

^

Workaround

If you have already found a way to workaround the issue,
then please share how you did it,
this may help others with the same issue.

Environment

Nelua 0.2.0-dev
Arch Linux
x86_64
gcc

@kmafeni04 kmafeni04 added the bug label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant