Home | History | Annotate | Download | only in src

Lines Matching full:useless

42 /* Set of all nonterminals which are not useless.  */
45 /* Set of all rules which have no useless nonterminals in their RHS. */
52 `useless', but no warning should be issued). */
104 in the set at that point are useless in that they will never be
230 | Put the useless productions at the end of RULES, and adjust NRULES |
237 /* Report and flag useless productions. */
242 grammar_rules_useless_report (_("rule useless in grammar"));
245 /* Map the nonterminals to their new index: useful first, useless
249 int useless = nrules - nuseless_productions;
253 rules_sorted[rules[r].useful ? useful++ : useless++] = rules[r];
283 | Remove useless nonterminals. |
291 /* Map the nonterminals to their new index: useful first, useless
303 warn_at (symbols[i]->location, _("nonterminal useless in grammar: %s"),
351 fprintf (out, "%s\n\n", _("Nonterminals useless in grammar"));
373 grammar_rules_partial_print (out, _("Rules useless in grammar"),
387 warn (ngettext ("%d nonterminal useless in grammar",
388 "%d nonterminals useless in grammar",
392 warn (ngettext ("%d rule useless in grammar",
393 "%d rules useless in grammar",