freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [16/27] incubator-freemarker git commit: Manual: Added "since 2.3.23" note to =+ and the like.
Date Sat, 03 Feb 2018 21:16:59 GMT
Manual: Added "since 2.3.23" note to =+ and the like.


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/252f3c32
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/252f3c32
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/252f3c32

Branch: refs/heads/2.3
Commit: 252f3c328fe93db818cf816e215cbc6ec62627c3
Parents: b349362
Author: ddekany <ddekany@apache.org>
Authored: Mon Jan 22 15:25:28 2018 +0100
Committer: ddekany <ddekany@apache.org>
Committed: Mon Jan 22 15:25:28 2018 +0100

----------------------------------------------------------------------
 src/manual/en_US/book.xml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/252f3c32/src/manual/en_US/book.xml
----------------------------------------------------------------------
diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml
index fd6956c..c61f02e 100644
--- a/src/manual/en_US/book.xml
+++ b/src/manual/en_US/book.xml
@@ -3985,6 +3985,13 @@ Creating mouse...
           overloaded to do string and sequence concatenation and hash
           addition. <literal>&lt;#assign x--&gt;</literal> is shorthand
for
           <literal>&lt;#assign x -= 1&gt;</literal>.</para>
+
+          <note>
+            <para>The shorthand operators (like <literal>+=</literal>,
+            <literal>++</literal>, etc.) are only supported since FreeMarker
+            2.3.23. Before that, you could only use <literal>=</literal> in
+            itself, as in <literal>&lt;#assign x = x + 1&gt;</literal>.</para>
+          </note>
         </section>
 
         <section xml:id="dgui_template_exp_parentheses">


Mime
View raw message