summaryrefslogtreecommitdiffhomepage
path: root/src/CommandLine/cppdrv.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-09 02:16:39 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-09 02:16:39 +0100
commit693dd621321e3af029d2c8cc8d58af716eb43988 (patch)
tree02d12821dd1a1288e35c98252909dd9cafc9e4ce /src/CommandLine/cppdrv.cc
parentf8f2153b6b859dee35192f237d292e75c0a4cd76 (diff)
feat: necfront: final refactors and improvements before finishing Netcar implementation.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/CommandLine/cppdrv.cc')
-rw-r--r--src/CommandLine/cppdrv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandLine/cppdrv.cc b/src/CommandLine/cppdrv.cc
index d5d2cd0..6977923 100644
--- a/src/CommandLine/cppdrv.cc
+++ b/src/CommandLine/cppdrv.cc
@@ -9,10 +9,10 @@
#include <CompilerKit/Detail/Config.h>
#include <CompilerKit/ErrorID.h>
-CK_IMPORT_C int CPlusPlusPreprocessorMain(int argc, char const* argv[]);
+CK_IMPORT_C int GenericPreprocessorMain(int argc, char const* argv[]);
int main(int argc, char const* argv[]) {
- if (auto code = CPlusPlusPreprocessorMain(argc, argv); code > 0) {
+ if (auto code = GenericPreprocessorMain(argc, argv); code > 0) {
std::printf("cppdrv: preprocessor exited with code %i.\n", code);
return NECTAR_EXEC_ERROR;