Skip to content

Improve parse error reporting #57

@mjs

Description

@mjs

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.


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions