]> git.saurik.com Git - bison.git/commitdiff
Remove some arbitrary limits on goto numbers and relations.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Oct 2004 23:35:17 +0000 (23:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Oct 2004 23:35:17 +0000 (23:35 +0000)
ChangeLog

index f818cf6a5efd0a6a7275b625f9738b42e6abea29..be0344ba75d4ddb8c6e0c2dd25f836e6f53767e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2004-10-22  Akim Demaille  <akim@epita.fr>
+       and  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <eggert@cs.ucla.edu>
 
        * doc/bison.texinfo (Language and Grammar): In example, "int" is a