diff options
Diffstat (limited to 'src/sdp/meta/composite_make.d')
| -rw-r--r-- | src/sdp/meta/composite_make.d | 4 | 
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" | 
