From 37bae77e09df3a50947dd445acbcd19afa4ce17c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 6 May 2020 19:37:07 -0400 Subject: doc structure hash removed, replaced, unused - doc abstraction changes (use of new associative array named "pith" with enum) replaces the redundant doc structure associative array --- org/in_source_files.org | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'org/in_source_files.org') diff --git a/org/in_source_files.org b/org/in_source_files.org index 49c4a5e..84702fe 100644 --- a/org/in_source_files.org +++ b/org/in_source_files.org @@ -355,7 +355,6 @@ template spineRawMarkupContent() { char[][] markup_sourcefile_insert_content, string fn_src ) { - mixin spineRgxDocStructFlags; <> foreach (line; markup_sourcefile_insert_content) { <> @@ -368,7 +367,6 @@ template spineRawMarkupContent() { string fn_src ) { import std.algorithm; - mixin spineRgxDocStructFlags; <> foreach (line; sourcefile_body_content) { <> @@ -518,7 +516,6 @@ split is on first match of level A~ (which is required) char[][] contents_insert; int code_block_status = 0; enum codeBlock { off, curly, tic, } -int[string] type = flags_type_init; auto fn_pth_full = fn_src.match(rgx.src_pth_sst_or_ssm); auto markup_src_file_path = fn_pth_full.captures[1]; #+END_SRC @@ -528,32 +525,22 @@ auto markup_src_file_path = fn_pth_full.captures[1]; #+NAME: meta_inserts_scan_loop #+BEGIN_SRC d if (code_block_status == codeBlock.curly) { - type["header_make"] = 0; - type["header_meta"] = 0; if (line.matchFirst(rgx.block_curly_code_close)) { code_block_status = codeBlock.off; } contents_insert ~= line; } else if (line.matchFirst(rgx.block_curly_code_open)) { code_block_status = codeBlock.curly; - type["header_make"] = 0; - type["header_meta"] = 0; contents_insert ~= line; } else if (code_block_status == codeBlock.tic) { - type["header_make"] = 0; - type["header_meta"] = 0; if (line.matchFirst(rgx.block_tic_close)) { code_block_status = codeBlock.off; } contents_insert ~= line; } else if (line.matchFirst(rgx.block_tic_code_open)) { code_block_status = codeBlock.tic; - type["header_make"] = 0; - type["header_meta"] = 0; contents_insert ~= line; } else if (auto m = line.match(rgx.insert_src_fn_ssi_or_sst)) { - type["header_make"] = 0; - type["header_meta"] = 0; auto insert_fn = m.captures[2]; auto insert_sub_pth = m.captures[1]; auto fn_src_insert @@ -584,8 +571,6 @@ if (code_block_status == codeBlock.curly) { - build image list, search for any image files to add to image list +/ } else { - type["header_make"] = 0; - type["header_meta"] = 0; contents_insert ~= line; // images to extract for image list? if (_opt_action.source || _opt_action.pod) { string[] _image_linelist = _extract_images(line); -- cgit v1.2.3