imapclient icon indicating copy to clipboard operation
imapclient copied to clipboard

Improve parse error reporting

Open mjs opened this issue 15 years ago • 0 comments

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.


  • Bitbucket: https://bitbucket.org/mjs0/imapclient/issue/60

mjs avatar Nov 06 '10 18:11 mjs