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

[Feature] Compiler warnings [sf#9] #144

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

[Feature] Compiler warnings [sf#9] #144

lsf37 opened this issue Feb 15, 2015 · 3 comments
Assignees
Labels
enhancement Feature requests

Comments

@lsf37
Copy link
Member

lsf37 commented Feb 15, 2015

*Reported by anonymous on 2003-07-28 05:27 UTC
Eclipse has the ability to generate compiler warnings
when private variables or method parameters are
unused. I get these warnings with my JFlex-generated
classes:

The private field HTMLLexer.YY_ILLEGAL_STATE is never
used locally

The private method HTMLLexer.yypushback(int) is never
used locally

The local variable yy_startRead_I is never used

I like to turn these warnings on because it sometimes
shows me errors in my code. It would be nice not to see
them in the JFlex-generated code because it would
reduce the number of warnings I have to sort through
manually.

@lsf37 lsf37 changed the title Compiler warnings [Feature] Compiler warnings [sf#9] Feb 15, 2015
@lsf37 lsf37 closed this as completed Feb 15, 2015
@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Commented by lsf37 on 2003-08-21 10:46 UTC
Logged In: YES
user_id=93534

Thanks for the suggestion, I'll do something about it in
the next (pre)release.

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Updated by lsf37 on 2003-08-21 10:46 UTC

  • labels: --> generator
  • priority: 5 --> 3
  • assigned_to: nobody --> lsf37

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Updated by lsf37 on 2004-04-12 12:30 UTC

  • status: open --> closed

@regisd regisd added the enhancement Feature requests label Nov 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests
Projects
None yet
Development

No branches or pull requests

2 participants