1987-03-25 23:14:43 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1986-03-10 13:07:55 +00:00
|
|
|
/* $Header$ */
|
|
|
|
/* S W I T C H - T A B L E - S T R U C T U R E */
|
|
|
|
|
|
|
|
struct switch_hdr {
|
|
|
|
struct switch_hdr *next;
|
|
|
|
label sh_break;
|
|
|
|
label sh_default;
|
|
|
|
label sh_table;
|
|
|
|
int sh_nrofentries;
|
|
|
|
struct type *sh_type;
|
|
|
|
arith sh_lowerbd;
|
|
|
|
arith sh_upperbd;
|
|
|
|
struct case_entry *sh_entries;
|
|
|
|
};
|
|
|
|
|
1987-01-24 00:25:56 +00:00
|
|
|
/* ALLOCDEF "switch_hdr" 2 */
|
1986-03-10 13:07:55 +00:00
|
|
|
|
|
|
|
struct case_entry {
|
|
|
|
struct case_entry *next;
|
|
|
|
label ce_label;
|
|
|
|
arith ce_value;
|
|
|
|
};
|
|
|
|
|
1987-03-25 23:14:43 +00:00
|
|
|
/* ALLOCDEF "case_entry" 20 */
|