summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/Utilities/Compiler.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-22 15:33:46 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-22 15:33:46 +0100
commit999dc83cac37efc109da4d562a8a75d1f6fc7c86 (patch)
treee240f01cb9a00f67e0b94a8e7d139c2b41b294ec /include/CompilerKit/Utilities/Compiler.h
parent7fd421a88005d9a3636284c7a15628111fdf41c3 (diff)
feat: CompilerKit: Refactor NECTI_ symbols to NECTAR_.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/Utilities/Compiler.h')
-rw-r--r--include/CompilerKit/Utilities/Compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/CompilerKit/Utilities/Compiler.h b/include/CompilerKit/Utilities/Compiler.h
index 7a79787..dd9dbfc 100644
--- a/include/CompilerKit/Utilities/Compiler.h
+++ b/include/CompilerKit/Utilities/Compiler.h
@@ -51,7 +51,7 @@ inline void print_error(STLString reason, STLString file) noexcept {
kStdErr << reason << kBlank << std::endl;
- if (kAcceptableErrors > kErrorLimit) std::exit(NECTI_EXEC_ERROR);
+ if (kAcceptableErrors > kErrorLimit) std::exit(NECTAR_EXEC_ERROR);
++kAcceptableErrors;
}
@@ -116,6 +116,6 @@ inline void drvi_crash_handler(std::int32_t id) {
std::cout << std::endl;
- std::exit(NECTI_EXEC_ERROR);
+ std::exit(NECTAR_EXEC_ERROR);
}
} // namespace CompilerKit::Detail