Home
last modified time | relevance | path

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

/external/bison/src/
Dielr.c304 int *predecessor_counts = xnmalloc (nstates, sizeof *predecessor_counts); in ielr_compute_predecessors() local
307 predecessor_counts[i] = 0; in ielr_compute_predecessors()
312 ++predecessor_counts[states[i]->transitions->states[j]->number]; in ielr_compute_predecessors()
316 result[i] = xnmalloc (predecessor_counts[i]+1, sizeof *result[i]); in ielr_compute_predecessors()
317 result[i][predecessor_counts[i]] = NULL; in ielr_compute_predecessors()
318 predecessor_counts[i] = 0; in ielr_compute_predecessors()
326 result[k][predecessor_counts[k]++] = states[i]; in ielr_compute_predecessors()
329 free (predecessor_counts); in ielr_compute_predecessors()