aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/doc_debugs.d
diff options
context:
space:
mode:
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);