]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | /* |
28bf4b0b | 2 | ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001. |
885824d3 | 3 | ** See ../LICENSE for license information. |
4 | */ | |
5 | ||
6 | typedef enum {SU_STRUCT, SU_UNION} suKind; | |
7 | ||
28bf4b0b | 8 | typedef struct { |
885824d3 | 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); |