lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Oops...

>Just to be sure, print also the value of (l_isfalse == GETARG_C).

Ok, the new "code decoration" looks as follows:

      case OP_TEST: {
printf("TEST: (l_isfalse != GETARG_C) = %d\n",(l_isfalse(ra) != GETARG_C
(i)));
        if (l_isfalse(ra) != GETARG_C(i)) {
printf("TEST: we are jumping!\n");
          dojump(L, pc, GETARG_sBx(*pc)); };
        pc++;
        continue;
      }

and produces the following result:

TEST: (l_isfalse != GETARG_C) = 0
TEST: we are jumping!

I guess, we are getting closer!

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