Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug] %caseless does not work in jflex 1.6.0 ? [sf#129] #130

@lsf37

Description

@lsf37

Reported by evgen-i on 2014-07-30 10:07 UTC
It seems like %caseless is not working the way it should in jflex 1.6.0:

%class XxxTokenizer
%unicode
%function next
%type Object
%char
%caseless

...

/** the first rule: **/
c[+][+] { return getNext(); }

This rule matches c++ (keeps it as one token), but not C++ (it gets split into C + +). Until version 1.5.1, C++ was also matched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions