aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_read_source_files.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-11-02 10:27:19 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:13 -0400
commit98314b3de50e356568524708951ca507c80b3af2 (patch)
tree9dac05207a3690ce25927eed79791d1df1fdbab0 /src/sdp/ao_read_source_files.d
parent0.8.0 the document parts (& org babel tangle) (diff)
cleaning (one hash key renamed)
Diffstat (limited to 'src/sdp/ao_read_source_files.d')
-rw-r--r--src/sdp/ao_read_source_files.d18
1 files changed, 0 insertions, 18 deletions
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);