33 |
/* File name pfx specified with -b, or 0 if no -b. */ |
/* File name pfx specified with -b, or 0 if no -b. */ |
34 |
extern char *spec_file_prefix; |
extern char *spec_file_prefix; |
35 |
|
|
36 |
|
/* --verbose. */ |
37 |
|
extern char *spec_verbose_file; |
38 |
|
|
39 |
|
/* File name specified for the output VCG graph. */ |
40 |
|
extern char *spec_graph_file; |
41 |
|
|
42 |
|
/* File name specified with --defines. */ |
43 |
|
extern char *spec_defines_file; |
44 |
|
|
45 |
/* Read grammar specifications. */ |
/* Read grammar specifications. */ |
46 |
extern FILE *finput; |
extern FILE *finput; |
47 |
|
|
48 |
|
|
49 |
/* Output all the action code; precise form depends on which parser. */ |
/* Output all the action code; precise form depends on which parser. */ |
50 |
extern struct obstack action_obstack; |
extern struct obstack action_obstack; |
51 |
|
|
65 |
/* The verbose output. */ |
/* The verbose output. */ |
66 |
extern struct obstack output_obstack; |
extern struct obstack output_obstack; |
67 |
|
|
|
/* The VCG graph output. */ |
|
|
extern struct obstack graph_obstack; |
|
|
|
|
68 |
extern char *infile; |
extern char *infile; |
69 |
extern char *attrsfile; |
extern char *attrsfile; |
70 |
|
|
|
extern const char *src_extension; |
|
|
extern const char *header_extension; |
|
|
|
|
71 |
void open_files PARAMS((void)); |
void open_files PARAMS((void)); |
72 |
|
void close_files PARAMS((void)); |
73 |
|
|
74 |
|
void compute_output_file_names PARAMS((void)); |
75 |
void output_files PARAMS((void)); |
void output_files PARAMS((void)); |
76 |
|
|
77 |
FILE *xfopen PARAMS ((const char *name, const char *mode)); |
FILE *xfopen PARAMS ((const char *name, const char *mode)); |