align debug output on java

This commit is contained in:
Eric Vergnaud 2021-02-13 15:09:52 +08:00
parent 586721462c
commit 26291a11d8
1 changed files with 1 additions and 1 deletions

View File

@ -712,7 +712,7 @@ class ParserATNSimulator extends ATNSimulator {
// First figure out where we can reach on input t
for (let i=0; i<closure.items.length;i++) {
const c = closure.items[i];
if(this.debug_add) {
if(this.debug) {
console.log("testing " + this.getTokenName(t) + " at " + c);
}
if (c.state instanceof RuleStopState) {