decspecs.h.new 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. #ifndef LANG_CEM_CEMCOM_ANSI_DECSPECS_H
  2. #define LANG_CEM_CEMCOM_ANSI_DECSPECS_H
  3. /*
  4. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  5. * See the copyright notice in the ACK home directory, in the file "Copyright".
  6. */
  7. /* $Id$ */
  8. /* DECLARATION SPECIFIER DEFINITION */
  9. struct decspecs {
  10. struct decspecs *next;
  11. struct type *ds_type; /* single type */
  12. int ds_notypegiven; /* set if type not given explicitly */
  13. int ds_typedef; /* 1 if type was a user typedef */
  14. int ds_sc_given; /* 1 if the st. class is explicitly given */
  15. int ds_sc; /* storage class, given or implied */
  16. int ds_size; /* LONG, SHORT or 0 */
  17. int ds_unsigned; /* SIGNED, UNSIGNED or 0 */
  18. int ds_typequal; /* type qualifiers - see type.str */
  19. };
  20. extern struct decspecs null_decspecs;
  21. void do_decspecs(struct decspecs *ds);
  22. struct type *qualifier_type(struct type *tp, int typequal);
  23. /* lang/cem/cemcom.ansi/decspecs.c */
  24. void do_decspecs(struct decspecs *ds);
  25. struct type *qualifier_type(struct type *tp, int typequal);
  26. #endif /* LANG_CEM_CEMCOM_ANSI_DECSPECS_H */