aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/source/read_source_files.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-05-21 12:00:35 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-05-21 12:00:35 -0400
commit13ea2d6b2d551013a4c10a22d60e7e666986b979 (patch)
tree57a13844a775bbdc9a3c4c9ac1f7a5e76cf65659 /src/doc_reform/source/read_source_files.d
parentcosmetic mostly (diff)
a regex & some clearing
Diffstat (limited to 'src/doc_reform/source/read_source_files.d')
-rw-r--r--src/doc_reform/source/read_source_files.d12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/doc_reform/source/read_source_files.d b/src/doc_reform/source/read_source_files.d
index ae6f32e..5c1e6fb 100644
--- a/src/doc_reform/source/read_source_files.d
+++ b/src/doc_reform/source/read_source_files.d
@@ -187,18 +187,6 @@ static template DocReformRawMarkupContent() {
type1["header_make"] = 0;
type1["header_meta"] = 0;
contents_insert ~= line;
- } else if (
- (type1["header_make"] == 1)
- && line.matchFirst(rgx.native_header_sub)
- ) {
- type1["header_make"] = 1;
- type1["header_meta"] = 0;
- } else if (
- (type1["header_meta"] == 1)
- && line.matchFirst(rgx.native_header_sub)
- ) {
- type1["header_meta"] = 1;
- type1["header_make"] = 0;
} else if (auto m = line.match(rgx.insert_src_fn_ssi_or_sst)) {
type1["header_make"] = 0;
type1["header_meta"] = 0;