Skip to content

lexy::dsl::error(rule) cannot compile if the rule has a scanner that needs a parse state #211

@Spartan322

Description

@Spartan322

This is the result of token::tp::try_parse never being passed the parse state, so it could be a wider issue of token specifically not supporting parse state and more that error just doesn't pass the parse state, however since my issue is focused on error, it can be more particularly solved by allowing error to pass the parse state to the token's match action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions