From 04bc0698cc7ac5caef265d2c0d8c878dd6b3ebbf Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 1 May 2013 08:53:54 +0200 Subject: [PATCH] added missing operators in the precedence docs (closes #1057) --- doc/templates.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/templates.rst b/doc/templates.rst index f87b036c2..b6857a5c9 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -557,7 +557,8 @@ even if you're not working with PHP you should feel comfortable with it. The operator precedence is as follows, with the lowest-precedence operators listed first: ``b-and``, ``b-xor``, ``b-or``, ``or``, ``and``, ``==``, ``!=``, ``<``, ``>``, ``>=``, ``<=``, ``in``, ``..``, ``+``, - ``-``, ``~``, ``*``, ``/``, ``//``, ``%``, ``is``, and ``**``. + ``-``, ``~``, ``*``, ``/``, ``//``, ``%``, ``is``, ``**``, ``|``, ``[]``, + and ``.``. Literals ~~~~~~~~