* src/reduce.h: New file.

Propagate its inclusion.
* src/reduce.c: Topological sort and other formatting changes.
(bool, TRUE, FALSE): Move their definition to...
* src/system.h: here.
This commit is contained in:
Akim Demaille
2000-10-02 08:04:25 +00:00
parent 8963a27bde
commit 015acc4834
5 changed files with 273 additions and 285 deletions

View File

@@ -148,3 +148,14 @@ extern int errno;
#define SETBIT(x, i) ((x)[(i)/BITS_PER_WORD] |= (1<<((i) % BITS_PER_WORD)))
#define RESETBIT(x, i) ((x)[(i)/BITS_PER_WORD] &= ~(1<<((i) % BITS_PER_WORD)))
#define BITISSET(x, i) (((x)[(i)/BITS_PER_WORD] & (1<<((i) % BITS_PER_WORD))) != 0)
/*-----------.
| Booleans. |
`-----------*/
#ifndef TRUE
# define TRUE (1)
# define FALSE (0)
#endif
typedef int bool;