Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / cemcom / switch.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: switch.str,v 3.5 1994/06/24 12:06:31 ceriel Exp $ */
6 /*              S W I T C H - T A B L E - S T R U C T U R E             */
7
8 struct switch_hdr       {
9         struct switch_hdr *next;
10         label sh_break;
11         label sh_default;
12         label sh_table;
13         int sh_nrofentries;
14         struct type *sh_type;
15         struct expr *sh_expr;
16         arith sh_lowerbd;
17         arith sh_upperbd;
18         struct case_entry *sh_entries;
19 };
20
21 /* ALLOCDEF "switch_hdr" 2 */
22
23 struct case_entry       {
24         struct case_entry *next;
25         label ce_label;
26         arith ce_value;
27 };
28
29 /* ALLOCDEF "case_entry" 20 */