diff --git a/tool/resources/org/antlr/v4/tool/templates/codegen/Cpp/Cpp.stg b/tool/resources/org/antlr/v4/tool/templates/codegen/Cpp/Cpp.stg index de692911e..239427dd6 100644 --- a/tool/resources/org/antlr/v4/tool/templates/codegen/Cpp/Cpp.stg +++ b/tool/resources/org/antlr/v4/tool/templates/codegen/Cpp/Cpp.stg @@ -950,13 +950,13 @@ TokenDecl(t) ::= "" TokenTypeDeclHeader(t) ::= "" TokenTypeDecl(t) ::= "ssize_t = 0;" -TokenListDeclHeader(t) ::= "std::vector\ " +TokenListDeclHeader(t) ::= "std::vector\ ;" TokenListDecl(t) ::= "" -RuleContextDeclHeader(r) ::= "Ref\<::> " +RuleContextDeclHeader(r) ::= "Ref\<::> ;" RuleContextDecl(r) ::= "" -RuleContextListDeclHeader(rdecl) ::= "std::vector\>> " +RuleContextListDeclHeader(rdecl) ::= "std::vector\>> ;" RuleContextListDecl(rdecl) ::= "" ContextTokenGetterDeclHeader(t) ::= "Ref\ ();"