aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/doc_debugs.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-03-20 13:03:02 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-05-17 16:59:38 -0400
commitda32ec40fc237b03f22aac329017d06735289a3a (patch)
treedf8f2ddcf1dda26914939c73f11b87db57ae6c64 /src/doc_reform/meta/doc_debugs.d
parent0.5.0 per object inline munging (rather than by line) (diff)
housekeepingdoc-reform_v0.5.0
Diffstat (limited to 'src/doc_reform/meta/doc_debugs.d')
-rw-r--r--src/doc_reform/meta/doc_debugs.d16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/doc_reform/meta/doc_debugs.d b/src/doc_reform/meta/doc_debugs.d
index 8765c06..5ca5c39 100644
--- a/src/doc_reform/meta/doc_debugs.d
+++ b/src/doc_reform/meta/doc_debugs.d
@@ -104,17 +104,17 @@ template DocReformDebugs() {
foreach (obj; contents[sect]) {
if (obj.metainfo.is_a == "heading") {
foreach_reverse (k; 0 .. 7) {
- switch (obj.dom_structure_markedup_tags_status[k]) {
- case DomTags.close :
+ switch (obj.dom_structure_markedup_tags_status[k]) with (DomTags) {
+ case close :
writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
break;
- case DomTags.close_and_open :
+ case close_and_open :
writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
writeln(markup.indent_by_spaces_provided(k),
"<", k, ">", obj.text,
" file: ", obj.segment_anchor_tag_html, ".xhtml#", obj.ocn);
break;
- case DomTags.open :
+ case open :
writeln(markup.indent_by_spaces_provided(k),
"<", k, ">", obj.text,
" file: ", obj.segment_anchor_tag_html, ".xhtml#", obj.ocn);
@@ -131,17 +131,17 @@ template DocReformDebugs() {
foreach (obj; contents[sect]) {
if (obj.metainfo.is_a == "heading") {
foreach_reverse (k; 0 .. 7) {
- switch (obj.dom_structure_collapsed_tags_status[k]) {
- case DomTags.close :
+ switch (obj.dom_structure_collapsed_tags_status[k]) with (DomTags) {
+ case close :
writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
break;
- case DomTags.close_and_open :
+ case close_and_open :
writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
writeln(markup.indent_by_spaces_provided(k),
"<", k, ">", obj.text,
" file: ", obj.segment_anchor_tag_html, ".xhtml#", obj.ocn);
break;
- case DomTags.open :
+ case open :
writeln(markup.indent_by_spaces_provided(k),
"<", k, ">", obj.text,
" file: ", obj.segment_anchor_tag_html, ".xhtml#", obj.ocn);