Lines Matching refs:ngotos
44 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()
167 goto_follows = bitsetv_create (ngotos, ntokens, BITSET_FIXED); in initialize_F()
169 for (i = 0; i < ngotos; i++) in initialize_F()
196 relation_digraph (reads, ngotos, &goto_follows); in initialize_F()
198 for (i = 0; i < ngotos; i++) in initialize_F()
221 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge); in build_relations()
225 includes = xnmalloc (ngotos, sizeof *includes); in build_relations()
227 for (i = 0; i < ngotos; i++) in build_relations()
286 relation_transpose (&includes, ngotos); in build_relations()
296 relation_digraph (includes, ngotos, &goto_follows); in compute_FOLLOWS()
298 for (i = 0; i < ngotos; i++) in compute_FOLLOWS()
468 for (i = 0; i < ngotos; ++i) in lalr_update_state_numbers()
487 aver (ngotos == goto_map[nonterminal]); in lalr_update_state_numbers()
490 ngotos = ngotos_reachable; in lalr_update_state_numbers()