Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / cemcom.ansi / struct.str
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: struct.str,v 1.3 1994/06/27 08:02:50 ceriel Exp $ */
6 /* SELECTOR DESCRIPTOR */
7
8 struct sdef     {               /* for selectors */
9         struct sdef *next;
10         int sd_level;
11         struct idf *sd_idf;     /* its name */
12         struct sdef *sd_sdef;   /* the next selector */
13         struct type *sd_stype;  /* the struct it belongs to */
14         struct type *sd_type;   /* its type */
15         arith sd_offset;
16 };
17
18 /* ALLOCDEF "sdef" 50 */
19
20 struct tag      {               /* for struct-, union- and enum tags */
21         struct tag *next;
22         int tg_level;
23         int tg_busy;    /* non-zero during declaration of struct/union pack */
24         struct type *tg_type;
25 };
26
27
28 /* ALLOCDEF "tag" 10 */
29
30 struct sdef *idf2sdef();