]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001. | |
3 | ** See ../LICENSE for license information. | |
4 | */ | |
5 | ||
6 | typedef enum {SU_STRUCT, SU_UNION} suKind; | |
7 | ||
8 | typedef struct { | |
9 | suKind kind; | |
10 | ltoken tok; /* also encodes if it's struct or union */ | |
11 | ltoken opttagid; | |
12 | sort sort; | |
13 | /*@owned@*/ stDeclNodeList structdecls; | |
14 | } *strOrUnionNode; | |
15 | ||
16 | extern /*@unused@*/ cstring | |
17 | strOrUnionNode_unparse (/*@null@*/ strOrUnionNode p_n); |