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] JFlex fails to detect a user-supplied class comment when class-level annotations intervene (e.g. @Deprecated) [sf#127] #128

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

Comments

@lsf37
Copy link
Member

lsf37 commented Feb 15, 2015

Reported by steve_rowe on 2014-03-22 20:35 UTC
JFlex auto-generates a class comment on the generated scanner when the user doesn’t supply one.

But when the user does supply a class comment, but follows it with a class-level annotation (e.g. @deprecated), JFlex fails to detect the user-supplied class comment, and auto-generates an additional class comment.

@lsf37 lsf37 changed the title JFlex fails to detect a user-supplied class comment when class-level annotations intervene (e.g. @Deprecated) [Bug] JFlex fails to detect a user-supplied class comment when class-level annotations intervene (e.g. @Deprecated) [sf#127] 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 lsf37 added bug Not working as intended and removed bug Not working as intended labels Feb 17, 2015
@lsf37 lsf37 modified the milestone: jflex bug Feb 17, 2015
@regisd regisd added this to the 1.6.0 milestone Nov 4, 2017
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

2 participants