X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/8dd162d3ff10fd7fb6f748a885f8055232691c48..b6e3facf99b007dc0ccb9c615f6d9aba8d14a73f:/src/print_graph.c diff --git a/src/print_graph.c b/src/print_graph.c index 5923b7ce..9580f3f1 100644 --- a/src/print_graph.c +++ b/src/print_graph.c @@ -1,6 +1,6 @@ /* Output a VCG description on generated parser, for Bison, - Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -16,12 +16,12 @@ You should have received a copy of the GNU General Public License along with Bison; see the file COPYING. If not, write to - the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ +#include #include "system.h" -#include #include #include "LR0.h" @@ -49,9 +49,9 @@ static FILE *fgraph = NULL; static void print_core (struct obstack *oout, state *s) { - int i; + size_t i; item_number *sitems = s->items; - int snritems = s->nitems; + size_t snritems = s->nitems; /* Output all the items of a state, not only its kernel. */ if (report_flag & report_itemsets) @@ -202,13 +202,7 @@ print_graph (void) new_graph (&static_graph); -#if 0 - static_graph.smanhattan_edges = yes; - static_graph.manhattan_edges = yes; -#endif - static_graph.display_edge_labels = yes; - static_graph.layoutalgorithm = normal; static_graph.port_sharing = no; static_graph.finetuning = yes;