1 /* File names and variables for bison, 
   2    Copyright 1984, 1989, 2000, 2001 Free Software Foundation, Inc. 
   4    This file is part of Bison, the GNU Compiler Compiler. 
   6    Bison is free software; you can redistribute it and/or modify 
   7    it under the terms of the GNU General Public License as published by 
   8    the Free Software Foundation; either version 2, or (at your option) 
  11    Bison is distributed in the hope that it will be useful, 
  12    but WITHOUT ANY WARRANTY; without even the implied warranty of 
  13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
  14    GNU General Public License for more details. 
  16    You should have received a copy of the GNU General Public License 
  17    along with Bison; see the file COPYING.  If not, write to 
  18    the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
  19    Boston, MA 02111-1307, USA.  */ 
  24 /* File name specified with -o for the output file, or 0 if no -o.  */ 
  25 extern char *spec_outfile
; 
  27 /* File name for the parser (i.e., the one above, or its default.) */ 
  28 extern char *parser_file_name
; 
  31 extern const char *spec_name_prefix
; 
  33 /* File name pfx specified with -b, or 0 if no -b.  */ 
  34 extern char *spec_file_prefix
; 
  37 extern char *spec_verbose_file
; 
  39 /* File name specified for the output VCG graph.  */ 
  40 extern char *spec_graph_file
; 
  42 /* File name specified with --defines.  */ 
  43 extern char *spec_defines_file
; 
  45 /* Read grammar specifications. */ 
  49 /* Output all the action code; precise form depends on which parser. */ 
  50 extern struct obstack action_obstack
; 
  52 /* If semantic parser, output a .h file that defines YYSTYPE... */ 
  53 extern struct obstack attrs_obstack
; 
  55 /* ... and output yyguard, containing all the guard code. */ 
  56 extern struct obstack guard_obstack
; 
  58 /* The verbose output. */ 
  59 extern struct obstack output_obstack
; 
  62 extern char *attrsfile
; 
  64 void compute_output_file_names 
PARAMS((void)); 
  66 FILE *xfopen 
PARAMS ((const char *name
, const char *mode
)); 
  67 int xfclose 
PARAMS ((FILE *ptr
)); 
  69 /* Compute the double inclusion guard's name. */ 
  70 char *compute_header_macro 
PARAMS ((void)); 
  72 const char *skeleton_find 
PARAMS ((const char *envvar
, 
  73                                    const char *skeleton_name
)); 
  74 #endif /* !FILES_H_ */