From 951d136957c14bed5581a11fe41bdebd174d5ce8 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 2 Jul 2016 00:22:17 -0400 Subject: file renaming, whitespace cleaning --- org/ao_read_source_files.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'org/ao_read_source_files.org') diff --git a/org/ao_read_source_files.org b/org/ao_read_source_files.org index c3c68ad..d61b677 100644 --- a/org/ao_read_source_files.org +++ b/org/ao_read_source_files.org @@ -17,6 +17,7 @@ ** [#A] read config file, source string :string: *** config file (conf.sdl & sisu_document_make) :file:config: + #+name: ao_config_file_in #+BEGIN_SRC d final private string readInConfigFile(string conf_sdl) { @@ -104,6 +105,7 @@ private auto configSDLangRootTag(string configuration, string conf_sdl_filename) #+END_SRC *** config file (conf.sdl & sisu_document_make) :file:config:hub: + #+name: ao_config_file_sdlang_hub #+BEGIN_SRC d final private auto configSDLang(string conf_sdl) { @@ -118,6 +120,7 @@ final private auto configSDLang(string conf_sdl) { * get markup source, read file :source:markup: ** [#A] read file, source string :string: + #+name: ao_markup_source_raw #+BEGIN_SRC d final private string readInMarkupSource(in string fn_src) { @@ -182,6 +185,7 @@ catch (ErrnoException ex) { } ** array[0..1]: split header content :array: + #+name: ao_markup_source_raw #+BEGIN_SRC d final private char[][] header0Content1(in string src_text) { @@ -193,6 +197,7 @@ final private char[][] header0Content1(in string src_text) { #+END_SRC ** source line array :array: + #+name: ao_markup_source_raw #+BEGIN_SRC d final private char[][] markupSourceLineArray(in char[] src_text) { @@ -242,6 +247,7 @@ final char[][] markupSourceContentRawLineArray(in string fn_src, Regex!(char) rg ** scan inserts (sub-document) source :scan_insert_src: *** scan subdoc source + #+name: ao_inserts_scan #+BEGIN_SRC d char[][] contents_insert; @@ -251,6 +257,7 @@ auto markup_src_file_path = fn_pth_full.captures[1]; #+END_SRC *** loop insert (sub-document) + #+name: ao_inserts_scan_loop #+BEGIN_SRC d if (type1["curly_code"] == 1) { @@ -328,6 +335,7 @@ if (type1["curly_code"] == 1) { #+END_SRC *** post loop + #+name: ao_inserts_scan_post #+BEGIN_SRC d return contents_insert; @@ -335,6 +343,7 @@ return contents_insert; ** scan document source :scan_src: *** scan doc source + #+name: ao_master_doc_scan_for_insert_filenames #+BEGIN_SRC d char[][] contents; @@ -342,7 +351,9 @@ auto type = flags_type_init; auto fn_pth_full = match(fn_src, rgx.src_pth); auto markup_src_file_path = fn_pth_full.captures[1]; #+END_SRC + *** loop master scan for inserts (insert documents) + #+name: ao_master_doc_scan_for_insert_filenames_loop #+BEGIN_SRC d if (type["curly_code"] == 1) { @@ -405,6 +416,7 @@ if (type["curly_code"] == 1) { #+END_SRC *** post loop + #+name: ao_master_doc_scan_for_insert_filenames_post #+BEGIN_SRC d debug(insert) { // insert file -- cgit v1.2.3