[PATCH v2] Make the 3rd operand of ternary '?:' bind tighter than binary '='
Yichun Zhang (agentzh)
agentzh@gmail.com
Tue Aug 28 17:41:00 GMT 2018
Hello!
On Tue, Aug 28, 2018 at 10:26 AM Yichun Zhang (agentzh) wrote:
> In the C language, the 3rd operand of the ternary operator binds tighter
> than the binary assignment operators. It is better for the stap language
> to be consistent with C in operator precedence.
>
Just for the record, I've just changed `parse_assignment ()` back to
`parse_expression ()` as per fche's suggestion and committed it to
master with his green light on IRC.
Best,
Yichun
More information about the Systemtap
mailing list