diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-07-27 04:38:26 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | d56624bce222d870298d937e634fe01aef5c39e4 (patch) | |
tree | fda4da44a0fdddda9e99202ad69ebce9193c55ba /src/sdp/meta/read_source_files.d | |
parent | meta_abstraction, mark some functions pure (diff) |
static, liberal use of keyword
Diffstat (limited to 'src/sdp/meta/read_source_files.d')
-rw-r--r-- | src/sdp/meta/read_source_files.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdp/meta/read_source_files.d b/src/sdp/meta/read_source_files.d index 60f0777..482b587 100644 --- a/src/sdp/meta/read_source_files.d +++ b/src/sdp/meta/read_source_files.d @@ -12,7 +12,7 @@ template SiSUrawMarkupContent() { std.file, std.path; mixin SiSUrgxInit; - auto rgx = Rgx(); + static auto rgx = Rgx(); auto rawsrc = RawMarkupContent(); auto SiSUrawMarkupContent(Fn)(Fn fn_src) { auto _0_header_1_body_content_2_insert_filelist_tuple = @@ -93,7 +93,7 @@ template SiSUrawMarkupContent() { return source_line_arr; } auto markupSourceReadIn(in string fn_src) { - auto rgx = Rgx(); + static auto rgx = Rgx(); enforce( fn_src.match(rgx.src_pth), "not a sisu markup filename" |