[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "or" shortcut does not work - but why?
- From: Andreas Rozek <Rozek@...>
- Date: Mon, 18 Jun 2007 22:15:16 +0200
Ok, I got it:
After changing
case OP_TEST: {
if (l_isfalse(ra) != GETARG_C(i))
dojump(L, pc, GETARG_sBx(*pc));
pc++;
continue;
}
to
case OP_TEST: {
if (!(l_isfalse(ra) == GETARG_C(i))) {
dojump(L, pc, GETARG_sBx(*pc));
pc++;
continue;
}
Lua now behaves as foreseen (deep sigh)
It seems that I ran across a really weird compiler bug! Thanks
for all your help!
Unfortunately, this may mean that I'll have to change every in-
equality test in every Lua source and header file :-(
Does anybody know a tool applying such a change automatically?
(well, I don't really expect that)
It seems as if I'll have to spend a few hours modifying the
files manually...
Kind regards,
Andreas Rozek Phone: ++49 (7031) 436 5784
Brunnenstraße 30/2 Mobile: ++49 (151) 172 879 18
D-71032 Böblingen EMail: Andreas.Rozek@gmx.de
Germany URL: http://www.Andreas-Rozek.de