]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/input.h
*** empty log message ***
[thirdparty/gcc.git] / gcc / input.h
1 /* Source file current line is coming from. */
2 extern char *input_filename;
3
4 /* Top-level source file. */
5 extern char *main_input_filename;
6
7 /* Line number in current source file. */
8 extern int lineno;
9
10 /* Stream for reading from input file. */
11 extern FILE *finput;
12
13 struct file_stack
14 {
15 char *name;
16 struct file_stack *next;
17 int line;
18 /* This is for front ends that do include processing
19 internally rather than having a preprocessor do it.
20 Modula 2 needs this. */
21 FILE *fd;
22 };
23
24 /* Stack of currently pending input files.
25 The line member is not accurate for the innermost file on the stack. */
26 extern struct file_stack *input_file_stack;
27
28 /* Incremented on each change to input_file_stack. */
29 extern int input_file_stack_tick;