From bc6971c1d19d4dcb80f872de6aa1f39a1584b738 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 27 Jan 2017 20:58:33 -0500 Subject: read src file and split into head and body, template --- src/sdp.d | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/sdp.d') diff --git a/src/sdp.d b/src/sdp.d index fddffbd..20133cd 100755 --- a/src/sdp.d +++ b/src/sdp.d @@ -48,9 +48,7 @@ void main(string[] args) { mixin SiSUbiblio; mixin SiSUrgxInitFlags; mixin SiSUconfigSDLangHub; - mixin SiSUmarkupRaw; mixin outputHub; - auto raw = MarkupRaw(); /+ struct DocumentParts { string[string][] contents; @@ -196,7 +194,7 @@ void main(string[] args) { /+ ↓ read file (filename with path) +/ /+ ↓ file tuple of header and content +/ auto _0_header_1_body_content_2_insert_filelist_tuple = - raw.sourceContentSplitIntoHeaderAndBody(raw.sourceContent(fn_src), fn_src); + SiSUmarkupRaw!()(fn_src); static assert(!isTypeTuple!(_0_header_1_body_content_2_insert_filelist_tuple)); static assert(_0_header_1_body_content_2_insert_filelist_tuple.length==3); debug(header_and_body) { -- cgit v1.2.3