From d582b4a66f5fc746b4d1e2935c5400df072df055 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 18 Feb 2017 12:16:33 -0500 Subject: 0.13.2 ref scope (return) --- org/output.org | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'org/output.org') diff --git a/org/output.org b/org/output.org index 9853d50..b77449d 100644 --- a/org/output.org +++ b/org/output.org @@ -395,7 +395,7 @@ auto tail() { #+name: xhtml_format_objects #+BEGIN_SRC d auto toc(O)( - auto ref const O obj, + auto return ref const O obj, ) { string o; o = format(q"¶
@@ -417,7 +417,7 @@ auto toc(O)( #+name: xhtml_format_objects #+BEGIN_SRC d auto heading(O)( - auto ref const O obj, + auto return ref const O obj, ) { auto tags = _xhtml_anchor_tags(obj.anchor_tags); string o; @@ -462,7 +462,7 @@ auto heading(O)( #+name: xhtml_format_objects #+BEGIN_SRC d auto para(O)( - auto ref const O obj, + auto return ref const O obj, ) { auto tags = _xhtml_anchor_tags(obj.anchor_tags); string o; @@ -504,7 +504,7 @@ auto para(O)( #+name: xhtml_format_objects #+BEGIN_SRC d auto nugget(O)( - auto ref const O obj, + auto return ref const O obj, ) { string o; if (obj.obj_cite_number.empty) { @@ -539,7 +539,7 @@ auto nugget(O)( #+name: xhtml_format_objects #+BEGIN_SRC d auto endnote(O)( - auto ref const O obj, + auto return ref const O obj, ) { string o; o = format(q"¶

@@ -559,7 +559,7 @@ auto endnote(O)( #+name: xhtml_format_objects_code #+BEGIN_SRC d auto code(O)( - auto ref const O obj, + auto return ref const O obj, ) { string o; if (obj.obj_cite_number.empty) { @@ -609,8 +609,8 @@ template outputHTML() { #+name: output_html_scroll #+BEGIN_SRC d void scroll(D,I)( - auto ref const D doc_abstraction, - auto ref I doc_matters, + auto return ref const D doc_abstraction, + auto return ref I doc_matters, ) { mixin SiSUrgxInit; auto xhtml_format = outputXHTMLs(); @@ -783,8 +783,8 @@ void scroll_write_output(Fn,C)( #+name: output_html_seg #+BEGIN_SRC d void seg(D,I)( - auto ref const D doc_abstraction, - auto ref I doc_matters, + auto return ref const D doc_abstraction, + auto return ref I doc_matters, ) { mixin SiSUrgxInit; auto rgx = Rgx(); @@ -2495,8 +2495,8 @@ obj.segment_anchor_tag, // lev < 4 [no link]; lev == 4 [filename] markup.xhtml #+name: output_epub_xhtml_seg #+BEGIN_SRC d void outputEPub(D,I)( - auto ref const D doc_abstraction, - auto ref I doc_matters, + auto return ref const D doc_abstraction, + auto return ref I doc_matters, ) { mixin SiSUrgxInit; auto xhtml_format = outputXHTMLs(); -- cgit v1.2.3