bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: [Main] Delete obsolete prototype and call.


From: Pascal Bart
Subject: FYI: [Main] Delete obsolete prototype and call.
Date: Fri, 31 Aug 2001 10:02:04 +0000 (GMT)

Hello,

        This patch deletes any obsoletes stuff with output_trailers and
output_headers.  Robert deleted this functions, so prototypes and calls
aren't need.

Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.197
diff -u -r1.197 ChangeLog
--- ChangeLog   2001/08/30 18:51:56     1.197
+++ ChangeLog   2001/08/31 07:56:02
@@ -1,3 +1,10 @@
+2001-08-31  Pascal Bart  <address@hidden>
+
+       * 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  <address@hidden>

        * src/main.c: Include macrotab.h.
Index: src/output.h
===================================================================
RCS file: /cvsroot/bison/bison/src/output.h,v
retrieving revision 1.2
diff -u -r1.2 output.h
--- src/output.h        2000/11/07 16:28:47     1.2
+++ src/output.h        2001/08/31 07:56:02
@@ -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));

Index: src/reader.c
===================================================================
RCS file: /cvsroot/bison/bison/src/reader.c,v
retrieving revision 1.79
diff -u -r1.79 reader.c
--- src/reader.c        2001/08/30 00:41:37     1.79
+++ src/reader.c        2001/08/31 07:56:03
@@ -2043,10 +2043,6 @@
      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 @@
 #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

Pascal Bart (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]