aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_debugs.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-02-18 12:16:33 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitd582b4a66f5fc746b4d1e2935c5400df072df055 (patch)
tree207644c2a7d2ef798840281cb3f61982583d71aa /org/ao_debugs.org
parent0.13.1 defaults renamed & reorganized (diff)
0.13.2 ref scope (return)
Diffstat (limited to 'org/ao_debugs.org')
-rw-r--r--org/ao_debugs.org14
1 files changed, 7 insertions, 7 deletions
diff --git a/org/ao_debugs.org b/org/ao_debugs.org
index 7a63a3a..16efa26 100644
--- a/org/ao_debugs.org
+++ b/org/ao_debugs.org
@@ -23,8 +23,8 @@
template SiSUdebugs() {
<<debug_imports>>
auto SiSUdebugs(S,T)(
- auto ref const S contents,
- auto ref T doc_matters,
+ auto return ref const S contents,
+ auto return ref T doc_matters,
) {
mixin SiSUrgxInit;
mixin InternalMarkup;
@@ -133,8 +133,8 @@ debug(dumpdoc) {
#+BEGIN_SRC d
debug(checkdoc) {
void out_segnames(S,T)(
- auto ref const S contents,
- auto ref T doc_matters,
+ auto return ref const S contents,
+ auto return ref T doc_matters,
) {
foreach (key; doc_matters.keys_seq_seg) {
if (contents[key].length > 1) {
@@ -156,7 +156,7 @@ debug(checkdoc) {
#+BEGIN_SRC d
debug(checkdoc) {
void out_toc(S)(
- auto ref const S contents,
+ auto return ref const S contents,
string key,
) {
if (contents[key].length > 1) {
@@ -180,7 +180,7 @@ debug(checkdoc) {
#+BEGIN_SRC d
debug(checkdoc) {
void out_endnotes(S)(
- auto ref const S contents,
+ auto return ref const S contents,
string key,
) {
if (contents[key].length > 1) {
@@ -202,7 +202,7 @@ debug(checkdoc) {
#+BEGIN_SRC d
debug(checkdoc) {
void out_bookindex(S)(
- auto ref const S contents,
+ auto return ref const S contents,
string key,
) {
if (contents[key].length > 1) {