From 6c686258e3fa074584b9f205c694d4bf88e1cb1e Mon Sep 17 00:00:00 2001 From: Pascal Bart Date: Fri, 31 Aug 2001 08:00:56 +0000 Subject: [PATCH] * 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. --- ChangeLog | 7 +++++++ src/output.h | 6 ------ src/reader.c | 5 ----- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index a26be138..443e3803 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-08-31 Pascal Bart + + * 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 * src/main.c: Include macrotab.h. diff --git a/src/output.h b/src/output.h index 7bd3184a..9a2dcb8f 100644 --- a/src/output.h +++ b/src/output.h @@ -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)); diff --git a/src/reader.c b/src/reader.c index d7145da7..e46d5fab 100644 --- a/src/reader.c +++ b/src/reader.c @@ -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 -- 2.47.2