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

Feature Request: Show the line number of the incorrect statement along with the compiler error. #248

Open
f1ypopper opened this issue Mar 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@f1ypopper
Copy link

Is your feature request related to a problem? Please describe.

Right now the compiler/parser only shows the error and doesn't show the specific line number.This can make the parser errors much more verbose.

Describe the solution you'd like.

Add a line field to the token class which is tracked and incremented in the scanner. The line number can be shown be shown along with the parser error.

Describe alternatives you've considered

No response

Additional context.

No response

@f1ypopper f1ypopper added the enhancement New feature or request label Mar 23, 2022
@f1ypopper
Copy link
Author

I can work on this issue.

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

1 participant