We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c2cad5 commit 6230c89Copy full SHA for 6230c89
acorn/src/tokencontext.js
@@ -79,7 +79,8 @@ pp.updateContext = function(prevType) {
79
this.exprAllowed = type.beforeExpr
80
}
81
82
-// Used to handle egde case when token context could not be inferred correctly in tokenize phase
+// Used to handle egde cases when token context could not be inferred correctly during tokenization phase
83
+
84
pp.overrideContext = function(tokenCtx) {
85
if (this.curContext() !== tokenCtx) {
86
this.context[this.context.length - 1] = tokenCtx
0 commit comments