diff options
author | Richard Stallman <rms@gnu.org> | 1990-08-20 17:49:07 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1990-08-20 17:49:07 +0000 |
commit | 1fa2d22f8ededc1d44b12ba124b7e3bc37433635 (patch) | |
tree | 5cc8737f0a0faf77125f5ad410219fb81c1037a1 /gcc/input.h | |
parent | bf1cde7cd50ae506f70fe65be617a079e84e8186 (diff) | |
download | gcc-1fa2d22f8ededc1d44b12ba124b7e3bc37433635.zip gcc-1fa2d22f8ededc1d44b12ba124b7e3bc37433635.tar.gz gcc-1fa2d22f8ededc1d44b12ba124b7e3bc37433635.tar.bz2 |
Initial revision
From-SVN: r14
Diffstat (limited to 'gcc/input.h')
-rw-r--r-- | gcc/input.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gcc/input.h b/gcc/input.h new file mode 100644 index 0000000..8c326f9 --- /dev/null +++ b/gcc/input.h @@ -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; |