diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-02-18 12:16:33 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | d582b4a66f5fc746b4d1e2935c5400df072df055 (patch) | |
tree | 207644c2a7d2ef798840281cb3f61982583d71aa /org/output.org | |
parent | 0.13.1 defaults renamed & reorganized (diff) |
0.13.2 ref scope (return)
Diffstat (limited to 'org/output.org')
-rw-r--r-- | org/output.org | 24 |
1 files changed, 12 insertions, 12 deletions
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"¶ <div class="substance"> @@ -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"¶ <p class="%s" indent="h%si%s"> @@ -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(); |