aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-02-18 12:42:01 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitf0c4dcbc6b00dd66b115bd27953b7e54710b6ae3 (patch)
treef76801fa9b6608e52098b0425131326845c9cfe7 /src/sdp.d
parent0.13.2 ref scope (return) (diff)
0.13.3 tuples, sdp & doc_abstraction (flag marked up links & endnotes)
Diffstat (limited to 'src/sdp.d')
-rwxr-xr-xsrc/sdp.d5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sdp.d b/src/sdp.d
index 9d19d38..2e3aedd 100755
--- a/src/sdp.d
+++ b/src/sdp.d
@@ -48,6 +48,7 @@ void main(string[] args) {
string[] fns_src;
string flag_action;
string arg_unrecognized;
+ enum dAM { abstraction, matters }
auto rgx = Rgx();
scope(success) {
debug(checkdoc) {
@@ -187,8 +188,8 @@ void main(string[] args) {
SiSUabstraction!()(fn_src, _opt_action_bool, env);
static assert(!isTypeTuple!(t));
static assert(t.length==2);
- auto doc_abstraction = t[0];
- auto doc_matters = t[1];
+ auto doc_abstraction = t[dAM.abstraction];
+ auto doc_matters = t[dAM.matters];
/+ ↓ debugs +/
if (doc_matters.opt_action_bool["verbose"]) {
SiSUabstractionSummary!()(doc_abstraction, doc_matters);