From be73d82eff113e6a6723d6fb4bd80f56f0ef88ef Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 30 Jan 2024 13:25:42 +0100 Subject: Compiler: Breaking changes, will work on C++ compiler from now on. Signed-off-by: Amlal El Mahrouss --- Private/Frontend/Compiler/compiler_command.d | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Private/Frontend/Compiler/compiler_command.d') diff --git a/Private/Frontend/Compiler/compiler_command.d b/Private/Frontend/Compiler/compiler_command.d index 80d8673..7da7ff3 100644 --- a/Private/Frontend/Compiler/compiler_command.d +++ b/Private/Frontend/Compiler/compiler_command.d @@ -20,7 +20,7 @@ public void mpcc_summon_executable(string path) { import core.stdc.stdlib; import std.string; - + system(toStringz(path)); } @@ -32,7 +32,7 @@ public class Platform import std.string; import std.conv; import std.path; - + string pathHome = expandTilde("~"); pathHome ~= "/mp-ux/libc/"; @@ -45,7 +45,7 @@ public class Platform import std.string; import std.conv; import std.path; - + string pathHome = expandTilde("~"); pathHome ~= "/mp-ux/mp-ux/"; @@ -59,7 +59,7 @@ public class CompileCommand { import std.string; import std.algorithm; - + foreach (file; files) { if (file.length == 0) @@ -68,7 +68,7 @@ public class CompileCommand import std.datetime; string input = "/usr/local/bin/bin/cpp"; - + string[] arr_macros = CompilerMacroHelpers.getStandardMacros(); foreach (string macro_name; arr_macros) @@ -149,4 +149,4 @@ public class CompileCommand mpcc_summon_executable("/usr/local/bin/bin/ld " ~ obj ~ output_object); } -} \ No newline at end of file +} -- cgit v1.2.3