aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/meta/composite_make.d
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 /src/sdp/meta/composite_make.d
parentmeta_abstraction, mark some functions pure (diff)
static, liberal use of keyword
Diffstat (limited to 'src/sdp/meta/composite_make.d')
-rw-r--r--src/sdp/meta/composite_make.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdp/meta/composite_make.d b/src/sdp/meta/composite_make.d
index dc28206..bcbe20c 100644
--- a/src/sdp/meta/composite_make.d
+++ b/src/sdp/meta/composite_make.d
@@ -13,8 +13,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)) {
@@ -78,7 +78,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"