From: Fabien Potencier Date: Mon, 7 Nov 2011 13:46:38 +0000 (+0100) Subject: fixed operator precedences in the doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=24eea1615a7fcb4ed25ac959dc72fbfbe3756ae9;p=konrad%2Ftwig.git fixed operator precedences in the doc --- diff --git a/doc/templates.rst b/doc/templates.rst index c4599df..a955df2 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -450,9 +450,9 @@ even if you're not working with PHP you should feel comfortable with it. .. note:: The operator precedence is as follows, with the lowest-precedence - operators listed first: ``or``, ``and``, ``==``, ``!=``, ``<``, ``>``, - ``>=``, ``<=``, ``in``, ``+``, ``-``, ``~``, ``*``, ``/``, ``%``, ``//``, - ``is``, ``..``, and ``**``. + operators listed first: ``&``, ``^``, ``|``, ``or``, ``and``, ``==``, + ``!=``, ``<``, ``>``, ``>=``, ``<=``, ``in``, ``..``, ``+``, ``-``, ``~``, + ``*``, ``/``, ``//``, ``%``, ``is``, and ``**``. Literals ~~~~~~~~