From 03e1b915840ff339ec71a890ae4f72badf43c73f Mon Sep 17 00:00:00 2001 From: "E.O. Stinson" Date: Fri, 29 Jan 2021 16:11:51 -0800 Subject: [PATCH] Fix lint warning in generated parser This previously generated a lint warning for the eqeqeq rule. --- .../antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg b/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg index aded57fc..6349c16b 100644 --- a/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg +++ b/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg @@ -860,7 +860,7 @@ _prevctx = _localctx; >> recRuleSetPrevCtx() ::= << -if (this._parseListeners != null) { +if (this._parseListeners !== null) { this.triggerExitRuleEvent(); } _prevctx = _localctx;