diff options
Diffstat (limited to 'Private/Frontend/Compiler')
| -rw-r--r-- | Private/Frontend/Compiler/compiler_command.d | 12 | ||||
| -rw-r--r-- | Private/Frontend/Compiler/compiler_macro_helpers.d | 2 | ||||
| -rw-r--r-- | Private/Frontend/Compiler/compiler_start.d | 4 |
3 files changed, 9 insertions, 9 deletions
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 +} diff --git a/Private/Frontend/Compiler/compiler_macro_helpers.d b/Private/Frontend/Compiler/compiler_macro_helpers.d index 4dfe65e..f567cb1 100644 --- a/Private/Frontend/Compiler/compiler_macro_helpers.d +++ b/Private/Frontend/Compiler/compiler_macro_helpers.d @@ -7,4 +7,4 @@ class CompilerMacroHelpers string[] macros = [ "__64x0__", "__mpux__" ]; return macros; } -}
\ No newline at end of file +} diff --git a/Private/Frontend/Compiler/compiler_start.d b/Private/Frontend/Compiler/compiler_start.d index 44e17da..4b5c1cd 100644 --- a/Private/Frontend/Compiler/compiler_start.d +++ b/Private/Frontend/Compiler/compiler_start.d @@ -31,7 +31,7 @@ void mpcc_summon_manual(string path) core.stdc.stdlib.system(toStringz(base ~ path ~ extension)); } -void main(string[] args) +void main(string[] args) { import std.range, std.stdio; @@ -109,4 +109,4 @@ void main(string[] args) compiler.compile(Platform.getKernelPath(), args_list, shared_library, output_file, compile_only); else compiler.compile(Platform.getIncludePath(), args_list, shared_library, output_file, compile_only); -}
\ No newline at end of file +} |
