diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-11-06 09:12:06 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | f9257293164f7681243e35b9608a4cb6c2d3e16b (patch) | |
tree | 74e8887aaccec6d0fd999c24e6a6666eabae685a /src/sdp/output/sqlite_discrete.d | |
parent | sqlite document db discrete & collection, started (diff) |
checksdoc-reform_v0.0.19
Diffstat (limited to 'src/sdp/output/sqlite_discrete.d')
-rw-r--r-- | src/sdp/output/sqlite_discrete.d | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sdp/output/sqlite_discrete.d b/src/sdp/output/sqlite_discrete.d index c8238f4..132d312 100644 --- a/src/sdp/output/sqlite_discrete.d +++ b/src/sdp/output/sqlite_discrete.d @@ -900,7 +900,7 @@ template SQLiteDiscreteBuildTablesAndPopulate() { foreach (part; doc_parts) { foreach (obj; doc_abstraction[part]) { switch (obj.of_part) { - case "frontmatter": assert(part == "head"); + case "frontmatter": assert(part == "head", part); switch (obj.is_of) { case "para": switch (obj.is_a) { @@ -921,7 +921,7 @@ template SQLiteDiscreteBuildTablesAndPopulate() { break; } break; - case "body": // assert(part == "body"); // TODO broken + case "body": // assert(part == "body", part); // TODO broken switch (obj.is_of) { case "para": switch (obj.is_a) { @@ -980,26 +980,26 @@ template SQLiteDiscreteBuildTablesAndPopulate() { } break; case "backmatter": - assert(part == "endnotes" || "glossary" || "bibliography" || "bookindex_scroll" || "blurb" || "tail"); + assert(part == "endnotes" || "glossary" || "bibliography" || "bookindex_seg" || "blurb" || "tail", part); switch (obj.is_of) { case "para": switch (obj.is_a) { case "heading": obj_txt = format_and_sqlite_load.heading(obj); break; - case "endnote": assert(part == "endnotes"); + case "endnote": assert(part == "endnotes", part); obj_txt = format_and_sqlite_load.para(obj); break; - case "glossary": assert(part == "glossary"); + case "glossary": assert(part == "glossary", part); obj_txt = format_and_sqlite_load.para(obj); break; - case "bibliography": assert(part == "bibliography"); + case "bibliography": assert(part == "bibliography", part); obj_txt = format_and_sqlite_load.para(obj); break; - case "bookindex": assert(part == "bookindex_scroll"); + case "bookindex": assert(part == "bookindex_seg", part); obj_txt = format_and_sqlite_load.para(obj); break; - case "blurb": assert(part == "blurb"); + case "blurb": assert(part == "blurb", part); obj_txt = format_and_sqlite_load.para(obj); break; default: |