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

Comments

Projects
None yet
1 participant
@lsf37
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 from char [] ZZ_CMAP is incorrect to [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 Feb 15, 2015

@lsf37

This comment has been minimized.

Show comment
Hide comment
@lsf37

lsf37 Feb 15, 2015

Member

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

Member

lsf37 commented Feb 15, 2015

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

@lsf37

This comment has been minimized.

Show comment
Hide comment
@lsf37

lsf37 Feb 15, 2015

Member

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

Member

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

This comment has been minimized.

Show comment
Hide comment
@lsf37

lsf37 Feb 15, 2015

Member

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

  • priority: 5 --> 7
Member

lsf37 commented Feb 15, 2015

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

  • priority: 5 --> 7
@lsf37

This comment has been minimized.

Show comment
Hide comment
@lsf37

lsf37 Feb 15, 2015

Member

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.

Member

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

This comment has been minimized.

Show comment
Hide comment
@lsf37

lsf37 Feb 15, 2015

Member

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

Member

lsf37 commented Feb 15, 2015

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

@lsf37

This comment has been minimized.

Show comment
Hide comment
@lsf37

lsf37 Feb 15, 2015

Member

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

  • status: open --> open-fixed
Member

lsf37 commented Feb 15, 2015

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

  • status: open --> open-fixed
@lsf37

This comment has been minimized.

Show comment
Hide comment
@lsf37

lsf37 Feb 15, 2015

Member

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

  • status: open-fixed --> closed
Member

lsf37 commented Feb 15, 2015

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

  • status: open-fixed --> closed

@lsf37 lsf37 added the bug 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