/[bison]/bison/src/files.h
ViewVC logotype

Diff of /bison/src/files.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by akim, Tue Nov 12 08:05:59 2002 UTC revision 1.38 by eggert, Wed Dec 11 06:29:17 2002 UTC
# Line 21  Line 21 
21  #ifndef FILES_H_  #ifndef FILES_H_
22  # define FILES_H_  # define FILES_H_
23    
24  # include "struniq.h"  # include "uniqstr.h"
25    
26  /* File name specified with -o for the output file, or 0 if no -o.  */  /* File name specified with -o for the output file, or 0 if no -o.  */
27  extern char *spec_outfile;  extern char *spec_outfile;
# Line 55  extern struct obstack post_prologue_obst Line 55  extern struct obstack post_prologue_obst
55  /* The file name as given on the command line.  /* The file name as given on the command line.
56     Not named "input_file" because Flex uses this name for an argument,     Not named "input_file" because Flex uses this name for an argument,
57     and therefore GCC warns about a name clash. */     and therefore GCC warns about a name clash. */
58  extern struniq_t grammar_file;  extern uniqstr grammar_file;
59    
60  /* The current file name.  Might change with %include, or with #line.  */  /* The current file name.  Might change with %include, or with #line.  */
61  extern struniq_t current_file;  extern uniqstr current_file;
62    
63  void compute_output_file_names (void);  void compute_output_file_names (void);
64    
65  FILE *xfopen (const char *name, const char *mode);  FILE *xfopen (const char *name, const char *mode);
66  void xfclose (FILE *ptr);  void xfclose (FILE *ptr);
67    
 /* Is SUFFIX ending STRING?  */  
 int strsuffix (const char* string, const char* suffix);  
   
 /* Return a newly allocated string composed of the concatenation of  
    STRING1, and STRING2.  */  
 char* stringappend (const char* string1, const char* string2);  
   
68  /* Prefix used to generate output file names.  */  /* Prefix used to generate output file names.  */
69  extern char *short_base_name;  extern char *short_base_name;
70    

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26