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 <ddek...@apache.org>
Authored: Mon Jan 22 15:25:28 2018 +0100
Committer: ddekany <ddek...@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">

Reply via email to