File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
jflex/src/main/java/jflex Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://errorprone.info/
2
+ # TODO(#222) Increase to error when we build from jflex-1.7.1 with a lexer annotated with
3
+ # @SuppressWarnings
4
+ build --javacopt "-Xep:FallThrough:WARN"
Original file line number Diff line number Diff line change
1
+ import %workspace%/.bazelrc
2
+
1
3
# This is from Bazel's former travis setup, to avoid blowing up the RAM usage.
2
4
startup --host_jvm_args=-Xms2000m
3
5
startup --host_jvm_args=-Xmx3000m
Original file line number Diff line number Diff line change @@ -434,6 +434,9 @@ private void emitUserCode() {
434
434
}
435
435
436
436
private void emitClassName () {
437
+ // TODO(#222) Actually fix the fall-through violations
438
+ println ("// See https://github.com/jflex-de/jflex/issues/222" );
439
+ println ("@SuppressWarnings(\" FallThrough\" )" );
437
440
if (scanner .isPublic ) print ("public " );
438
441
439
442
if (scanner .isAbstract ) print ("abstract " );
You can’t perform that action at this time.
0 commit comments