From efa955eb10ac58ab3f63e0d470dbb7542003edce Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 7 Jul 2003 15:02:36 +0000 Subject: [PATCH] Bugfix: don't assign the same number to two different flags. [SVN r18961] --- historic/jam/src/rules.h | 6 +++++- jam_src/rules.h | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/historic/jam/src/rules.h b/historic/jam/src/rules.h index a66ec61c6..6d654cea6 100644 --- a/historic/jam/src/rules.h +++ b/historic/jam/src/rules.h @@ -140,7 +140,6 @@ struct _target { # define T_FLAG_LEAVES 0x0010 /* LEAVES applied */ # define T_FLAG_NOUPDATE 0x0020 /* NOUPDATE applied */ # define T_FLAG_VISITED 0x0040 /* CWM: Used in debugging */ -# define T_FLAG_INTERNAL 0x0080 /* internal INCLUDES node */ /* this flag was added to support a new builtin rule named "RMBAD" */ /* it is used to force removal of outdated targets whose dependencies @@ -154,6 +153,11 @@ struct _target { /* runs from a Jamfile.. */ /* */ # define T_FLAG_FAIL_EXPECTED 0x0100 /* FAIL_EXPECTED applied */ + +# define T_FLAG_INTERNAL 0x0200 /* internal INCLUDES node */ + + + #ifdef OPT_SEMAPHORE # define T_MAKE_SEMAPHORE 5 /* Special target type for semaphores */ #endif diff --git a/jam_src/rules.h b/jam_src/rules.h index a66ec61c6..6d654cea6 100644 --- a/jam_src/rules.h +++ b/jam_src/rules.h @@ -140,7 +140,6 @@ struct _target { # define T_FLAG_LEAVES 0x0010 /* LEAVES applied */ # define T_FLAG_NOUPDATE 0x0020 /* NOUPDATE applied */ # define T_FLAG_VISITED 0x0040 /* CWM: Used in debugging */ -# define T_FLAG_INTERNAL 0x0080 /* internal INCLUDES node */ /* this flag was added to support a new builtin rule named "RMBAD" */ /* it is used to force removal of outdated targets whose dependencies @@ -154,6 +153,11 @@ struct _target { /* runs from a Jamfile.. */ /* */ # define T_FLAG_FAIL_EXPECTED 0x0100 /* FAIL_EXPECTED applied */ + +# define T_FLAG_INTERNAL 0x0200 /* internal INCLUDES node */ + + + #ifdef OPT_SEMAPHORE # define T_MAKE_SEMAPHORE 5 /* Special target type for semaphores */ #endif