diff options
Diffstat (limited to 'src/sdp/abstraction_summary.d')
-rw-r--r-- | src/sdp/abstraction_summary.d | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/sdp/abstraction_summary.d b/src/sdp/abstraction_summary.d index 237d1e0..75faf0e 100644 --- a/src/sdp/abstraction_summary.d +++ b/src/sdp/abstraction_summary.d @@ -1,6 +1,6 @@ template SiSUabstractionSummary() { auto SiSUabstractionSummary(S,T)( - auto ref const S contents, + auto ref const S doc_abstraction, auto ref T doc_matters, ) { import @@ -24,7 +24,7 @@ template SiSUabstractionSummary() { "last_obj_cite_number" : "NA [debug \"checkdoc\" not run]", ]; foreach (k; doc_matters.keys_seq_seg) { - foreach (obj; contents[k]) { + foreach (obj; doc_abstraction[k]) { if (obj.use != "empty") { if (!empty(obj.obj_cite_number)) { check["last_obj_cite_number"] = obj.obj_cite_number; @@ -48,31 +48,31 @@ template SiSUabstractionSummary() { doc_matters.dochead_meta["creator"]["author"], doc_matters.source_filename, markup.repeat_character_by_number_provided("-", char_repeat_number), - "length toc array: ", - to!int(contents["toc_seg"].length), - "length contents array: ", - to!int(contents["body"].length), + "length toc arr: ", + to!int(doc_abstraction["toc_seg"].length), + "length doc_abstraction arr: ", + to!int(doc_abstraction["body"].length), "last obj_cite_number: ", to!int(check["last_obj_cite_number"]), "length endnotes: ", - (contents["endnotes"].length > 1) - ? (to!int(contents["endnotes"].length)) + (doc_abstraction["endnotes"].length > 1) + ? (to!int(doc_abstraction["endnotes"].length)) : 0, "length glossary: ", - (contents["glossary"].length > 1) - ? (to!int(contents["glossary"].length)) + (doc_abstraction["glossary"].length > 1) + ? (to!int(doc_abstraction["glossary"].length)) : 0, "length biblio: ", - (contents["bibliography"].length > 1) - ? (to!int(contents["bibliography"].length)) + (doc_abstraction["bibliography"].length > 1) + ? (to!int(doc_abstraction["bibliography"].length)) : 0, "length bookindex: ", - (contents["bookindex_seg"].length > 1) - ? (to!int(contents["bookindex_seg"].length)) + (doc_abstraction["bookindex_seg"].length > 1) + ? (to!int(doc_abstraction["bookindex_seg"].length)) : 0, "length blurb: ", - (contents["blurb"].length > 1) - ? (to!int(contents["blurb"].length)) + (doc_abstraction["blurb"].length > 1) + ? (to!int(doc_abstraction["blurb"].length)) : 0, __FILE__, __LINE__, |