Open dantleech opened 5 years ago
:wave: The lexer always reports Line 1 when it encounters an unrecognized token:
https://github.com/hoaproject/Compiler/blob/master/Llk/Lexer.php#L151
This is particularly problematic as it the file being parsed has 100s of lines. Guess this is also related to #97
I will work on this. Thanks for the issue!
@dantleech Did not spot this issue early, I've created a duplicate in #111 - find corresponding change and new result there
:wave: The lexer always reports Line 1 when it encounters an unrecognized token:
https://github.com/hoaproject/Compiler/blob/master/Llk/Lexer.php#L151
This is particularly problematic as it the file being parsed has 100s of lines. Guess this is also related to #97