From 98314b3de50e356568524708951ca507c80b3af2 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 2 Nov 2016 10:27:19 -0400 Subject: cleaning (one hash key renamed) --- src/sdp/ao_read_source_files.d | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/sdp/ao_read_source_files.d') diff --git a/src/sdp/ao_read_source_files.d b/src/sdp/ao_read_source_files.d index 793a45a..5ff0ec1 100644 --- a/src/sdp/ao_read_source_files.d +++ b/src/sdp/ao_read_source_files.d @@ -43,7 +43,6 @@ template SiSUmarkupRaw() { private struct MarkupRawUnit { private import std.file; - // enum State { off, on } final private string readInMarkupSource(in string fn_src) { enforce( exists(fn_src)!=0, @@ -56,19 +55,6 @@ template SiSUmarkupRaw() { } } catch (ErrnoException ex) { - //// Handle errors - // switch(ex.errno) { - // case EPERM: - // case EACCES: - // // Permission denied - // break; - // case ENOENT: - // // File does not exist - // break; - // default: - // // Handle other errors - // break; - // } } catch (UTFException ex) { // Handle validation errors @@ -168,14 +154,12 @@ template SiSUmarkupRaw() { ) { type1["header_make"] = 1; type1["header_meta"] = 0; - // cont_dynamic_array ~= "% " ~ line; } else if ( (type1["header_meta"] == 1) && matchFirst(line, rgx.native_header_sub) ) { type1["header_meta"] = 1; type1["header_make"] = 0; - // cont_dynamic_array ~= "% " ~ line; } else if (auto m = match(line, rgx.insert_src_fn_ssi_or_sst)) { type1["header_make"] = 0; type1["header_meta"] = 0; @@ -249,8 +233,6 @@ template SiSUmarkupRaw() { if (auto ma = match(line, rgx.src_fn_text)) { /+ .sst when inserted, not used: headers and heading level ^:?A~ so remove +/ writeln(__LINE__); writeln(ma); - // auto t = - // raw.markupSourceHeaderContentRawLineTupleArray(fn_src, rgx.src_pth); } auto markup_sourcefile_insert_content = raw.getInsertMarkupSourceContentRawLineArray(fn_src_insert, rgx.src_fn_find_inserts); -- cgit v1.2.3