From 6171a0adfacdc5834f2fc2a9d885ba3ef3cc15d8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 4 Jan 2024 11:59:27 +0100 Subject: tools: working on compiler installer. mpcc: output .64x for 64x0 assembly. Signed-off-by: Amlal El Mahrouss --- CompilerDriver/cc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CompilerDriver') diff --git a/CompilerDriver/cc.cc b/CompilerDriver/cc.cc index e908dc5..7d34875 100644 --- a/CompilerDriver/cc.cc +++ b/CompilerDriver/cc.cc @@ -156,7 +156,7 @@ static std::vector kCompilerVariables; static std::vector kCompilerFunctions; static std::vector kCompilerTypes; -// @brief this hook code before the begin/end command. +// @brief this hook code before the start/end command. static std::string kAddIfAnyBegin; static std::string kAddIfAnyEnd; static std::string kLatestVar; @@ -1291,7 +1291,7 @@ cc_next_loop: cc_next: - // extern doesnt declare anything, it imports a variable. + // extern does not declare anything, it imports a variable. // so that's why it's not declare upper. if (ParserKit::find_word(ln, "extern")) { @@ -1668,7 +1668,7 @@ public: if (auto err = kCompilerBackend->Check(line_src.c_str(), src.CData()); err.empty()) { - kCompilerBackend->Compile(line_src.c_str(), src.CData()); + kCompilerBackend->Compile(line_src, src.CData()); } else { -- cgit v1.2.3