From 00baeeac7e65451b8fde8f83b53f60a9ebb215fd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 8 Dec 2004 07:30:21 +0000 Subject: [PATCH] goto-number minor cleanup. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 915a3b9..ca598cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2004-12-07 Paul Eggert + + * src/lalr.h (GOTO_NUMBER_MAXIMUM): New macro. + * src/lalr.c (set_goto_map): Don't allow ngotos to equal + GOTO_NUMBER_MAXIMUM, since we occasionally compute + ngotos + 1 without checking for overflow. + (build_relations): Use END_NODE, not -1, to denote end of edges. + * src/lalr.c (set_goto_map, map_goto, initialize_F, add_loopback_edge, + build_relations): Use goto_number, not int, for goto numbers. + * src/tables.c (save_column, default_goto): Likewise. + 2004-11-23 Akim Demaille * data/lalr1.cc (YYSTYPE): Define it as is done for C, instead -- 2.7.4