projects
/
konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
aa6b835
)
fixed operator precedences in the doc
author
Fabien Potencier
<fabien.potencier@gmail.com>
Mon, 7 Nov 2011 13:46:38 +0000 (14:46 +0100)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Mon, 7 Nov 2011 13:46:38 +0000 (14:46 +0100)
doc/templates.rst
patch
|
blob
|
history
diff --git
a/doc/templates.rst
b/doc/templates.rst
index
c4599df
..
a955df2
100644
(file)
--- 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
~~~~~~~~