rule_filter_t filter)
{
int r;
- bool first = TRUE;
+ bool first = true;
symbol_t *previous_lhs = NULL;
/* rule # : LHS -> RHS */
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;
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",
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];
}
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++)