Branch: Tag:

2002-11-04

2002-11-04 17:02:44 by Marcus Comstedt <marcus@mc.pp.se>

Fixed incompatible definition of DO(NT)_BRANCH.

Rev: src/interpret.c:1.276

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpret.c,v 1.275 2002/11/02 15:25:57 grubba Exp $ + || $Id: interpret.c,v 1.276 2002/11/04 17:02:44 marcus Exp $   */      #include "global.h" - RCSID("$Id: interpret.c,v 1.275 2002/11/02 15:25:57 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.276 2002/11/04 17:02:44 marcus Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
866:    return branch_taken; \    }    - #define DO_BRANCH (branch_taken = -1) - #define DONT_BRANCH (branch_taken = 0) + #define DO_BRANCH() (branch_taken = -1) + #define DONT_BRANCH() (branch_taken = 0)   #else /* !OPCODE_INLINE_BRANCH */   #define TEST_OPCODE0 OPCODE0   #define TEST_OPCODE1 OPCODE1