X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/158e69f984ddc49f0d7febe20234482c8d3cfbb0..f1886bb2808a471b18e1416e0f821d08850d116e:/src/lalr.c diff --git a/src/lalr.c b/src/lalr.c index f85347a3..2c0c942a 100644 --- a/src/lalr.c +++ b/src/lalr.c @@ -403,7 +403,7 @@ lookaheads_print (FILE *out) { state_number_t i; int j, k; - fprintf (out, _("Lookaheads: BEGIN\n")); + fprintf (out, "Lookaheads: BEGIN\n"); for (i = 0; i < nstates; ++i) { reductions_t *reds = states[i]->reductions; @@ -415,19 +415,19 @@ lookaheads_print (FILE *out) if (reds->lookaheads[k]) ++nlookaheads; - fprintf (out, _("State %d: %d lookaheads\n"), + fprintf (out, "State %d: %d lookaheads\n", i, nlookaheads); if (reds->lookaheads) for (j = 0; j < reds->num; ++j) BITSET_FOR_EACH (iter, reds->lookaheads[j], k, 0) { - fprintf (out, _(" on %d (%s) -> rule %d\n"), + fprintf (out, " on %d (%s) -> rule %d\n", k, symbols[k]->tag, reds->rules[j]->number); }; } - fprintf (out, _("Lookaheads: END\n")); + fprintf (out, "Lookaheads: END\n"); } void