Skip to content

Case insensitive lexer not working #583

Description

@Arcnor

Hi,

First of all, thanks for the very useful library!

I've tried to create a simple lexer using the GenericLexer and having [Lexer(KeyWordIgnoreCase = true)] but it doesn't seem to work. I've quickly checked the code, and it seems the special string comparison function that gets set when this variable is set seems to only be used on AddLexeme when genericToken is of type Identifier (but we're expecting that to be used on KeyWords instead?)

In any case, let me know if you need more info, but the issue seems simple enough.

Thanks again!

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