/[bison]/bison/src/tables.c
ViewVC logotype

Diff of /bison/src/tables.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by eggert, Mon Aug 12 14:55:23 2002 UTC revision 1.6 by akim, Wed Sep 4 10:18:15 2002 UTC
# Line 207  table_grow (size_t desired) Line 207  table_grow (size_t desired)
207      table_size *= 2;      table_size *= 2;
208    
209    if (trace_flag & trace_resource)    if (trace_flag & trace_resource)
210      fprintf (stderr, _("growing table and check from: %lu to %lu\n"),      fprintf (stderr, "growing table and check from: %d to %d\n",
211               (unsigned long) old_size, (unsigned long) table_size);               old_size, table_size);
212    
213    table = XREALLOC (table, base_t, table_size);    table = XREALLOC (table, base_t, table_size);
214    check = XREALLOC (check, base_t, table_size);    check = XREALLOC (check, base_t, table_size);
# Line 754  pack_vector (vector_number_t vector) Line 754  pack_vector (vector_number_t vector)
754              high = loc;              high = loc;
755    
756            if (j < BASE_MIN || BASE_MAX < j)            if (j < BASE_MIN || BASE_MAX < j)
757              fatal (_("base_t too small to hold %d\n"), j);              fatal ("base_t too small to hold %d\n", j);
758            return j;            return j;
759          }          }
760      }      }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26