[Templates] [Sent for Chris Nandor] Operator Precedence Broken

Chris Nandor pudge@pobox.com
Thu, 7 Mar 2002 12:20:13 -0500


At 12:05 -0500 2002.03.07, advise@sunbusters.com wrote:
>  [% x = 1 || ( 2 && 3 ) %]
>
>It seems that the above is parsed incorrectly, TT does:
>
>  [% x = ( 1 || 2 ) && 3 %]

Sorry, that's slightly off.  The two above are parsed correctly.  However,
with NO parens, it is parsed as the latter, instead of the former.

-- 
Chris Nandor                      pudge@pobox.com    http://pudge.net/
Open Source Development Network    pudge@osdn.com     http://osdn.com/