Skip to content

compile error: multi-character literals are not allowed in lexer sets #69

Closed
@hlolli

Description

@hlolli

From this line

fragment ID_NAME : ('a'..'z'|'A'..'Z'|'α'..'ω'|'Α'..'Ω'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'α'..'ω'|'Α'..'Ω'|'_'|'.')* ;
I get multi-character literals are not allowed in lexer sets: '??' when compiling fastr 1.0.0-rc15. I fixed it with a sed operation where I delete "'α'..'ω'|'Α'..'Ω'|". I don't have the exact line:column anymore after my fix, but it was pointing at these greek letters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions