Lines Matching refs:item_lookahead_sets
380 bitset **item_lookahead_sets) in ielr_item_has_lookahead() argument
382 if (!item_lookahead_sets[s->number]) in ielr_item_has_lookahead()
385 item_lookahead_sets[s->number] = in ielr_item_has_lookahead()
386 xnmalloc (s->nitems, sizeof item_lookahead_sets[s->number][0]); in ielr_item_has_lookahead()
388 item_lookahead_sets[s->number][i] = NULL; in ielr_item_has_lookahead()
390 if (!item_lookahead_sets[s->number][item]) in ielr_item_has_lookahead()
392 item_lookahead_sets[s->number][item] = in ielr_item_has_lookahead()
431 bitset_or (item_lookahead_sets[s->number][item], in ielr_item_has_lookahead()
432 item_lookahead_sets[s->number][item], in ielr_item_has_lookahead()
455 predecessors, item_lookahead_sets); in ielr_item_has_lookahead()
456 bitset_or (item_lookahead_sets[s->number][item], in ielr_item_has_lookahead()
457 item_lookahead_sets[s->number][item], in ielr_item_has_lookahead()
458 item_lookahead_sets[(*predecessor)->number] in ielr_item_has_lookahead()
464 return bitset_test (item_lookahead_sets[s->number][item], lookahead); in ielr_item_has_lookahead()
490 bitset **item_lookahead_sets = in ielr_compute_annotation_lists() local
491 xnmalloc (nstates, sizeof *item_lookahead_sets); in ielr_compute_annotation_lists()
502 item_lookahead_sets[i] = NULL; in ielr_compute_annotation_lists()
512 item_lookahead_sets, *inadequacy_listsp, *annotation_listsp, in ielr_compute_annotation_lists()
540 if (item_lookahead_sets[i]) in ielr_compute_annotation_lists()
544 if (item_lookahead_sets[i][j]) in ielr_compute_annotation_lists()
545 bitset_free (item_lookahead_sets[i][j]); in ielr_compute_annotation_lists()
546 free (item_lookahead_sets[i]); in ielr_compute_annotation_lists()
548 free (item_lookahead_sets); in ielr_compute_annotation_lists()