]> git.saurik.com Git - bison.git/commitdiff
Use size_t rather than unsigned int in previous patch.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Oct 2004 23:14:00 +0000 (23:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Oct 2004 23:14:00 +0000 (23:14 +0000)
src/lalr.h
src/relation.h

index 9253e0fdd5209a036384afffa9048108e0928489..b09db9b69372280a9c2e5fd108b69e3f76091a3a 100644 (file)
@@ -56,7 +56,7 @@ void lalr_free (void);
    together and GOTO_MAP[I - NTOKENS] is the index in FROM_STATE and
    TO_STATE of the first of them.  */
 
-typedef unsigned int goto_number;
+typedef size_t goto_number;
 
 extern goto_number *goto_map;
 extern state_number *from_state;
index 1c461f6019d922fb588d0d0b8efed56812f62631..84194971399b8c6477ea2f6330d95d4ed33e1382 100644 (file)
@@ -29,7 +29,7 @@
 
 #define END_NODE ((relation_node) -1)
 
-typedef unsigned int relation_node;
+typedef size_t relation_node;
 typedef relation_node *relation_nodes;
 typedef relation_nodes *relation;