struct.str 731 B

123456789101112131415161718192021222324252627282930
  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. /* SELECTOR DESCRIPTOR */
  7. struct sdef { /* for selectors */
  8. struct sdef *next;
  9. int sd_level;
  10. struct idf *sd_idf; /* its name */
  11. struct sdef *sd_sdef; /* the next selector */
  12. struct type *sd_stype; /* the struct it belongs to */
  13. struct type *sd_type; /* its type */
  14. arith sd_offset;
  15. };
  16. /* ALLOCDEF "sdef" 50 */
  17. struct tag { /* for struct-, union- and enum tags */
  18. struct tag *next;
  19. int tg_level;
  20. int tg_busy; /* non-zero during declaration of struct/union pack */
  21. struct type *tg_type;
  22. };
  23. /* ALLOCDEF "tag" 10 */
  24. struct sdef *idf2sdef();