Pristine Ack-5.5
[Ack-5.5.git] / util / led / defs.h
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: defs.h,v 3.2 1994/06/24 10:34:35 ceriel Exp $ */
6
7 /*
8  * We need the S_EXT because we leave locals alone.
9  */
10 #define ISUNDEFINED(n)  (((n)->on_type & (S_TYP | S_EXT)) == (S_UND | S_EXT))
11 #define ISABSOLUTE(n)   (((n)->on_type & (S_TYP | S_EXT)) == (S_ABS | S_EXT))
12 #define ISCOMMON(n)     (((n)->on_type & (S_COM | S_EXT)) == (S_COM | S_EXT))
13
14 #define mustsavelocal(name)     (!((name)->on_type & S_SCT))