BatfishParserATNSimulator: preserve prediction mode
This has performance and possibly correctness implications.
@@ -21,6 +21,7 @@ public class BatfishParserATNSimulator extends ParserATNSimulator {
*/
public BatfishParserATNSimulator(ParserATNSimulator parent) {
super(parent.getParser(), parent.atn, parent.decisionToDFA, parent.getSharedContextCache());
+ this.setPredictionMode(parent.getPredictionMode());
_parser = (BatfishParser) parser;
}
