summaryrefslogtreecommitdiff
path: root/vendor/github.com/antlr4-go/antlr/v4/parser_atn_simulator.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/antlr4-go/antlr/v4/parser_atn_simulator.go')
-rw-r--r--vendor/github.com/antlr4-go/antlr/v4/parser_atn_simulator.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/github.com/antlr4-go/antlr/v4/parser_atn_simulator.go b/vendor/github.com/antlr4-go/antlr/v4/parser_atn_simulator.go
index 724fa17..ae28696 100644
--- a/vendor/github.com/antlr4-go/antlr/v4/parser_atn_simulator.go
+++ b/vendor/github.com/antlr4-go/antlr/v4/parser_atn_simulator.go
@@ -10,6 +10,8 @@ import (
"strings"
)
+var ()
+
// ClosureBusy is a store of ATNConfigs and is a tiny abstraction layer over
// a standard JStore so that we can use Lazy instantiation of the JStore, mostly
// to avoid polluting the stats module with a ton of JStore instances with nothing in them.
@@ -881,7 +883,7 @@ func (p *ParserATNSimulator) getPredicatePredictions(ambigAlts *BitSet, altToPre
// the ERROR state was reached, outerContext as the initial parser context from the paper
// or the parser stack at the instant before prediction commences.
//
-// The func returns the value to return from [AdaptivePredict], or
+// Teh func returns the value to return from [AdaptivePredict], or
// [ATNInvalidAltNumber] if a suitable alternative was not
// identified and [AdaptivePredict] should report an error instead.
func (p *ParserATNSimulator) getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(configs *ATNConfigSet, outerContext ParserRuleContext) int {