Beispiel #1
0
static void print_state (int state)
{
    if (state)
        fprintf (verbose_file, "\n\n");
    if (SRconflicts[state] || RRconflicts[state])
        print_conflicts (state);
    fprintf (verbose_file, "state %d\n", state);
    print_core (state);
    print_nulls (state);
    print_actions (state);
}
Beispiel #2
0
void print_state(int state)
{
    if (state)
        BtYacc_puts("\n\n", verbose_file);

    if (SRconflicts[state] || RRconflicts[state])
        print_conflicts(state);

    BtYacc_printf(verbose_file, "state %d\n", state);
    print_core(state);
    print_nulls(state);
    print_actions(state);
}