Home
last modified time | relevance | path

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

/external/bison/src/
Dgram.c35 item_number *ritem = NULL; variable
166 if (ritem[i] >= 0) in ritem_print()
167 fprintf (out, " %s", symbols[ritem[i]]->tag); in ritem_print()
169 fprintf (out, " (rule %d)\n", item_number_as_rule_number (ritem[i])); in ritem_print()
271 unsigned int rhs_itemno = rule_i->rhs - ritem; in grammar_dump()
328 if (ritem) in grammar_free()
329 free (ritem - 1); in grammar_free()
Dclosure.c66 for (rp = &ritem[array[i]]; *rp >= 0; ++rp) in print_closure()
213 if (ISVAR (ritem[core[c]])) in closure()
214 bitset_or (ruleset, ruleset, FDERIVES (ritem[core[c]])); in closure()
220 item_number itemno = rules[ruleno].rhs - ritem; in closure()
Dreader.c420 ritem = xnmalloc (nritems + 1, sizeof *ritem); in packgram()
423 *ritem++ = 0; in packgram()
433 rules[ruleno].rhs = ritem + itemno; in packgram()
448 ritem[itemno++] = symbol_number_as_item_number (p->sym->number); in packgram()
464 ritem[itemno++] = rule_number_as_item_number (ruleno); in packgram()
DLR0.c187 if (ritem[itemset[i]] >= 0) in new_itemsets()
189 symbol_number sym = item_number_as_symbol_number (ritem[itemset[i]]); in new_itemsets()
277 item_number item = ritem[itemset[i]]; in save_reductions()
Dgram.h118 extern item_number *ritem;
Dprint_graph.c71 sp1 = sp = ritem + sitems[i]; in print_core()
Doutput.c241 muscle_insert_item_number_table ("rhs", rhs, ritem[0], 1, nritems); in prepare_rules()
Dprint.c98 sp1 = sp = ritem + sitems[i]; in print_core()
/external/bison/
DChangeLog754 * src/reader.c (packgram): Prepend a new sentinel before ritem.
3295 * src/reader.c (packgram): Likewise, for ritem, rules.
9562 * src/reader.c (packgram): No longer end `ritem' with a 0
10064 to reorder ritem itself.
10109 * src/LR0.c (allocate_itemsets): Don't loop over ritem: loop over
11068 when walking through ritem, even via rule->rhs.
11140 is 0 which was also used as a sentinel in ritem, (i) make sure >= 0
12033 ritem.
12043 ritem.