Berkeley YACC
1993-03-03
Berkeley's version of Yet Another Compiler Compiler
|
#include "defs.h"
Go to the source code of this file.
Functions | |
verbose () | |
log_unused () | |
log_conflicts () | |
print_state (int state) | |
print_conflicts (int state) | |
print_core (int state) | |
print_nulls (int state) | |
print_actions (int stateno) | |
print_shifts (action *p) | |
print_reductions (action *p, int defred) | |
print_gotos (int stateno) | |
Variables | |
static short * | null_rules |
log_conflicts | ( | ) |
Definition at line 50 of file verbose.c.
References nstates, RRconflicts, SRconflicts, and verbose_file.
Referenced by verbose().
log_unused | ( | ) |
Definition at line 31 of file verbose.c.
References nrules, ritem, rlhs, rrhs, rules_used, symbol_name, and verbose_file.
Referenced by verbose().
print_actions | ( | int | stateno | ) |
Definition at line 220 of file verbose.c.
References accessing_symbol, defred, final_state, ISVAR, shifts::nshifts, parser, print_gotos(), print_reductions(), print_shifts(), shifts::shift, shift_table, and verbose_file.
Referenced by print_state().
print_conflicts | ( | int | state | ) |
Definition at line 92 of file verbose.c.
References action::action_code, final_state, action::next, action::number, parser, REDUCE, SHIFT, action::suppressed, action::symbol, symbol_name, and verbose_file.
Referenced by print_state().
print_core | ( | int | state | ) |
Definition at line 140 of file verbose.c.
References core::items, core::nitems, ritem, rlhs, rrhs, state_table, symbol_name, and verbose_file.
Referenced by print_state().
print_gotos | ( | int | stateno | ) |
Definition at line 310 of file verbose.c.
References accessing_symbol, ISVAR, shifts::nshifts, shifts::shift, shift_table, symbol_name, to_state, and verbose_file.
Referenced by print_actions().
print_nulls | ( | int | state | ) |
Definition at line 176 of file verbose.c.
References action::action_code, action::next, null_rules, action::number, parser, REDUCE, rlhs, rrhs, action::suppressed, symbol_name, and verbose_file.
Referenced by print_state().
print_reductions | ( | action * | p, |
int | defred | ||
) |
Definition at line 272 of file verbose.c.
References action::action_code, action::next, REDUCE, action::suppressed, symbol_name, and verbose_file.
Referenced by print_actions().
print_shifts | ( | action * | p | ) |
Definition at line 247 of file verbose.c.
References action::action_code, action::next, SHIFT, action::suppressed, symbol_name, and verbose_file.
Referenced by print_actions().
print_state | ( | int | state | ) |
Definition at line 78 of file verbose.c.
References print_actions(), print_conflicts(), print_core(), print_nulls(), RRconflicts, SRconflicts, and verbose_file.
Referenced by verbose().
verbose | ( | ) |
Definition at line 7 of file verbose.c.
References FREE, log_conflicts(), log_unused(), MALLOC, no_space(), nrules, nstates, ntokens, null_rules, nunused, nvars, print_state(), RRtotal, SRtotal, verbose_file, and vflag.
Referenced by main().
|
static |
Definition at line 5 of file verbose.c.
Referenced by print_nulls(), and verbose().