diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-05-14 11:35:24 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-08-19 14:42:43 -0400 |
commit | 24c9ed3645178a6ee2abbd9201fa4643dba068e2 (patch) | |
tree | 37cd2dbe489d8ab850fd814cdec63004c9a3150c /src/doc_reform/source/read_source_files.d | |
parent | doc_abstraction reduce use of return ref, check (diff) |
review, reduce use of auto
Diffstat (limited to 'src/doc_reform/source/read_source_files.d')
-rw-r--r-- | src/doc_reform/source/read_source_files.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc_reform/source/read_source_files.d b/src/doc_reform/source/read_source_files.d index 5c1e6fb..0bd7b8c 100644 --- a/src/doc_reform/source/read_source_files.d +++ b/src/doc_reform/source/read_source_files.d @@ -17,7 +17,7 @@ static template DocReformRawMarkupContent() { string[] _images=[]; auto _extract_images(S)(S content_block) { string[] images_; - auto _content_block = content_block.to!string; + string _content_block = content_block.to!string; if (auto m = _content_block.matchAll(rgx.image)) { images_ ~= m.captures[1].to!string; } @@ -159,7 +159,7 @@ static template DocReformRawMarkupContent() { ) { mixin DocReformRgxInitFlags; char[][] contents_insert; - auto type1 = flags_type_init; + int[string] type1 = flags_type_init; auto fn_pth_full = fn_src.match(rgx.src_pth_sst_or_ssm); auto markup_src_file_path = fn_pth_full.captures[1]; foreach (line; markup_sourcefile_insert_content) { @@ -245,7 +245,7 @@ static template DocReformRawMarkupContent() { import std.algorithm; mixin DocReformRgxInitFlags; char[][] contents; - auto type = flags_type_init; + int[string] type = flags_type_init; auto fn_pth_full = fn_src.match(rgx.src_pth_sst_or_ssm); auto markup_src_file_path = fn_pth_full.captures[1]; char[][] contents_insert; |