Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] char [] ZZ_CMAP is incorrect [sf#79] #81

Closed
lsf37 opened this issue Feb 15, 2015 · 7 comments
Closed

[Bug] char [] ZZ_CMAP is incorrect [sf#79] #81

lsf37 opened this issue Feb 15, 2015 · 7 comments
Labels
bug Not working as intended

Comments

@lsf37
Copy link
Member

lsf37 commented Feb 15, 2015

Reported by zhangxw0325 on 2006-06-01 08:58 UTC
codegen is incorrect:
/**

  • Translates characters to character classes
    */
    private static final char [] ZZ_CMAP = {
    0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0,
    0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0,
    4, 6, 0, 0, 31, 0, 0, 2, 38, 38, 0, 0,
    0, 0, 35, 0,
    0, 7, 5, 8, 0, 0, 13, 33, 26, 15, 33, 29,
    33, 27, 30, 33,
    33, 33, 25, 14, 18, 33, 33, 19, 33, 21, 33, 33,
    33, 33, 33, 33,
    0, 3, 0, 0, 32, 0, 11, 33, 23, 12, 33, 28,
    33, 24, 9, 33,
    33, 33, 22, 10, 16, 33, 33, 17, 33, 20, 33, 33,
    33, 33, 33, 33,
    36, 0, 37, 0, 0 0, 0, 0, 0, 0, 0, 0, 0,
    0, 1, 1,
    };

Yylex.java:34: '}' expected
36, 0, 37, 0, 0 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 1,
^

@lsf37 lsf37 changed the title char [] ZZ_CMAP is incorrect [Bug] char [] ZZ_CMAP is incorrect [sf#79] Feb 15, 2015
@lsf37 lsf37 added this to the jflex bug milestone Feb 15, 2015
@lsf37 lsf37 closed this as completed Feb 15, 2015
@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Commented by zhangxw0325 on 2006-06-01 08:58 UTC

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Commented by lsf37 on 2006-06-02 04:50 UTC
Logged In: YES
user_id=93534

Thanks for the report, that should definitely not happen.
Could you post or send me privately the jflex
specification file that exhibits this behaviour?

Cheers,
Gerwin

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Updated by lsf37 on 2006-06-02 04:50 UTC

  • priority: 5 --> 7

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Commented by lsf37 on 2007-11-03 09:43 UTC
Logged In: YES
user_id=93534
Originator: NO

Fixed in svn revision 266.

Workaround: use the %unicode switch.

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Commented by zhangxw0325 on 2006-06-01 08:58 UTC

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Updated by lsf37 on 2007-11-03 09:43 UTC

  • status: open --> open-fixed

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Updated by lsf37 on 2008-05-27 11:46 UTC

  • status: open-fixed --> closed

@lsf37 lsf37 added the bug Not working as intended label Feb 17, 2015
@lsf37 lsf37 modified the milestone: jflex bug Feb 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Projects
None yet
Development

No branches or pull requests

1 participant