Lines 76-82
Link Here
|
76 |
<include name="libs.antlr3.devel/external/binaries-list"/> |
76 |
<include name="libs.antlr3.devel/external/binaries-list"/> |
77 |
</manifest> |
77 |
</manifest> |
78 |
</downloadbinaries> |
78 |
</downloadbinaries> |
79 |
<property name="antlr3.jar" location="${nb_all}/libs.antlr3.devel/external/antlr-3.3.jar"/> |
79 |
<property name="antlr3.jar" location="${nb_all}/libs.antlr3.devel/external/antlr-3.4.jar"/> |
80 |
<property name="antlr3.evaluator.grammar.dir" location="src/org/netbeans/modules/cnd/modelimpl/impl/services/evaluator/parser"/> |
80 |
<property name="antlr3.evaluator.grammar.dir" location="src/org/netbeans/modules/cnd/modelimpl/impl/services/evaluator/parser"/> |
81 |
|
81 |
|
82 |
<!-- New C++ Parser --> |
82 |
<!-- New C++ Parser --> |
Lines 172-183
Link Here
|
172 |
</java> |
172 |
</java> |
173 |
|
173 |
|
174 |
<replaceregexp file="${antlr.output.dir}/FortranParser.java" |
174 |
<replaceregexp file="${antlr.output.dir}/FortranParser.java" |
175 |
match='^public class FortranParser (.*)' |
175 |
match='^@SuppressWarnings.*' |
176 |
replace='@SuppressWarnings({"unchecked", "cast", "fallthrough"}) public class FortranParser \1' |
176 |
replace='@SuppressWarnings({"all", "warnings", "unchecked", "cast", "fallthrough"})' |
177 |
flags="mg" /> |
177 |
flags="mg" /> |
178 |
<replaceregexp file="${antlr.output.dir}/FortranParser_FortranParser2.java" |
178 |
<replaceregexp file="${antlr.output.dir}/FortranParser_FortranParser2.java" |
179 |
match='^public class FortranParser_FortranParser2 (.*)' |
179 |
match='^@SuppressWarnings.*' |
180 |
replace='@SuppressWarnings({"unchecked", "cast", "fallthrough"}) public class FortranParser_FortranParser2 \1' |
180 |
replace='@SuppressWarnings({"all", "warnings", "unchecked", "cast", "fallthrough"})' |
181 |
flags="mg" /> |
181 |
flags="mg" /> |
182 |
|
182 |
|
183 |
<!-- CXX Parser --> |
183 |
<!-- CXX Parser --> |
Lines 195-202
Link Here
|
195 |
</java> |
195 |
</java> |
196 |
|
196 |
|
197 |
<replaceregexp file="${antlr3.cppparser.output.dir}/CXXParser.java" |
197 |
<replaceregexp file="${antlr3.cppparser.output.dir}/CXXParser.java" |
198 |
match='^public class CXXParser (.*)' |
198 |
match='^@SuppressWarnings.*' |
199 |
replace='@SuppressWarnings({"unchecked", "cast", "fallthrough"}) public class CXXParser \1' |
199 |
replace='@SuppressWarnings({"all", "warnings", "unchecked", "cast", "fallthrough"})' |
200 |
flags="mg" /> |
200 |
flags="mg" /> |
201 |
|
201 |
|
202 |
|
202 |
|
Lines 215-222
Link Here
|
215 |
</java> |
215 |
</java> |
216 |
|
216 |
|
217 |
<replaceregexp file="${antlr3.evaluator.output.dir}/EvaluatorParser.java" |
217 |
<replaceregexp file="${antlr3.evaluator.output.dir}/EvaluatorParser.java" |
218 |
match='^public class EvaluatorParser (.*)' |
218 |
match='^@SuppressWarnings.*' |
219 |
replace='@SuppressWarnings({"unchecked", "cast", "fallthrough"}) public class EvaluatorParser \1' |
219 |
replace='@SuppressWarnings({"all", "warnings", "unchecked", "cast", "fallthrough"})' |
220 |
flags="mg" /> |
220 |
flags="mg" /> |
221 |
|
221 |
|
222 |
<delete file="${antlr3.evaluator.output.dir}/EvaluatorLexer.java" /> |
222 |
<delete file="${antlr3.evaluator.output.dir}/EvaluatorLexer.java" /> |