Home
last modified time | relevance | path

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

/external/bison/src/
Dlalr.c47 static goto_number ngotos; variable
87 ngotos = 0; in set_goto_map()
94 ngotos++; in set_goto_map()
97 assert (ngotos != GOTO_NUMBER_MAXIMUM); in set_goto_map()
115 goto_map[nsyms - ntokens] = ngotos; in set_goto_map()
116 temp_map[nsyms - ntokens] = ngotos; in set_goto_map()
119 from_state = xcalloc (ngotos, sizeof *from_state); in set_goto_map()
120 to_state = xcalloc (ngotos, sizeof *to_state); in set_goto_map()
172 goto_number **reads = xnmalloc (ngotos, sizeof *reads); in initialize_F()
173 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge); in initialize_F()
[all …]
/external/bison/
DChangeLog3347 * src/lalr.c (set_goto_map): Don't allow ngotos to equal
3349 ngotos + 1 without checking for overflow.
3425 * src/lalr.c (goto_map, ngotos, from_state, to_state): Omit
3427 (set_goto_map): ngotos is now unsigned, so test for overflow