ack/util/cpp/file_info.h

21 lines
526 B
C
Raw Normal View History

1987-03-10 11:49:39 +00:00
/* $Header$ */
1987-03-09 19:15:41 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1987-01-06 15:16:53 +00:00
/* F I L E I N F O R M A T I O N S T R U C T U R E */
struct file_info {
unsigned int fil_lino;
char *fil_name;
char *fil_wdir;
1987-08-10 10:43:51 +00:00
int fil_nestlevel;
1987-01-06 15:16:53 +00:00
};
#define LineNumber finfo.fil_lino
#define FileName finfo.fil_name
#define WorkingDir finfo.fil_wdir
1987-08-10 10:43:51 +00:00
#define nestlevel finfo.fil_nestlevel
1987-01-06 15:16:53 +00:00
extern struct file_info finfo; /* input.c */