aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/meta/metadoc_from_src.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-02-09 22:03:10 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit1c73ddf3894085c646b55d63e61a2483e03a3b4d (patch)
tree34e3a837d0e0d224008ff380055ea263a03d3c14 /src/sdp/meta/metadoc_from_src.d
parentpaths, further adjustments (diff)
0.24.0 toml or sdlang for configuration
Diffstat (limited to 'src/sdp/meta/metadoc_from_src.d')
-rw-r--r--src/sdp/meta/metadoc_from_src.d29
1 files changed, 19 insertions, 10 deletions
diff --git a/src/sdp/meta/metadoc_from_src.d b/src/sdp/meta/metadoc_from_src.d
index a8014e3..d0ee599 100644
--- a/src/sdp/meta/metadoc_from_src.d
+++ b/src/sdp/meta/metadoc_from_src.d
@@ -1396,7 +1396,8 @@ template SiSUdocAbstraction() {
segnames_0_4 ~= obj.segment_anchor_tag;
if (obj.heading_lev_markup == 4) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
/+ dom structure (marked up & collapsed) +/
@@ -1425,7 +1426,8 @@ template SiSUdocAbstraction() {
segnames_0_4 ~= obj.segment_anchor_tag;
if (obj.heading_lev_markup == 4) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
if ((opt_action.html)
@@ -1454,7 +1456,8 @@ template SiSUdocAbstraction() {
if (html_segnames.length > obj.ptr_html_segnames + 1) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
}
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
/+ dom structure (marked up & collapsed) +/
@@ -1496,7 +1499,8 @@ template SiSUdocAbstraction() {
if (html_segnames.length > obj.ptr_html_segnames + 1) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
}
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
/+ dom structure (marked up & collapsed) +/
@@ -1531,7 +1535,8 @@ template SiSUdocAbstraction() {
if (html_segnames.length > obj.ptr_html_segnames + 1) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
}
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
/+ dom structure (marked up & collapsed) +/
@@ -1570,7 +1575,8 @@ template SiSUdocAbstraction() {
if (html_segnames.length > obj.ptr_html_segnames + 1) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
}
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
/+ dom structure (marked up & collapsed) +/
@@ -1614,7 +1620,8 @@ template SiSUdocAbstraction() {
if (html_segnames.length > obj.ptr_html_segnames + 1) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
}
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
/+ dom structure (marked up & collapsed) +/
@@ -1653,7 +1660,8 @@ template SiSUdocAbstraction() {
if (html_segnames.length > obj.ptr_html_segnames + 1) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
}
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
/+ dom structure (marked up & collapsed) +/
@@ -1696,7 +1704,8 @@ template SiSUdocAbstraction() {
if (html_segnames.length > obj.ptr_html_segnames + 1) {
obj.segname_next = html_segnames[obj.ptr_html_segnames + 1];
}
- assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]);
+ assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames],
+ obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]);
}
}
/+ dom structure (marked up & collapsed) +/
@@ -2963,7 +2972,7 @@ template SiSUdocAbstraction() {
comp_obj_block = comp_obj_block.init;
obj_cite_digits = ocn_emit(OCNstatus.on);
an_object["bookindex_nugget"]
- =("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : "";
+ = ("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : "";
bookindex_unordered_hashes
= bookindex_extract_hash.bookindex_nugget_hash(
an_object["bookindex_nugget"],