diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-04 11:59:27 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-04 12:00:07 +0100 |
| commit | 6171a0adfacdc5834f2fc2a9d885ba3ef3cc15d8 (patch) | |
| tree | 5ee9aaa0c073b7929ff799f81f230cd9e98b453b /CompilerDriver | |
| parent | 4a6ac884b50b7103b41a39800d16ef785e365245 (diff) | |
tools: working on compiler installer.
mpcc: output .64x for 64x0 assembly.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerDriver')
| -rw-r--r-- | CompilerDriver/cc.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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<detail::CompilerType> kCompilerVariables; static std::vector<std::string> kCompilerFunctions; static std::vector<detail::CompilerType> 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 { |
