aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/meta/metadoc_from_src.d
diff options
context:
space:
mode:
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"],