diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-02-18 12:42:01 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | f0c4dcbc6b00dd66b115bd27953b7e54710b6ae3 (patch) | |
tree | f76801fa9b6608e52098b0425131326845c9cfe7 /src/sdp.d | |
parent | 0.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-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); |