aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_output_debugs.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/ao_output_debugs.d')
-rw-r--r--src/sdp/ao_output_debugs.d32
1 files changed, 23 insertions, 9 deletions
diff --git a/src/sdp/ao_output_debugs.d b/src/sdp/ao_output_debugs.d
index 7764af4..3c3b101 100644
--- a/src/sdp/ao_output_debugs.d
+++ b/src/sdp/ao_output_debugs.d
@@ -522,24 +522,38 @@ template SiSUoutputDebugs() {
}
}
writefln(
- "%s\n\"%s\", %s\n%s\n%s\n%s%s\n%s%s\n%s%s\n%s%s\n%s%s\n%s%s\n%s:%s\n",
- "-------------------------------",
+ "%s\n\"%s\", %s\n%s\n%s\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n(%s: %s)",
+ "---------------------------------",
dochead_meta["title"]["full"],
dochead_meta["creator"]["author"],
- "-------------------------------",
fn_src,
+ "---------------------------------",
+ "length toc array: ",
+ to!int(contents["toc_seg"].length),
"length contents array: ",
- contents["body"].length,
+ to!int(contents["body"].length),
"last obj_cite_number: ",
- check["last_obj_cite_number"],
+ to!int(check["last_obj_cite_number"]),
+ "length endnotes: ",
+ (contents["endnotes_seg"].length > 1)
+ ? (to!int(contents["endnotes_seg"].length))
+ : 0,
"length glossary: ",
- contents["glossary"].length,
+ (contents["glossary"].length > 1)
+ ? (to!int(contents["glossary"].length))
+ : 0,
"length biblio: ",
- contents["bibliography"].length,
+ (contents["bibliography"].length > 1)
+ ? (to!int(contents["bibliography"].length))
+ : 0,
"length bookindex: ",
- contents["bookindex_seg"].length,
+ (contents["bookindex_seg"].length > 1)
+ ? (to!int(contents["bookindex_seg"].length))
+ : 0,
"length blurb: ",
- contents["blurb"].length,
+ (contents["blurb"].length > 1)
+ ? (to!int(contents["blurb"].length))
+ : 0,
__FILE__,
__LINE__,
);