file_info.h 583 B

1234567891011121314151617181920212223
  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. /* 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 LANG_CEM_CPP_ANSI_FILE_INFO_H
  8. #define LANG_CEM_CPP_ANSI_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 /* LANG_CEM_CPP_ANSI_FILE_INFO_H */