jflex icon indicating copy to clipboard operation
jflex copied to clipboard

add option to treat warnings as errors

Open vladak opened this issue 8 months ago • 1 comments

To catch problems early on, it would be handy to have an option to treat warnings as errors, similarly to the -Werror used by the C compilers.

An example of one such warning would be:

Unicode escape sequence is too long. Use \u{...} to disambiguate.
UnicodeIdentifier = [a-zA-Z_\u007F-\u10FFFF] [a-zA-Z0-9_\u007F-\uFFFF]*
                                         ^

Plus the corresponding JFlex Maven plugin option.

vladak avatar Mar 07 '25 09:03 vladak

That's a good idea.

lsf37 avatar Mar 07 '25 10:03 lsf37