diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-02-03 06:32:19 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-02-03 06:32:19 +0100 |
| commit | 0cac3e6fa024ffad21a45fff067df56df5d427fe (patch) | |
| tree | 4a61d241b2bedddab046e004ec867cd3ae2700d3 /dev/LibCompiler/src | |
| parent | 15fe85002f0377c3a4b1ff6b7d50f42033184713 (diff) | |
TWEAK: Rename TK_ to LC_
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibCompiler/src')
| -rw-r--r-- | dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 4 |
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: { |
