Don't generate interpreter data files if gencode is false
This commit is contained in:
parent
7e89f26e9b
commit
2daa261772
|
@ -397,7 +397,7 @@ public class Tool {
|
||||||
|
|
||||||
if ( generate_ATN_dot ) generateATNs(g);
|
if ( generate_ATN_dot ) generateATNs(g);
|
||||||
|
|
||||||
if ( g.tool.getNumErrors()==0 ) generateInterpreterData(g);
|
if (gencode && g.tool.getNumErrors()==0 ) generateInterpreterData(g);
|
||||||
|
|
||||||
// PERFORM GRAMMAR ANALYSIS ON ATN: BUILD DECISION DFAs
|
// PERFORM GRAMMAR ANALYSIS ON ATN: BUILD DECISION DFAs
|
||||||
AnalysisPipeline anal = new AnalysisPipeline(g);
|
AnalysisPipeline anal = new AnalysisPipeline(g);
|
||||||
|
|
Loading…
Reference in New Issue