file_info.h 556 B

1234567891011121314151617181920212223
  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. /* F I L E I N F O R M A T I O N S T R U C T U R E */
  7. #ifndef UTIL_CPP_FILE_INFO_H
  8. #define UTIL_CPP_FILE_INFO_H
  9. struct file_info {
  10. unsigned int fil_lino;
  11. char *fil_name;
  12. char *fil_wdir;
  13. };
  14. #define LineNumber finfo.fil_lino
  15. #define FileName finfo.fil_name
  16. #define WorkingDir finfo.fil_wdir
  17. extern struct file_info finfo; /* input.c */
  18. #endif /* UTIL_CPP_FILE_INFO_H */