aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_scan_inserts.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-03-17 22:38:32 -0400
committerRalph Amissah <ralph@amissah.com>2016-03-17 23:53:20 -0400
commit3e81eda3abd27ab6beadb3f183bcbf413ecd52b8 (patch)
treeed7037df5db5c66d310a94dd0d4005d688e17764 /org/ao_scan_inserts.org
parenttrack (diff)
org file headers updated
Diffstat (limited to 'org/ao_scan_inserts.org')
-rw-r--r--org/ao_scan_inserts.org18
1 files changed, 9 insertions, 9 deletions
diff --git a/org/ao_scan_inserts.org b/org/ao_scan_inserts.org
index 5da6b0a..87e56c0 100644
--- a/org/ao_scan_inserts.org
+++ b/org/ao_scan_inserts.org
@@ -3,10 +3,10 @@
#+EMAIL: ralph.amissah@gmail.com
#+STARTUP: indent
#+LANGUAGE: en
-#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t
+#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+OPTIONS: author:nil email:nil creator:nil timestamp:nil
-#+OPTIONS: ^:nil _:nil
+#+PROPERTY: header-args :padline no :exports none :noweb yes
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+FILETAGS: :sdp:rel:ao:
@@ -18,7 +18,7 @@
** scan inserts (sub-document) source :scan_insert_src:
*** scan subdoc source
#+name: ao_inserts_scan
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
char[][100000] cont_arbitrary_max_length_set_;
auto ft0 = flag_type.dup;
auto ft1 = flag_type.dup;
@@ -38,7 +38,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 :exports none
+#+BEGIN_SRC d
if (ft1["curly_code"] == 1) {
ft1["header_make"] = 0;
ft1["header_metadata"] = 0;
@@ -121,7 +121,7 @@ if (ft1["curly_code"] == 1) {
#+END_SRC
*** post loop
#+name: ao_inserts_scan_post
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
auto contents_ = cont_arbitrary_max_length_set_[0 .. counter["add"]].dup;
auto t = tuple(contents_, add);
return t;
@@ -130,7 +130,7 @@ return t;
** scan document source :scan_src:
*** scan doc source
#+name: ao_doc_scan
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
char[][100000] cont_arbitrary_max_length_set; // 2000 pg * 50 lines
string[string] processing;
uint[string] line_occur;
@@ -149,7 +149,7 @@ auto markup_src_file_path = fn_pth_full.captures[1];
#+END_SRC
*** loop insert (document)
#+name: ao_doc_scan_loop
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
if (ft["curly_code"] == 1) {
ft["header_make"] = 0;
ft["header_metadata"] = 0;
@@ -244,7 +244,7 @@ if (ft["curly_code"] == 1) {
#+END_SRC
*** post loop
#+name: ao_doc_scan_post
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
auto contents = cont_arbitrary_max_length_set[0..add].dup;
debug(insert) { // insert file
writeln(__LINE__);
@@ -257,7 +257,7 @@ return contents;
* tangles :tangle:
** code structure: :ao_inserts.d:
#+name: tangle_ao_inserts
-#+BEGIN_SRC d :tangle ../lib/sdp/ao_scan_inserts.d :padline no :exports none :noweb yes
+#+BEGIN_SRC d :tangle ../lib/sdp/ao_scan_inserts.d
/+
inserts
ao_inserts.d