Remove -Xverbose-dfa option. Fixes antlr/antlr4#92

This commit is contained in:
Terence Parr 2012-12-02 10:31:58 -08:00
parent 346da8b863
commit 84306fa385
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,9 @@
ANTLR v4 Honey Badger
December 2, 2012
* Remove -Xverbose-dfa option
December 1, 2012
* escape [\n\r\t] in lexical error messages; e.g,:

View File

@ -124,7 +124,6 @@ public class Tool {
public boolean launch_ST_inspector = false;
public boolean force_atn = false;
public boolean log = false;
public boolean verbose_dfa = false;
public boolean gen_listener = true;
public boolean gen_visitor = false;
public boolean gen_dependencies = false;
@ -149,7 +148,6 @@ public class Tool {
new Option("launch_ST_inspector", "-XdbgST", "launch StringTemplate visualizer on generated code"),
new Option("force_atn", "-Xforce-atn", "use the ATN simulator for all predictions"),
new Option("log", "-Xlog", "dump lots of logging info to antlr-timestamp.log"),
new Option("verbose_dfa", "-Xverbose-dfa", "add config set to DFA states"),
};
// helper vars for option management

View File

@ -141,7 +141,7 @@ public class DOTGenerator {
if ( s.requiresFullContext) {
buf.append("^");
}
if ( grammar!=null && grammar.tool.verbose_dfa ) {
if ( grammar!=null ) {
Set<Integer> alts = s.getAltSet();
if ( alts!=null ) {
buf.append("\\n");