From c4d2cedb930a48d6439d6ff2076183fd48fc6a5a Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 25 Jan 2020 12:22:01 -0500 Subject: address compilation issues with dmd (v2.090.0) --- org/in_source_files.org | 45 +++++++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 16 deletions(-) (limited to 'org/in_source_files.org') diff --git a/org/in_source_files.org b/org/in_source_files.org index b958c22..720a47e 100644 --- a/org/in_source_files.org +++ b/org/in_source_files.org @@ -16,14 +16,20 @@ [[./spine.org][spine]] [[./][org/]] * imports +** std #+NAME: imports_std #+BEGIN_SRC d -import - doc_reform.meta, - doc_reform.io_in.paths_source, - std.file, - std.path; +std.file, +std.path +#+END_SRC + +** spine + +#+NAME: imports_spine +#+BEGIN_SRC d +doc_reform.meta, +doc_reform.io_in.paths_source #+END_SRC * A. get _config file_ (read in) @@ -36,6 +42,10 @@ import meta_config_files.d +/ module doc_reform.io_in.read_config_files; +import + <>, + <>, + doc_reform.meta.rgx; <> <> #+END_SRC @@ -45,12 +55,9 @@ module doc_reform.io_in.read_config_files; #+NAME: meta_config_file_hub #+BEGIN_SRC d -static template readConfigSite() { - import - doc_reform.meta.rgx; - <> - mixin spineRgxInit; +template readConfigSite() { @system final auto readConfigSite(C)(C _conf_file_details) { + mixin spineRgxInit; static auto rgx = Rgx(); string conf_filename = "NONE"; string config_file_str; @@ -154,10 +161,11 @@ webserv: #+BEGIN_SRC d static template readConfigDoc() { import + <>, + <>, doc_reform.meta.rgx; - <> - mixin spineRgxInit; @system final auto readConfigDoc(M,E)(M _manifested, E _env) { + mixin spineRgxInit; static auto rgx = Rgx(); string config_file_str; string conf_filename = "NONE"; @@ -208,7 +216,9 @@ static template readConfigDoc() { #+NAME: meta_config_file_hub #+BEGIN_SRC d static template configReadSiteYAML() { - <> + import + <>, + <>; @safe final YAMLDocument configReadSiteYAML(M,E)(M _manifested, E _env) { string _configuration = configReadInSiteYAML!()(_manifested, _env); auto _conf_file_details = ConfigFilePaths!()(_manifested, _env); @@ -218,7 +228,9 @@ static template configReadSiteYAML() { } } static template configReadDocYAML() { - <> + import + <>, + <>; @safe final YAMLDocument configReadDocYAML(M,E)(M _manifested, E _env) { string _configuration = configReadInDocYAML!()(_manifested, _env); auto _conf_file_details = ConfigFilePaths!()(_manifested, _env); @@ -239,10 +251,11 @@ static template configReadDocYAML() { - if master file scan for addional files to import/insert +/ module doc_reform.io_in.read_source_files; -static template spineRawMarkupContent() { +template spineRawMarkupContent() { import + <>, + <>, doc_reform.meta.rgx; - <> mixin spineRgxInit; static auto rgx = Rgx(); string[] _images=[]; -- cgit v1.2.3