diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-07-29 05:35:06 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 4ce831bbc753ed1352e615ca79daddd13ea448d5 (patch) | |
tree | d430a75278548827e9414fcaab1c9cb427856934 /src/sdp/meta/metadoc_summary.d | |
parent | fix for: gdc compiled program when run, segfaults on certain actions (diff) |
0.18.1 ocn, looks promising
Diffstat (limited to 'src/sdp/meta/metadoc_summary.d')
-rw-r--r-- | src/sdp/meta/metadoc_summary.d | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sdp/meta/metadoc_summary.d b/src/sdp/meta/metadoc_summary.d index 591844f..a415387 100644 --- a/src/sdp/meta/metadoc_summary.d +++ b/src/sdp/meta/metadoc_summary.d @@ -33,10 +33,13 @@ template SiSUabstractionSummary() { if (k == "body") { check["last_obj_cite_number_body"] = obj.obj_cite_number; } - if ((k != "bookindex_seg") && (k != "blurb")) { + if (!(obj.obj_cite_number.empty)) { check["last_obj_cite_number"] = obj.obj_cite_number; - } else if (k == "bookindex_seg") { - check["last_obj_cite_number_bkidx"] = obj.obj_cite_number; + } + } + if (k == "bookindex_seg") { + if (obj.obj_cite_number_type == 2) { + check["last_obj_cite_number_bkidx"] = obj.obj_cite_number_bkidx; } } } |