diff options
Diffstat (limited to 'src/sdp.d')
| -rwxr-xr-x | src/sdp.d | 5 | 
1 files changed, 3 insertions, 2 deletions
| @@ -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); | 
