Branch: Tag:

2001-01-14

2001-01-14 20:05:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Oops, use is_lt() since is_ge() doesn't exist.

Rev: src/interpret_functions.h:1.41

1:   /* -  * $Id: interpret_functions.h,v 1.40 2001/01/14 20:02:42 grubba Exp $ +  * $Id: interpret_functions.h,v 1.41 2001/01/14 20:05:26 grubba Exp $    *    * Opcode definitions for the interpreter.    */
935:    */   OPCODE0_JUMP(F_LOOP, "loop") /* loopcnt */   { -  /* Use ge and 1 to be able to reuse the 1 for the subtraction. */ +  /* Use >= and 1 to be able to reuse the 1 for the subtraction. */    push_int(1); -  if (is_ge(sp-2, sp-1)) { +  if (!is_lt(sp-2, sp-1)) {    o_subtract();    DOJUMP();    } else {