Remove the message format option (eventually it should just use one that works with Maven)
This commit is contained in:
parent
3664f18ff4
commit
7b321f80cb
|
@ -84,13 +84,6 @@ public class Antlr4Mojo extends AbstractMojo {
|
||||||
*/
|
*/
|
||||||
@Parameter(defaultValue = "false")
|
@Parameter(defaultValue = "false")
|
||||||
protected boolean atn;
|
protected boolean atn;
|
||||||
/**
|
|
||||||
* If this parameter is set, it indicates that any warning or error messages returned
|
|
||||||
* by ANLTR, shoould be formatted in the specified way. Currently, ANTLR suports the
|
|
||||||
* built-in formats of antlr, gnu and vs2005.
|
|
||||||
*/
|
|
||||||
@Parameter(defaultValue = "antlr")
|
|
||||||
protected String messageFormat;
|
|
||||||
|
|
||||||
protected boolean verbose_dfa;
|
protected boolean verbose_dfa;
|
||||||
|
|
||||||
|
@ -286,10 +279,6 @@ public class Antlr4Mojo extends AbstractMojo {
|
||||||
if (verbose_dfa) {
|
if (verbose_dfa) {
|
||||||
args.add("-Xverbose-dfa");
|
args.add("-Xverbose-dfa");
|
||||||
}
|
}
|
||||||
if (messageFormat != null && !"".equals(messageFormat)) {
|
|
||||||
args.add("-message-format");
|
|
||||||
args.add(messageFormat);
|
|
||||||
}
|
|
||||||
if (force_atn) {
|
if (force_atn) {
|
||||||
args.add("-Xforce-atn");
|
args.add("-Xforce-atn");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue