Lines Matching refs:ngotos
44 goto_number ngotos;
81 ngotos = 0;
88 ngotos++;
90 /* Abort if (ngotos + 1) would overflow. */
91 aver (ngotos != GOTO_NUMBER_MAXIMUM);
109 goto_map[nsyms - ntokens] = ngotos;
110 temp_map[nsyms - ntokens] = ngotos;
113 from_state = xcalloc (ngotos, sizeof *from_state);
114 to_state = xcalloc (ngotos, sizeof *to_state);
161 goto_number **reads = xnmalloc (ngotos, sizeof *reads);
162 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge);
167 goto_follows = bitsetv_create (ngotos, ntokens, BITSET_FIXED);
169 for (i = 0; i < ngotos; i++)
196 relation_digraph (reads, ngotos, &goto_follows);
198 for (i = 0; i < ngotos; i++)
221 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge);
225 includes = xnmalloc (ngotos, sizeof *includes);
227 for (i = 0; i < ngotos; i++)
286 relation_transpose (&includes, ngotos);
296 relation_digraph (includes, ngotos, &goto_follows);
298 for (i = 0; i < ngotos; i++)
468 for (i = 0; i < ngotos; ++i)
487 aver (ngotos == goto_map[nonterminal]);
490 ngotos = ngotos_reachable;