Initial revision

From-SVN: r14
This commit is contained in:
Richard Stallman 1990-08-20 17:49:07 +00:00
parent bf1cde7cd5
commit 1fa2d22f8e

25
gcc/input.h Normal file
View File

@ -0,0 +1,25 @@
/* Source file current line is coming from. */
extern char *input_filename;
/* Top-level source file. */
extern char *main_input_filename;
/* Line number in current source file. */
extern int lineno;
/* Stream for reading from input file. */
extern FILE *finput;
struct file_stack
{
char *name;
struct file_stack *next;
int line;
};
/* Stack of currently pending input files.
The line member is not accurate for the innermost file on the stack. */
extern struct file_stack *input_file_stack;
/* Incremented on each change to input_file_stack. */
extern int input_file_stack_tick;