Skip to content

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

Open
errael wants to merge 1 commit intotjdevries:masterfrom
errael:LexPos
Open

Add macro todo_pos! used in lexer to print input file line number.#42
errael wants to merge 1 commit intotjdevries:masterfrom
errael:LexPos

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