diff options
Diffstat (limited to 'org/ao_scan_inserts.org')
-rw-r--r-- | org/ao_scan_inserts.org | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/org/ao_scan_inserts.org b/org/ao_scan_inserts.org index 167553a..8aaf377 100644 --- a/org/ao_scan_inserts.org +++ b/org/ao_scan_inserts.org @@ -33,7 +33,7 @@ int tell_l(string color, in char[] line) { } auto fn_pth_full = match(fn_src, rgx.src_pth); auto markup_src_file_path = fn_pth_full.captures[1]; -#+end_src +#+END_SRC *** loop insert (sub-document) #+name: ao_inserts_scan_loop #+BEGIN_SRC d :exports none @@ -116,14 +116,14 @@ if (ft1["curly_code"] == 1) { cont_arbitrary_max_length_set_[counter["add"]] = line; ++counter["add"]; ++add; } -#+end_src +#+END_SRC *** post loop #+name: ao_inserts_scan_post #+BEGIN_SRC d :exports none auto contents_ = cont_arbitrary_max_length_set_[0 .. counter["add"]].dup; auto t = tuple(contents_, add); return t; -#+end_src +#+END_SRC ** scan document source *** scan doc source #+name: ao_doc_scan @@ -143,7 +143,7 @@ int tell_l(string color, in char[] line) { } auto fn_pth_full = match(fn_src, rgx.src_pth); auto markup_src_file_path = fn_pth_full.captures[1]; -#+end_src +#+END_SRC *** loop insert (document) #+name: ao_doc_scan_loop #+BEGIN_SRC d :exports none @@ -238,7 +238,7 @@ if (ft["curly_code"] == 1) { cont_arbitrary_max_length_set[add] = line; ++add; } -#+end_src +#+END_SRC *** post loop #+name: ao_doc_scan_post #+BEGIN_SRC d :exports none @@ -249,12 +249,12 @@ debug(insert) { // insert file writeln(add); } return contents; -#+end_src +#+END_SRC * tangles ** code structure: :ao_inserts.d: #+name: tangle_ao_inserts -#+BEGIN_SRC d :tangle ../lib/sdp/ao_scan_inserts.d :exports none :noweb yes +#+BEGIN_SRC d :tangle ../lib/sdp/ao_scan_inserts.d :padline no :exports none :noweb yes /* inserts ao_inserts.d @@ -279,4 +279,4 @@ mixin template SiSUdocInserts() { } } } -#+end_src +#+END_SRC |