From 3d70dbe59306d518553f744526afbce04d5eaa75 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 12 Aug 2002 14:36:09 +0000 Subject: [PATCH] (print_closure, set_firsts, closure): Wrap strings in _() if they need translation. --- src/closure.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/closure.c b/src/closure.c index 3d5ac28d..0169ee0f 100644 --- a/src/closure.c +++ b/src/closure.c @@ -53,14 +53,14 @@ static void print_closure (const char *title, item_number_t *array, size_t size) { size_t i; - fprintf (stderr, "Closure: %s\n", title); + fprintf (stderr, _("Closure: %s\n"), title); for (i = 0; i < size; ++i) { item_number_t *rp; fprintf (stderr, " %2d: .", array[i]); for (rp = &ritem[array[i]]; *rp >= 0; ++rp) fprintf (stderr, " %s", symbols[*rp]->tag); - fprintf (stderr, " (rule %d)\n", -*rp - 1); + fprintf (stderr, _(" (rule %d)\n"), -*rp - 1); } fputs ("\n\n", stderr); } @@ -133,10 +133,10 @@ set_firsts (void) } if (trace_flag & trace_sets) - bitsetv_matrix_dump (stderr, "RTC: Firsts Input", firsts); + bitsetv_matrix_dump (stderr, _("RTC: Firsts Input"), firsts); bitsetv_reflexive_transitive_closure (firsts); if (trace_flag & trace_sets) - bitsetv_matrix_dump (stderr, "RTC: Firsts Output", firsts); + bitsetv_matrix_dump (stderr, _("RTC: Firsts Output"), firsts); if (trace_flag & trace_sets) print_firsts (); @@ -200,7 +200,7 @@ closure (item_number_t *core, int n) bitset_iterator iter; if (trace_flag & trace_sets) - print_closure ("input", core, n); + print_closure (_("input"), core, n); bitset_zero (ruleset); @@ -231,7 +231,7 @@ closure (item_number_t *core, int n) } if (trace_flag & trace_sets) - print_closure ("output", itemset, nritemset); + print_closure (_("output"), itemset, nritemset); } -- 2.45.2