#include "defs.h"Include dependency graph for mkpar.c:

Go to the source code of this file.
Functions | |
| action * | parse_actions () |
| action * | get_shifts () |
| action * | add_reductions () |
| action * | add_reduce () |
| make_parser () | |
| action * | parse_actions (int stateno) |
| action * | get_shifts (int stateno) |
| action * | add_reductions (int stateno, action *actions) |
| action * | add_reduce (action *actions, int ruleno, int symbol) |
| find_final_state () | |
| unused_rules () | |
| remove_conflicts () | |
| total_conflicts () | |
| int | sole_reduction (int stateno) |
| defreds () | |
| free_action_row (action *p) | |
| free_parser () | |
Variables | |
| action ** | parser |
| int | SRtotal |
| int | RRtotal |
| short * | SRconflicts |
| short * | RRconflicts |
| short * | defred |
| short * | rules_used |
| short | nunused |
| short | final_state |
| static int | SRcount |
| static int | RRcount |
|
||||||||||||||||
|
|
|
|
Referenced by add_reductions(). |
|
||||||||||||
|
Definition at line 87 of file mkpar.c. References add_reduce(), BIT, i, j, LA, LAruleno, lookaheads, m, n, ntokens, tokensetsize, and WORDSIZE. |
|
|
Referenced by parse_actions(). |
|
|
Definition at line 326 of file mkpar.c. References defred, i, NEW2, nstates, and sole_reduction(). Referenced by make_parser(). |
|
|
Definition at line 153 of file mkpar.c. References accessing_symbol, final_state, goal, i, p, ritem, shift_table, and to_state. Referenced by make_parser(). |
|
|
Definition at line 335 of file mkpar.c. References FREE, and action::next. Referenced by free_parser(). |
|
|
Definition at line 348 of file mkpar.c. References FREE, free_action_row(), i, nstates, and parser. Referenced by output(). |
|
|
Definition at line 52 of file mkpar.c. References accessing_symbol, action::action_code, action::assoc, i, ISTOKEN, k, NEW, action::next, action::number, action::prec, SHIFT, shift_table, sp, action::symbol, symbol_assoc, symbol_prec, and to_state. |
|
|
Referenced by parse_actions(). |
|
|
Definition at line 23 of file mkpar.c. References defreds(), find_final_state(), i, NEW2, nstates, parse_actions(), parser, remove_conflicts(), RRtotal, SRtotal, total_conflicts(), and unused_rules(). Referenced by main(). |
|
|
Definition at line 40 of file mkpar.c. References add_reductions(), and get_shifts(). |
|
|
Referenced by make_parser(). |
|
|
Definition at line 202 of file mkpar.c. References NEW2, nstates, p, parser, RRconflicts, RRcount, RRtotal, SRconflicts, SRcount, and SRtotal. Referenced by make_parser(). |
|
|
Definition at line 298 of file mkpar.c. References count, if(), p, parser, REDUCE, return(), and SHIFT. Referenced by defreds(). |
|
|
Definition at line 277 of file mkpar.c. References fprintf(), myname, RRtotal, SRtotal, and stderr. Referenced by make_parser(). |
|
|
Definition at line 170 of file mkpar.c. References i, MALLOC, no_space(), nrules, nstates, p, parser, REDUCE, and rules_used. Referenced by make_parser(). |
|
|
Definition at line 9 of file mkpar.c. Referenced by defreds(), output_yydefred(), and print_actions(). |
|
|
Definition at line 12 of file mkpar.c. Referenced by find_final_state(), output_debug(), and print_actions(). |
|
|
Definition at line 11 of file mkpar.c. Referenced by verbose(). |
|
|
Definition at line 4 of file mkpar.c. Referenced by free_parser(), make_parser(), print_actions(), print_conflicts(), print_nulls(), remove_conflicts(), sole_reduction(), token_actions(), and unused_rules(). |
|
|
Definition at line 8 of file mkpar.c. Referenced by log_conflicts(), print_state(), and remove_conflicts(). |
|
|
Definition at line 15 of file mkpar.c. Referenced by remove_conflicts(). |
|
|
Definition at line 6 of file mkpar.c. Referenced by make_parser(), remove_conflicts(), total_conflicts(), and verbose(). |
|
|
Definition at line 10 of file mkpar.c. Referenced by log_unused(), and unused_rules(). |
|
|
Definition at line 7 of file mkpar.c. Referenced by log_conflicts(), print_state(), and remove_conflicts(). |
|
|
Definition at line 14 of file mkpar.c. Referenced by remove_conflicts(). |
|
|
Definition at line 5 of file mkpar.c. Referenced by make_parser(), remove_conflicts(), total_conflicts(), and verbose(). |
1.4.6