scan.h 565 B

1234567891011121314151617
  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. /*
  7. * Offsets of the pieces of the input module in core.
  8. */
  9. #define IND_HEAD ((ind_t)0)
  10. #define IND_SECT(x) (IND_HEAD + sizeof(struct outhead))
  11. #define IND_NAME(x) (IND_SECT(x) + (x).oh_nsect * sizeof(struct outsect))
  12. #define IND_CHAR(x) (IND_NAME(x) + (x).oh_nname * sizeof(struct outname))
  13. #ifdef SYMDBUG
  14. #define OFF_DBUG(x) (OFF_CHAR(x) + (x).oh_nchar)
  15. #endif /* SYMDBUG */