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

Add macro todo_pos! used in lexer to print input file line number. #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

errael
Copy link

@errael errael commented Aug 30, 2024

This helps pinpoint the input source line that is causing problems in the lexer.
Without something like this, there is no indication of the problem line.

Example that points to line 68.

thread 'main' panicked at 'not yet implemented: Ok(67,9): '\u{1b}'',
crates/vim9-lexer/src/lib.rs:824:39

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.

1 participant