reference guide: “precedence of operators” table should be labeled to be incomprehensive
Original Reporter info from Mantis: kays @KaiBurghardt
-
Reporter name: Kai Burghardt
Original Reporter info from Mantis: kays @KaiBurghardt
- Reporter name: Kai Burghardt
Description:
According to Michael's comment in #35334 (closed) the only table regarding precedence of operators refers to mathematical operators.
a) Please label the table accordingly.
b) Remove non-mathematical operators (i.e. as
and @
) from the table.
Additional information:
Additionally, I noticed that the remark the exponentiation operator is not defined by default is sort of misplaced. The attached patch suggests a better position and adds the exponentiation operator to the table listing binary arithmetic operators.
Furthermore, some wording in the expressions chapter are “sub-optimal.” That means expressions aren't “executed” but “evaluated” and the precedence discussion refers to sub-expressions, not the whole expressions per se.
See also my earlier #35321 (closed)
Mantis conversion info:
- Mantis ID: 35417
- OS: GNU/Linux
- OS Build: 4.2.0
- Build: 3.0.4+dfsg-11 [2017/12/30]
- Platform: x86_64
- Version: 3.0.4
- Fixed in version: 3.3.1
- Fixed in revision: 1643 (#a714df33)
- Target version: 3.2.0