aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sdp/ao_scan_inserts.d
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sdp/ao_scan_inserts.d')
-rw-r--r--lib/sdp/ao_scan_inserts.d32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/sdp/ao_scan_inserts.d b/lib/sdp/ao_scan_inserts.d
index ab705eb..54abb8f 100644
--- a/lib/sdp/ao_scan_inserts.d
+++ b/lib/sdp/ao_scan_inserts.d
@@ -1,7 +1,7 @@
-/*
+/+
inserts
ao_inserts.d
-*/
++/
mixin template SiSUdocInserts() {
class Inserts {
auto scan_subdoc_source(
@@ -87,8 +87,8 @@ mixin template SiSUdocInserts() {
markup_sourcesubfile_insert_content.length
);
}
- auto ins = new Inserts();
- /*
+ auto ins = new Inserts();
+ /+
1. load file,
2. read lines;
3. scan lines,
@@ -96,7 +96,7 @@ mixin template SiSUdocInserts() {
5. repeat 1
6. else
7. add line to new array;
- */
+ +/
} else {
ft1["header_make"] = 0;
ft1["header_metadata"] = 0;
@@ -192,16 +192,16 @@ mixin template SiSUdocInserts() {
markup_sourcefile_insert_content.length
);
}
- auto ins = new Inserts();
- auto t = ins.scan_subdoc_source(
- markup_sourcefile_insert_content, to!string(fn_src_insert), add
- );
- static assert(!isTypeTuple!(t));
- auto tmparr = t[0];
- auto addsub = t[1];
- cont_arbitrary_max_length_set[add .. addsub-1] = tmparr[0 .. $-1];
- add=addsub;
- /*
+ auto ins = new Inserts();
+ auto t = ins.scan_subdoc_source(
+ markup_sourcefile_insert_content, to!string(fn_src_insert), add
+ );
+ static assert(!isTypeTuple!(t));
+ auto tmparr = t[0];
+ auto addsub = t[1];
+ cont_arbitrary_max_length_set[add .. addsub-1] = tmparr[0 .. $-1];
+ add=addsub;
+ /+
1. load file,
2. read lines;
3. scan lines,
@@ -209,7 +209,7 @@ mixin template SiSUdocInserts() {
5. repeat 1
6. else
7. add line to new array;
- */
+ +/
} else {
ft["header_make"] = 0;
ft["header_metadata"] = 0;