From 17b1e024c33bac309c36f439fe267a384548a8b8 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 1 Dec 2017 11:36:01 -0500 Subject: 0.22.0 document matters & pod matters structs - better integrated, redundancy removed --- src/sdp/sdp.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sdp/sdp.d') diff --git a/src/sdp/sdp.d b/src/sdp/sdp.d index 34f11d9..30f8d03 100755 --- a/src/sdp/sdp.d +++ b/src/sdp/sdp.d @@ -303,14 +303,14 @@ void main(string[] args) { "home" : environment["HOME"], ]; auto _manifest = PodManifest!()(); - auto _manifest_plus = PodManifestAndSrcFile!()(_opt_action, _env); + auto _manifest_plus = PodMatters!()(_opt_action, _env); auto _manifests = [ _manifest_plus ]; foreach(arg; args[1..$]) { _manifest = PodManifest!()(arg); if (arg.match(rgx.flag_action)) { flag_action ~= " " ~ arg; // flags not taken by getopt } else if (arg.match(rgx.src_pth)) { - _manifests ~= PodManifestAndSrcFile!()(_opt_action, _env, arg, arg); // gather input markup source file names for processing + _manifests ~= PodMatters!()(_opt_action, _env, arg, arg); // gather input markup source file names for processing } else if (_manifest.pod_manifest_file_with_path) { string contents_location_raw_; string contents_location_; @@ -353,7 +353,7 @@ void main(string[] args) { || (contents_location_pth_).match(lang_rgx_) ) { auto _fns = (((tmp_dir_).chainPath(contents_location_pth_)).array).to!(string); - _manifest_plus = PodManifestAndSrcFile!()(_opt_action, _env, arg, _fns, contents_locations_arr); + _manifest_plus = PodMatters!()(_opt_action, _env, arg, _fns, contents_locations_arr); _manifests ~= _manifest_plus; // TODO how to capture? } } -- cgit v1.2.3