Commit | Line | Data |
---|---|---|
14b15ad6 WJ |
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 | struct file_stack | |
11 | { | |
12 | char *name; | |
13 | struct file_stack *next; | |
14 | int line; | |
15 | }; | |
16 | ||
17 | /* Stack of currently pending input files. | |
18 | The line member is not accurate for the innermost file on the stack. */ | |
19 | extern struct file_stack *input_file_stack; | |
20 | ||
21 | /* Incremented on each change to input_file_stack. */ | |
22 | extern int input_file_stack_tick; |