bison-patches
[Top][All Lists]
Advanced

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

FYI [Main] Delete obsolete code about YYLTYPE.


From: Pascal Bart
Subject: FYI [Main] Delete obsolete code about YYLTYPE.
Date: Fri, 7 Sep 2001 18:51:10 +0000 (GMT)

Hello,

        This deletes dead code.  The work of this code will be provide by
header skeleton.

Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.209
diff -u -r1.209 ChangeLog
--- ChangeLog   2001/09/02 15:43:29     1.209
+++ ChangeLog   2001/09/07 16:42:31
@@ -1,3 +1,9 @@
+2001-09-07  Pascal Bart  <address@hidden>
+
+       * src/output.c (output): Delete call to reader_output_yylsp.
+       * src/reader.c (reader): Likewise.
+       * src/reader.h: Delete declaration of reader_output_yylsp.
+
 2001-09-02  Marc Autret  <address@hidden>

        * src/reader.c: Include muscle_tab.h.
Index: src/output.c
===================================================================
RCS file: /cvsroot/bison/bison/src/output.c,v
retrieving revision 1.55
diff -u -r1.55 output.c
--- src/output.c        2001/09/02 15:43:29     1.55
+++ src/output.c        2001/09/07 16:42:32
@@ -1087,9 +1087,6 @@
 {
   obstack_init (&output_obstack);

-#if 0
-  reader_output_yylsp (&table_obstack); */
-#endif
   free_itemsets ();

   output_token_translations ();
Index: src/reader.c
===================================================================
RCS file: /cvsroot/bison/bison/src/reader.c,v
retrieving revision 1.85
diff -u -r1.85 reader.c
--- src/reader.c        2001/09/02 15:43:29     1.85
+++ src/reader.c        2001/09/07 16:42:33
@@ -2031,12 +2031,11 @@
   readgram ();
   /* Some C code is given at the end of the grammar file. */
   read_additionnal_code ();
+
   /* Now we know whether we need the line-number stack.  If we do,
-     write its type into the .tab.h file.  */
-#if 0
-  if (defines_flag)
-    reader_output_yylsp (&defines_obstack);
-#endif
+     write its type into the .tab.h file.
+     This is no longer need with header skeleton.  */
+
   /* Assign the symbols their symbol numbers.  Write #defines for the
      token symbols into FDEFINES if requested.  */
   packsymbols ();
Index: src/reader.h
===================================================================
RCS file: /cvsroot/bison/bison/src/reader.h,v
retrieving revision 1.4
diff -u -r1.4 reader.h
--- src/reader.h        2001/09/02 15:43:29     1.4
+++ src/reader.h        2001/09/07 16:42:33
@@ -30,8 +30,6 @@
 extern void reader PARAMS ((void));


-extern void reader_output_yylsp PARAMS ((struct obstack *));
-
 extern int lineno;
 extern char **tags;
 extern short *user_toknums;

Pascal Bart (address@hidden)




reply via email to

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