Pristine Ack-5.5
[Ack-5.5.git] / util / led / scan.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: scan.h,v 3.3 1994/06/24 10:35:20 ceriel Exp $ */
6
7 /*
8  * Offsets of the pieces of the input module in core.
9  */
10
11 #define IND_HEAD        ((ind_t)0)
12 #define IND_SECT(x)     (IND_HEAD    +                sizeof(struct outhead))
13 #define IND_NAME(x)     (IND_SECT(x) + (x).oh_nsect * sizeof(struct outsect))
14 #define IND_CHAR(x)     (IND_NAME(x) + (x).oh_nname * sizeof(struct outname))
15 #ifdef SYMDBUG
16 #define OFF_DBUG(x)     (OFF_CHAR(x) + (x).oh_nchar)
17 #endif /* SYMDBUG */