Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Unrecognized Token in Lexer always reports Line 1? #98

@dantleech

Description

@dantleech

👋 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions