From: Paul Eggert Date: Mon, 12 Aug 2002 14:55:23 +0000 (+0000) Subject: (table_grow, pack_vector): Wrap strings in _() if X-Git-Tag: BISON-1_49b~11 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/63400d5d02577364cbb9e4289af0d215695caf12?ds=inline (table_grow, pack_vector): Wrap strings in _() if they need translation. --- diff --git a/src/tables.c b/src/tables.c index 47d9d6af..17bc5cd6 100644 --- a/src/tables.c +++ b/src/tables.c @@ -207,8 +207,8 @@ table_grow (size_t desired) table_size *= 2; if (trace_flag & trace_resource) - fprintf (stderr, "growing table and check from: %d to %d\n", - old_size, table_size); + fprintf (stderr, _("growing table and check from: %lu to %lu\n"), + (unsigned long) old_size, (unsigned long) table_size); table = XREALLOC (table, base_t, table_size); check = XREALLOC (check, base_t, table_size); @@ -754,7 +754,7 @@ pack_vector (vector_number_t vector) high = loc; if (j < BASE_MIN || BASE_MAX < j) - fatal ("base_t too small to hold %d\n", j); + fatal (_("base_t too small to hold %d\n"), j); return j; } }