Home | History | Annotate | Download | only in src

Lines Matching defs:out

47   fprintf (out, _(" type %d is %s\n"), extnum, tags[token]);
71 print_core (FILE *out, state *s)
89 fputc ('\n', out);
104 rule_lhs_print (&rules[r], previous_lhs, out);
108 fprintf (out, " %s", symbols[*sp]->tag);
109 fputs (" .", out);
111 fprintf (out, " %s", symbols[*sp]->tag);
116 state_rule_lookahead_tokens_print (s, &rules[r], out);
118 fputc ('\n', out);
125 | OUT. |
129 print_transitions (state *s, FILE *out, bool display_transitions_p)
148 fputc ('\n', out);
161 fprintf (out, " %s", tag);
163 fputc (' ', out);
165 fprintf (out, _("shift, and go to state %d\n"), s1->number);
167 fprintf (out, _("go to state %d\n"), s1->number);
177 print_errs (FILE *out, state *s)
192 fputc ('\n', out);
201 fprintf (out, " %s", tag);
203 fputc (' ', out);
204 fputs (_("error (nonassociative)\n"), out);
216 print_reduction (FILE *out, size_t width,
221 fprintf (out, " %s", lookahead_token);
223 fputc (' ', out);
225 fputc ('[', out);
227 fprintf (out, _("reduce using rule %d (%s)"), r->number, r->lhs->tag);
229 fprintf (out, _("accept"));
231 fputc (']', out);
232 fputc ('\n', out);
237 | Report on OUT the reduction actions of S. |
241 print_reductions (FILE *out, state *s)
292 fputc ('\n', out);
312 print_reduction (out, width,
324 print_reduction (out, width,
328 print_reduction (out, width,
339 print_reduction (out, width, _("$default"), default_reduction, true);
350 | Report on OUT all the actions (shifts, gotos, reductions, and |
355 print_actions (FILE *out, state *s)
358 print_transitions (s, out, true);
359 print_errs (out, s);
360 print_reductions (out, s);
362 print_transitions (s, out, false);
367 | Report all the data on S on OUT. |
371 print_state (FILE *out, state *s)
373 fputs ("\n\n", out);
374 fprintf (out, _("State %d"), s->number);
375 fputc ('\n', out);
376 print_core (out, s);
377 print_actions (out, s);
380 fputc ('\n', out);
381 fputs (s->solved_conflicts, out);
394 fprintf (out, "%s\n ", buffer); \
402 print_grammar (FILE *out)
408 grammar_rules_print (out);
411 fprintf (out, "%s\n\n", _("Terminals, with rules where they appear"));
421 fputs (tag, out);
433 fprintf (out, "%s\n", buffer);
435 fputs ("\n\n", out);
438 fprintf (out, "%s\n\n", _("Nonterminals, with rules where they appear"));
459 fputs (tag, out);
497 fprintf (out, "%s\n", buffer);
507 /* We used to use just .out if SPEC_NAME_PREFIX (-p) was used, but
509 FILE *out = xfopen (spec_verbose_file, "w");
511 reduce_output (out);
512 grammar_rules_partial_print (out,
515 conflicts_output (out);
517 print_grammar (out);
526 print_state (out, states[i]);
531 xfclose (out);