-
Notifications
You must be signed in to change notification settings - Fork 91
Improve parse error reporting #57
Copy link
Copy link
Open
Labels
Milestone
Description
Originally reported by: Menno Smits (Bitbucket: mjs0)
When a parse error occurs, the characters preceding the token causing the error are printed. These characters are reconstructed from recent tokens. It might be better to have the lexer keep a list of the actual recent characters seen (deque?) and use that for error reporting.
Reactions are currently unavailable