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) --- src/doc_reform/meta/conf_make_meta_yaml.d | 6 +++--- src/doc_reform/meta/rgx.d | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/doc_reform/meta') diff --git a/src/doc_reform/meta/conf_make_meta_yaml.d b/src/doc_reform/meta/conf_make_meta_yaml.d index e55a24f..5355a58 100644 --- a/src/doc_reform/meta/conf_make_meta_yaml.d +++ b/src/doc_reform/meta/conf_make_meta_yaml.d @@ -3,7 +3,7 @@ extract yaml header return struct +/ module doc_reform.meta.conf_make_meta_yaml; -static template contentYAMLtoSpineStruct() { +template contentYAMLtoSpineStruct() { import std.algorithm, std.array, @@ -788,7 +788,7 @@ static template contentYAMLtoSpineStruct() { return _struct_composite; } } -static template configParseYAMLreturnSpineStruct() { +template configParseYAMLreturnSpineStruct() { import dyaml; import doc_reform.meta.conf_make_meta_structs, @@ -814,7 +814,7 @@ static template configParseYAMLreturnSpineStruct() { return _make_and_meta_struct; } } -static template docHeaderMakeAndMetaTupYamlExtractAndConvertToStruct() { +template docHeaderMakeAndMetaTupYamlExtractAndConvertToStruct() { import std.exception, std.regex, diff --git a/src/doc_reform/meta/rgx.d b/src/doc_reform/meta/rgx.d index b6d23bf..c7a110b 100644 --- a/src/doc_reform/meta/rgx.d +++ b/src/doc_reform/meta/rgx.d @@ -3,7 +3,6 @@ +/ module doc_reform.meta.rgx; static template spineRgxInit() { - import doc_reform.meta.defaults; static struct Rgx { /+ misc +/ // static true_dollar = ctRegex!(`\$`, "gm"); -- cgit v1.2.3