aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/in_source_files.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-05-06 19:37:07 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-20 11:27:26 -0400
commit37bae77e09df3a50947dd445acbcd19afa4ce17c (patch)
tree5d72931f398f45b1f567c10a0a3ed7bb199750bf /org/in_source_files.org
parentdoc abstraction, pith replaces obj_type_status (diff)
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
Diffstat (limited to 'org/in_source_files.org')
-rw-r--r--org/in_source_files.org15
1 files changed, 0 insertions, 15 deletions
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;
<<meta_inserts_scan>>
foreach (line; markup_sourcefile_insert_content) {
<<meta_inserts_scan_loop>>
@@ -368,7 +367,6 @@ template spineRawMarkupContent() {
string fn_src
) {
import std.algorithm;
- mixin spineRgxDocStructFlags;
<<meta_master_doc_scan_for_insert_filenames>>
foreach (line; sourcefile_body_content) {
<<meta_master_doc_scan_for_insert_filenames_loop>>
@@ -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);