Fix the operator precedence table: exponentiation binds tighter than
negation. This closes SF bug #421999.
This commit is contained in:
parent
251ebe7d30
commit
b8ac0096b2
|
@ -939,11 +939,11 @@ left).
|
|||
\hline
|
||||
\lineii{\code{*}, \code{/}, \code{\%}}
|
||||
{Multiplication, division, remainder}
|
||||
\hline
|
||||
\lineii{\code{**}} {Exponentiation}
|
||||
\hline
|
||||
\lineii{\code{+\var{x}}, \code{-\var{x}}} {Positive, negative}
|
||||
\lineii{\code{\~\var{x}}} {Bitwise not}
|
||||
\hline
|
||||
\lineii{\code{**}} {Exponentiation}
|
||||
\hline
|
||||
\lineii{\code{\var{x}.\var{attribute}}} {Attribute reference}
|
||||
\lineii{\code{\var{x}[\var{index}]}} {Subscription}
|
||||
|
|
Loading…
Reference in New Issue