summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/src
diff options
context:
space:
mode:
Diffstat (limited to 'dev/LibCompiler/src')
-rw-r--r--dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
index 3f9a042..af0f0c6 100644
--- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
+++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
@@ -411,7 +411,7 @@ bool CompilerFrontendCPlusPlus::Compile(const std::string text,
fnName = text.substr(indexFnName);
if (text.ends_with(";"))
- goto tk_write_assembly;
+ goto LC_write_assembly;
else if (text.size() <= indexFnName)
Detail::print_error("Invalid function name: " + fnName, file);
@@ -437,7 +437,7 @@ bool CompilerFrontendCPlusPlus::Compile(const std::string text,
break;
- tk_write_assembly:
+ LC_write_assembly:
syntax_tree.fUserValue = "jmp __LIBCOMPILER_" + fnName + "\n";
}
case LibCompiler::KeywordKind::kKeywordKindFunctionEnd: {