gravity icon indicating copy to clipboard operation
gravity copied to clipboard

Fix Windows Line Number

Open mwasplund opened this issue 2 years ago • 0 comments

fixes #389

The lexer was incorrectly peeking at the current character when seeing if a carriage return also has a trailing line feed. Updated to use peek next to correctly skip over the LF.

Also added a script to run unit tests. These tests pass with and without my change, so I wonder if there is a way to verify the exact line information in the error code.

mwasplund avatar Dec 27 '22 05:12 mwasplund