Skip to content

Parser: extend spans during Pratt parsing for better error reports. #42

@Alonely0

Description

@Alonely0

This is currently done only in some places; the idea is to keep an "anchor" of where the subexpression's span starts, and when reporting an error, to replace the problematic token's span start with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions