Patrick R. Michaud wrote:
On Wed, May 11, 2005 at 10:17:30AM +0200, Leopold Toetsch wrote:
So the right thing for the logical functions seems to be, to just return
the left or right side according to their boolean value (or return a new
Boolean false in case of xor), i.e. you get a reference to one of the
PMCs usually.
This sounds good to me.
Done, rev 8061
* logical ops C<or>, C<and>, C<xor> return the left or right PMC
* C<xor> may return a new scalar, which is set to VTABLE_set_bool(..,0)
(this is more a short term hack until we have HLL type mappings)
* This invalidates current bytecode as the MMD function numbers did change
Please make realclean; ...
Pm
leo