diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-08-28 19:07:05 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-08-28 20:15:35 -0400 |
| commit | 45a73e4464fb662d481d31ebf8d3ef204296159a (patch) | |
| tree | 0aa0ef5111f55a6ad6cfce4110fa961d9e2001b1 /src/sisudoc/spine.d | |
| parent | test build .ssp requires --serial (--no-parallel) run (diff) | |
.ssp: doc structure related fixes (& to epub toc_nav)
for document abstraction and its .ssp output, removed the
requirement of including --abstraction & --serial flags to produce
correct output (for: .dom_status, .dom_status_collapsed &
.last_descendant)
- meta_processing_xml_dom() includes show_abstraction, so --pod2
and --show-abstraction run the dom pass; last_descendant is
derived from that pass via after_doc_get_descendants()
The accumulators are now verified as eight wide locals of
docAbstraction(), so each document starts clean and no two threads
share one.
- bug: the four dom accumulators were template scope (shared) and
nine wide, while their end of document reset was eight wide, so
the first document of a run differed from the rest and parallel
runs raced on one buffer, (which also mis-nested epub toc_nav)
test/ reference .ssp regenerated: accelerando only, trailing zero
dropped.
test-abstraction-ssp.sh now runs parallel and diffs output against
a serial run.
(assisted by Claude-Code)
Diffstat (limited to 'src/sisudoc/spine.d')
| -rw-r--r-- | src/sisudoc/spine.d | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sisudoc/spine.d b/src/sisudoc/spine.d index c80814e..17950d0 100644 --- a/src/sisudoc/spine.d +++ b/src/sisudoc/spine.d @@ -821,6 +821,8 @@ string program_name = "spine"; @trusted bool meta_processing_xml_dom() { return ( opts["abstraction"] + || show_abstraction + || show_abstraction_db || html || epub || odt |
