From 0cac3e6fa024ffad21a45fff067df56df5d427fe Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 3 Feb 2025 06:32:19 +0100 Subject: TWEAK: Rename TK_ to LC_ Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc') 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: { -- cgit v1.2.3