switch.str 614 B

1234567891011121314151617181920212223242526272829
  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$ */
  6. /* S W I T C H - T A B L E - S T R U C T U R E */
  7. struct switch_hdr {
  8. struct switch_hdr *next;
  9. label sh_break;
  10. label sh_default;
  11. label sh_table;
  12. int sh_nrofentries;
  13. struct type *sh_type;
  14. struct expr *sh_expr;
  15. arith sh_lowerbd;
  16. arith sh_upperbd;
  17. struct case_entry *sh_entries;
  18. };
  19. /* ALLOCDEF "switch_hdr" 2 */
  20. struct case_entry {
  21. struct case_entry *next;
  22. label ce_label;
  23. arith ce_value;
  24. };
  25. /* ALLOCDEF "case_entry" 20 */