aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_scan_inserts.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-11-10 19:10:31 -0500
committerRalph Amissah <ralph@amissah.com>2015-11-10 19:30:43 -0500
commita012afaa46a7983fdcf07590f5385403fea044fc (patch)
tree8761b98fbf92218565ba94f9997228330aa34719 /org/ao_scan_inserts.org
parentminor, place sdp.d in lib/ rather than lib/sdp (diff)
org babel block delimiters
Diffstat (limited to 'org/ao_scan_inserts.org')
-rw-r--r--org/ao_scan_inserts.org16
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