mirror of
https://github.com/processing/processing4.git
synced 2026-01-27 10:21:26 +01:00
add an additional warning to be suppressed
This commit is contained in:
@@ -44,14 +44,15 @@
|
||||
</antlr>
|
||||
|
||||
<!-- clean up the warning mess caused by this old antlr version -->
|
||||
<property name="uuc" value="@SuppressWarnings({ "unused", "unchecked", "cast" })${line.separator}" />
|
||||
<!--<property name="uuc" value="@SuppressWarnings({ "unused", "unchecked", "cast" })${line.separator}" />-->
|
||||
<property name="uucr" value="@SuppressWarnings({ "unused", "unchecked", "cast", "rawtypes" })${line.separator}" />
|
||||
<property name="uc" value="@SuppressWarnings({ "unused", "cast" })${line.separator}" />
|
||||
|
||||
<!-- need to match against the previous line so that we don't re-add -->
|
||||
<replaceregexp
|
||||
file="generated/processing/mode/java/preproc/JavaLexer.java"
|
||||
match="(\n\n)(public class JavaLexer .*)"
|
||||
replace="\1${uuc}\2">
|
||||
replace="\1${uucr}\2">
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp
|
||||
@@ -63,7 +64,7 @@
|
||||
<replaceregexp
|
||||
file="generated/processing/mode/java/preproc/PdeLexer.java"
|
||||
match="(\n\n)(public class PdeLexer .*)"
|
||||
replace="\1${uuc}\2">
|
||||
replace="\1${uucr}\2">
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp
|
||||
|
||||
Reference in New Issue
Block a user