em_ptyp.h 981 B

12345678910111213141516171819202122232425
  1. /* $Id$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. #define ptyp(x) (1<<(x-sp_fspec))
  7. #define cst_ptyp (ptyp(sp_cst2)|ptyp(sp_cst4))
  8. #define nof_ptyp (ptyp(sp_dlb1)|ptyp(sp_dlb2)|ptyp(sp_doff))
  9. #define sof_ptyp (ptyp(sp_dnam)|ptyp(sp_doff))
  10. #define lab_ptyp (ptyp(sp_dlb1)|ptyp(sp_dlb2)|ptyp(sp_dnam))
  11. #define ico_ptyp (ptyp(sp_icon))
  12. #define uco_ptyp (ptyp(sp_ucon))
  13. #define fco_ptyp (ptyp(sp_fcon))
  14. #define str_ptyp (ptyp(sp_scon))
  15. #define con_ptyp (str_ptyp|ico_ptyp|uco_ptyp|fco_ptyp)
  16. #define ilb_ptyp (ptyp(sp_ilb1)|ptyp(sp_ilb2))
  17. #define pro_ptyp (ptyp(sp_pnam))
  18. #define off_ptyp (ptyp(sp_doff))
  19. #define end_ptyp (ptyp(sp_cend))
  20. #define sym_ptyp (lab_ptyp)
  21. #define arg_ptyp (nof_ptyp|cst_ptyp|sof_ptyp)
  22. #define par_ptyp (arg_ptyp|ico_ptyp|uco_ptyp|fco_ptyp|pro_ptyp|ilb_ptyp)
  23. #define val_ptyp (par_ptyp|str_ptyp)
  24. #define any_ptyp (val_ptyp|end_ptyp)