* src/reader.c (reader): Delete obsolete call to function

output_trailers and output_headers.
* src/output.h: Remove obsolete functions prototypes of output_headers
and output_trailers.
This commit is contained in:
Pascal Bart
2001-08-31 08:00:56 +00:00
parent c111e171cd
commit 6c686258e3
3 changed files with 7 additions and 11 deletions

View File

@@ -1,3 +1,10 @@
2001-08-31 Pascal Bart <pascal.bart@epita.fr>
* src/reader.c (reader): Delete obsolete call to function
output_trailers and output_headers.
* src/output.h: Remove obsolete functions prototypes of output_headers
and output_trailers.
2001-08-30 Pascal Bart <pascal.bart@epita.fr>
* src/main.c: Include macrotab.h.

View File

@@ -21,12 +21,6 @@
#ifndef OUTPUT_H_
# define OUTPUT_H_
/* Output constant strings to the beginning of certain files. */
void output_headers PARAMS ((void));
/* Output constant strings to the ends of certain files. */
void output_trailers PARAMS ((void));
/* Output the parsing tables and the parser code to FTABLE. */
void output PARAMS ((void));

View File

@@ -2043,10 +2043,6 @@ reader (void)
TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left,
etc. found there. */
read_declarations ();
/* Start writing the guard and action files, if they are needed. */
#if 0
output_headers ();
#endif
/* Read in the grammar, build grammar in list form. Write out
guards and actions. */
readgram ();
@@ -2060,7 +2056,6 @@ reader (void)
#endif
/* Write closing delimiters for actions and guards. */
#if 0
output_trailers ();
if (locations_flag)
obstack_sgrow (&table_obstack, "#define YYLSP_NEEDED 1\n\n");
#endif