Initial revision
[official-gcc.git] / gcc / input.h
blob8c326f9e6a7505454f6451166d3bdddc34d5f5b1
1 /* Source file current line is coming from. */
2 extern char *input_filename;
4 /* Top-level source file. */
5 extern char *main_input_filename;
7 /* Line number in current source file. */
8 extern int lineno;
10 /* Stream for reading from input file. */
11 extern FILE *finput;
13 struct file_stack
15 char *name;
16 struct file_stack *next;
17 int line;
20 /* Stack of currently pending input files.
21 The line member is not accurate for the innermost file on the stack. */
22 extern struct file_stack *input_file_stack;
24 /* Incremented on each change to input_file_stack. */
25 extern int input_file_stack_tick;