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

fix: move tokenLineNumber increment to inside the EOF if #1

Merged
merged 1 commit into from
Jul 5, 2023
Merged

fix: move tokenLineNumber increment to inside the EOF if #1

merged 1 commit into from
Jul 5, 2023

Conversation

Luisgustavom1
Copy link
Contributor

The problem:

./livescheme examples/bad_parse_missing_closing_paren.scm 
Expected closing paren [at line 3, column 1 in file examples/bad_parse_missing_closing_paren.scm]

The token line count is wrong, the error message is being reporting on line 3, but the missing parentheses is on line 2

@eatonphil
Copy link
Owner

Good catch! Thanks!

@eatonphil eatonphil merged commit 87e8426 into eatonphil:main Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants