aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp.d
diff options
context:
space:
mode:
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);