X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e3fbd37fc0762d1ea5c6eb224ba7341c071e5e05..2dfbfc122c5d609383d87267b4b4b2494d6bdfd9:/src/gram.c diff --git a/src/gram.c b/src/gram.c index 57e900a1..74fd5d57 100644 --- a/src/gram.c +++ b/src/gram.c @@ -201,7 +201,7 @@ grammar_rules_partial_print (FILE *out, const char *title, rule_filter_t filter) { int r; - bool first = TRUE; + bool first = true; symbol_t *previous_lhs = NULL; /* rule # : LHS -> RHS */ @@ -213,7 +213,7 @@ grammar_rules_partial_print (FILE *out, const char *title, fprintf (out, "%s\n\n", title); else if (previous_lhs && previous_lhs != rules[r].lhs) fputc ('\n', out); - first = FALSE; + first = false; rule_lhs_print (&rules[r], previous_lhs, out); rule_rhs_print (&rules[r], out); previous_lhs = rules[r].lhs; @@ -247,10 +247,10 @@ grammar_dump (FILE *out, const char *title) ntokens, nvars, nsyms, nrules, nritems); - fprintf (out, _("Variables\n---------\n\n")); + fprintf (out, "Variables\n---------\n\n"); { symbol_number_t i; - fprintf (out, _("Value Sprec Sassoc Tag\n")); + fprintf (out, "Value Sprec Sassoc Tag\n"); for (i = ntokens; i < nsyms; i++) fprintf (out, "%5d %5d %5d %s\n", @@ -260,10 +260,10 @@ grammar_dump (FILE *out, const char *title) fprintf (out, "\n\n"); } - fprintf (out, _("Rules\n-----\n\n")); + fprintf (out, "Rules\n-----\n\n"); { rule_number_t i; - fprintf (out, _("Num (Prec, Assoc, Useful, Ritem Range) Lhs -> Rhs (Ritem range) [Num]\n")); + fprintf (out, "Num (Prec, Assoc, Useful, Ritem Range) Lhs -> Rhs (Ritem range) [Num]\n"); for (i = 0; i < nrules + nuseless_productions; i++) { rule_t *rule = &rules[i]; @@ -289,7 +289,7 @@ grammar_dump (FILE *out, const char *title) } fprintf (out, "\n\n"); - fprintf (out, _("Rules interpreted\n-----------------\n\n")); + fprintf (out, "Rules interpreted\n-----------------\n\n"); { rule_number_t r; for (r = 0; r < nrules + nuseless_productions; r++)