|
|
1.1.1.2 ! root 1: /* Declarations for variables relating to reading the source file. ! 2: Used by parsers, lexical analyzers, and error message routines. ! 3: ! 4: Copyright (C) 1993 Free Software Foundation, Inc. ! 5: ! 6: This file is part of GNU CC. ! 7: ! 8: GNU CC is free software; you can redistribute it and/or modify ! 9: it under the terms of the GNU General Public License as published by ! 10: the Free Software Foundation; either version 2, or (at your option) ! 11: any later version. ! 12: ! 13: GNU CC is distributed in the hope that it will be useful, ! 14: but WITHOUT ANY WARRANTY; without even the implied warranty of ! 15: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 16: GNU General Public License for more details. ! 17: ! 18: You should have received a copy of the GNU General Public License ! 19: along with GNU CC; see the file COPYING. If not, write to ! 20: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ! 21: 1.1 root 22: /* Source file current line is coming from. */ 23: extern char *input_filename; 24: 25: /* Top-level source file. */ 26: extern char *main_input_filename; 27: 28: /* Line number in current source file. */ 29: extern int lineno; 30: 31: /* Stream for reading from input file. */ 32: extern FILE *finput; 33: 34: struct file_stack 35: { 36: char *name; 37: struct file_stack *next; 38: int line; 39: }; 40: 41: /* Stack of currently pending input files. 42: The line member is not accurate for the innermost file on the stack. */ 43: extern struct file_stack *input_file_stack; 44: 45: /* Incremented on each change to input_file_stack. */ 46: extern int input_file_stack_tick;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.