From 60dbcd1f2a81a935cb49c2779de72e3d98567585 Mon Sep 17 00:00:00 2001 From: Mike Lischke Date: Fri, 1 Sep 2023 17:04:02 +0200 Subject: [PATCH] Fixed wrong position of text in stg. Signed-off-by: Mike Lischke --- .../v4/tool/templates/codegen/TypeScript/TypeScript.stg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 203eabf573..a49446e2f4 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 @@ -31,14 +31,14 @@ import Listener from "./Listener.js"; import Visitor from "./Visitor.js"; - - ->> - // for running tests with parameters, TODO: discuss strategy for typed parameters in CI // eslint-disable-next-line no-unused-vars type int = number; + + +>> + ListenerFile(file, header, namedActions) ::= <<