aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/meta_conf_make_meta.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-07-27 04:38:26 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitd56624bce222d870298d937e634fe01aef5c39e4 (patch)
treefda4da44a0fdddda9e99202ad69ebce9193c55ba /org/meta_conf_make_meta.org
parentmeta_abstraction, mark some functions pure (diff)
static, liberal use of keyword
Diffstat (limited to 'org/meta_conf_make_meta.org')
-rw-r--r--org/meta_conf_make_meta.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org
index 5e4cb6d..2f06970 100644
--- a/org/meta_conf_make_meta.org
+++ b/org/meta_conf_make_meta.org
@@ -47,7 +47,7 @@ template docHeaderMakeAndMetaTupExtractAndConvertToAA() {
mixin SiSUrgxInit;
mixin SiSUheaderExtractNative;
mixin SiSUextractSDLang;
- auto rgx = Rgx();
+ static auto rgx = Rgx();
auto docHeaderMakeAndMetaTupExtractAndConvertToAA(DocMake, Src)(
DocMake conf_doc_make_aa,
Src header_src,
@@ -95,7 +95,7 @@ template SiSUextractSDLang() {
struct extractSDL {
mixin SiSUregisters;
mixin SiSUrgxInit;
- auto rgx = Rgx();
+ static auto rgx = Rgx();
<<meta_conf_make_meta_sdl>>
}
}
@@ -276,7 +276,7 @@ template SiSUheaderExtractNative() {
mixin SiSUregisters;
mixin SiSUrgxInitFlags;
mixin SiSUrgxInit;
- auto rgx = Rgx();
+ static auto rgx = Rgx();
enum State { off, on }
string hm, hs;
<<meta_markup_header_extract_native>>
@@ -630,8 +630,8 @@ template compositeMkCnf() {
string _italics;
string _emphasis;
auto compositeMkCnf(Mks...)(Mks makes) {
+ static auto rgx = Rgx();
foreach (make; makes) {
- auto rgx = Rgx();
if (auto z = "make" in make) {
if (auto x = "substitute" in *z) {
foreach (m; (*x).matchAll(rgx.make_simple_substitutions_d)) {
@@ -698,7 +698,7 @@ template compositeMkCnfAA() {
mixin SiSUrgxInit;
string[] _substitutions;
string[string][] _sub;
- auto rgx = Rgx();
+ static auto rgx = Rgx();
auto compositeMkCnfAA(Mks...)(Mks makes) {
/+
- skip.first_make which is the "composite make output"