From 8bca4b7ec6aa28ef6fbc894d1f358468bcc4b321 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Tue, 6 Feb 2024 18:20:38 -0500 Subject: [PATCH] Include Map Header On C++ --- src/index.ts | 3 ++- syntax-highlighting/ksyntaxhighlighting.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 000765f..5ef2ec9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -176,6 +176,7 @@ function makeMainHeader(output: string) { result += '#include \n'; result += '#include \n'; result += '#include \n'; + result += '#include \n'; result += 'extern "C" {\n\n'; result += makeHeaderPart(true); result += '\n// End C++ Mode\n'; @@ -229,4 +230,4 @@ function makeCompiledCode(output: string) { result += declarations; fs.writeFileSync(output, result); } -makeCompiledCode(sourceOutput); \ No newline at end of file +makeCompiledCode(sourceOutput); diff --git a/syntax-highlighting/ksyntaxhighlighting.xml b/syntax-highlighting/ksyntaxhighlighting.xml index b355ed4..7a9d8ed 100644 --- a/syntax-highlighting/ksyntaxhighlighting.xml +++ b/syntax-highlighting/ksyntaxhighlighting.xml @@ -26,6 +26,7 @@ void std::string std::vector + std::map