Don't generate interpreter data files if gencode is false

This commit is contained in:
Joseph Smith 2018-04-26 13:06:04 -05:00
parent 7e89f26e9b
commit 2daa261772
1 changed files with 1 additions and 1 deletions

View File

@ -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);