| 21 | |
| 22 | |
| 23 | void make_parser() |
| 24 | { |
| 25 | register int i; |
| 26 | |
| 27 | parser = NEW2(nstates, action *); |
| 28 | for (i = 0; i < nstates; i++) |
| 29 | parser[i] = parse_actions(i); |
| 30 | |
| 31 | find_final_state(); |
| 32 | remove_conflicts(); |
| 33 | unused_rules(); |
| 34 | if (SRtotal + RRtotal > 0) total_conflicts(); |
| 35 | defreds(); |
| 36 | } |
| 37 | |
| 38 | action *parse_actions(int stateno) |
| 39 | { |
no test coverage detected