danielbinder / LogiVis

A teaching aid for concepts and algorithms in logic
MIT License
2 stars 0 forks source link

Create Lexer safe point #33

Closed danielbinder closed 8 months ago

danielbinder commented 8 months ago

Create Lexer safe point, so illegal tokens, that only contain legal characters throw the error at the safe point. The safe point gets reset once a legal token is created. If EOF is reached while the safepoint is not reset, an error is thrown with the safe point position.