gravity
gravity copied to clipboard
Fix Windows Line Number
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.