diff options
Diffstat (limited to 'src/sdp/ao_output_debugs.d')
| -rw-r--r-- | src/sdp/ao_output_debugs.d | 26 | 
1 files changed, 22 insertions, 4 deletions
diff --git a/src/sdp/ao_output_debugs.d b/src/sdp/ao_output_debugs.d index b80c53d..1bf359a 100644 --- a/src/sdp/ao_output_debugs.d +++ b/src/sdp/ao_output_debugs.d @@ -53,8 +53,7 @@ template SiSUoutputDebugs() {            if (obj.use == "content") {              if (obj.is_a == "heading") {                writefln( -                "%s%s node: %s heading: %s %s", -                scr_txt_marker["cyan"], +                "%s node: %s heading: %s %s",                  obj.obj_cite_number,                  obj.node,                  obj.lev_markup_number, @@ -272,6 +271,26 @@ template SiSUoutputDebugs() {          }        } +      debug(anchor) { +        writefln( +          "%s\n%s:%s", +          "-------------------------------", +          __FILE__, +          __LINE__, +        ); +        foreach (obj; contents) { +          if (obj.is_a == "heading") { +            writefln( +              "%s~ [%s] %s %s", +              obj.heading_attrib.lev, +              obj.obj_cite_number, +              obj.anchor_tags, +              // "[", obj["is"], "] ", +              obj.object +            ); +          } +        } +      }        debug(heading) {                         // heading          string spc;          foreach (o; contents) { @@ -345,8 +364,7 @@ template SiSUoutputDebugs() {            foreach (obj; contents) {              if (obj.is_a == "heading") {                writefln( -                "%s%s~ [%s] %s", -                scr_txt_marker["yellow"], +                "%s~ [%s] %s",                  obj.heading_attrib.lev,                  obj.obj_cite_number,                  // "[", obj["is"], "] ",  | 
