diff options
Diffstat (limited to 'src/sdp/meta/doc_debugs.d')
-rw-r--r-- | src/sdp/meta/doc_debugs.d | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/src/sdp/meta/doc_debugs.d b/src/sdp/meta/doc_debugs.d index bc781ee..89ca3a7 100644 --- a/src/sdp/meta/doc_debugs.d +++ b/src/sdp/meta/doc_debugs.d @@ -59,18 +59,18 @@ template SiSUdebugs() { __FILE__, __LINE__, ); - if (key.length > 0) { - foreach (obj; contents[key]) { - if (obj.metainfo.is_of_part != "empty") { - writefln( - "[%s][%s]\n%s", - obj.object_number, - obj.metainfo.is_a, - obj.text - ); - } - } - } + // if (key.length > 0) { + // foreach (obj; contents[key]) { + // if (obj.metainfo.is_of_part != "empty") { + // writefln( + // "[%s][%s]\n%s", + // obj.object_number, + // obj.metainfo.is_a, + // obj.text + // ); + // } + // } + // } } debug(section_head) { key="head"; @@ -170,6 +170,15 @@ template SiSUdebugs() { } } } + debug(decendants) { + foreach (sect; doc_matters.xml.keys_seq.scroll) { + foreach (obj; contents[sect]) { + if (obj.metainfo.is_a == "heading") { + writeln(obj.metainfo.ocn, " .. ", obj.metainfo.last_decendant_ocn); + } + } + } + } debug(section_endnotes) { key="endnotes"; out_endnotes(contents, key); |