Menu ▾ ▴

#127 JFlex fails to detect a user-supplied class comment when class-level annotations intervene (e.g. @Deprecated)

jflex bug
closed-fixed
None
5
2014-03-23
2014-03-22
Steve Rowe
No

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.

Discussion

  • Steve Rowe

    Steve Rowe - 2014-03-23

    I committed a fix in r811.

     
  • Steve Rowe

    Steve Rowe - 2014-03-23
    • status: open --> closed-fixed