From 93602febc0fc0d6e73bf3ebdab56527c02b749e9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 22 Oct 2004 23:35:17 +0000 Subject: [PATCH] Remove some arbitrary limits on goto numbers and relations. --- ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index f818cf6a..be0344ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2004-10-22 Akim Demaille + and Paul Eggert + + Remove some arbitrary limits on goto numbers and relations. + * src/lalr.c (goto_map, ngotos, from_state, to_state): Omit + initial values, since they're never used. + (set_goto_map): ngotos is now unsigned, so test for overflow + by seeing whether it wraps around to zero. + * src/lalr.h (goto_number): Now size_t, not short int. + (GOTO_NUMBER_MAXIMUM): Remove. + * src/relation.c (relation_print, traverse, relation_transpose): + Check for END_NODE rather than looking at sign. + * src/relation.h (END_NODE): New macro. + (relation_node): Now size_t, not short int. + 2004-10-22 Paul Eggert * doc/bison.texinfo (Language and Grammar): In example, "int" is a -- 2.47.2