Home
last modified time | relevance | path

Searched refs:ngotos (Results 1 – 4 of 4) sorted by relevance

/external/bison/src/
Dlalr.c44 goto_number ngotos; variable
81 ngotos = 0; in set_goto_map()
88 ngotos++; in set_goto_map()
91 aver (ngotos != GOTO_NUMBER_MAXIMUM); in set_goto_map()
109 goto_map[nsyms - ntokens] = ngotos; in set_goto_map()
110 temp_map[nsyms - ntokens] = ngotos; in set_goto_map()
113 from_state = xcalloc (ngotos, sizeof *from_state); in set_goto_map()
114 to_state = xcalloc (ngotos, sizeof *to_state); in set_goto_map()
161 goto_number **reads = xnmalloc (ngotos, sizeof *reads); in initialize_F()
162 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge); in initialize_F()
[all …]
Dielr.c100 *edgesp = xnmalloc (ngotos, sizeof **edgesp); in ielr_compute_internal_follow_edges()
101 *edge_countsp = xnmalloc (ngotos, sizeof **edge_countsp); in ielr_compute_internal_follow_edges()
103 bitset sources = bitset_create (ngotos, BITSET_FIXED); in ielr_compute_internal_follow_edges()
105 for (i = 0; i < ngotos; ++i) in ielr_compute_internal_follow_edges()
107 for (i = 0; i < ngotos; ++i) in ielr_compute_internal_follow_edges()
169 relation_transpose (edgesp, ngotos); in ielr_compute_internal_follow_edges()
174 relation_print (*edgesp, ngotos, stderr); in ielr_compute_internal_follow_edges()
205 *follow_kernel_itemsp = bitsetv_create (ngotos, max_nitems, BITSET_FIXED); in ielr_compute_follow_kernel_items()
209 for (i = 0; i < ngotos; ++i) in ielr_compute_follow_kernel_items()
225 relation_digraph (internal_follow_edges, ngotos, follow_kernel_itemsp); in ielr_compute_follow_kernel_items()
[all …]
Dlalr.h91 extern goto_number ngotos;
/external/bison/
DChangeLog-20122798 * src/lalr.h, src/lalr.c (ngotos): Export it.
11608 * src/lalr.c (set_goto_map): Don't allow ngotos to equal
11610 ngotos + 1 without checking for overflow.
11686 * src/lalr.c (goto_map, ngotos, from_state, to_state): Omit
11688 (set_goto_map): ngotos is now unsigned, so test for overflow