[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bison-1_29-branch] repair-sym.patch
From: |
marc-alexandre autret |
Subject: |
[bison-1_29-branch] repair-sym.patch |
Date: |
Sat, 22 Sep 2001 23:09:35 +0000 (GMT) |
Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.173.2.49
diff -u -r1.173.2.49 ChangeLog
--- ChangeLog 2001/09/22 18:13:24 1.173.2.49
+++ ChangeLog 2001/09/22 21:10:43
@@ -1,3 +1,9 @@
+2001-09-22 Marc Autret <address@hidden>
+
+ * src/reader.c (reader): Remove call to free_symtab ().
+ * src/main.c (main): Call it here.
+ Include symtab.h.
+
2001-09-22 Akim Demaille <address@hidden>
* src/conflicts.c (finalize_conflicts): Rename as...
Index: src/main.c
===================================================================
RCS file: /cvsroot/bison/bison/src/main.c,v
retrieving revision 1.30.2.1
diff -u -r1.30.2.1 main.c
--- src/main.c 2001/09/22 18:13:24 1.30.2.1
+++ src/main.c 2001/09/22 21:10:43
@@ -34,6 +34,7 @@
#include "LR0.h"
#include "conflicts.h"
#include "print_graph.h"
+#include "symtab.h"
/* The name this program was run with, for messages. */
char *program_name;
@@ -89,6 +90,9 @@
/* Output the tables and the parser to ftable. In file output. */
output ();
+
+ /* Free the symbol table data structure. */
+ free_symtab ();
free_conflicts ();
free_nullable ();
Index: src/reader.c
===================================================================
RCS file: /cvsroot/bison/bison/src/reader.c,v
retrieving revision 1.72.2.7
diff -u -r1.72.2.7 reader.c
--- src/reader.c 2001/09/22 17:57:59 1.72.2.7
+++ src/reader.c 2001/09/22 21:10:44
@@ -1959,9 +1959,6 @@
packsymbols ();
/* Convert the grammar into the format described in gram.h. */
packgram ();
- /* Free the symbol table data structure since symbols are now all
- referred to by symbol number. */
- free_symtab ();
}
--
Autret Marc (address@hidden)
Eleve Ingenieur en Informatique.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bison-1_29-branch] repair-sym.patch,
marc-alexandre autret <=