aboutsummaryrefslogtreecommitdiff
path: root/gcc-1.40/input.h
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-08-15 00:34:05 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-08-15 00:34:05 -0400
commit60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f (patch)
treefdc0be85a1ca35e34c3ae2c805fe9b718e3c1091 /gcc-1.40/input.h
parentdd8dfab51b832a654365ed00c06bf802ff628bfa (diff)
downloadlinux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.tar.gz
linux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.tar.bz2
linux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.zip
Added gccHEADmaster
Diffstat (limited to 'gcc-1.40/input.h')
-rw-r--r--gcc-1.40/input.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc-1.40/input.h b/gcc-1.40/input.h
new file mode 100644
index 0000000..270f267
--- /dev/null
+++ b/gcc-1.40/input.h
@@ -0,0 +1,22 @@
+/* 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;
+
+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;