Skip to content

Add more information in TokType #9

@onehr

Description

@onehr

Should add more information in lexer::TokType, it's useful to track the token position in file when the compiler fails to compile the source code, I think file name, line number, character position should be enough. And should print them in a more elegent way in parser error message.

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