Home
last modified time | relevance | path

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

/external/bison/src/
Dreader.c172 ++nritems; in grammar_symbol_append()
318 ++nritems; in grammar_midrule_action()
420 ritem = xnmalloc (nritems + 1, sizeof *ritem); in packgram()
471 assert (itemno == nritems); in packgram()
561 nritems += 3; in check_and_convert_grammar()
Dgram.c36 unsigned int nritems = 0; variable
165 for (i = 0; i < nritems; ++i) in ritem_print()
247 ntokens, nvars, nsyms, nrules, nritems); in grammar_dump()
Doutput.c210 item_number *rhs = xnmalloc (nritems, sizeof *rhs); in prepare_rules()
239 assert (i == nritems); in prepare_rules()
241 muscle_insert_item_number_table ("rhs", rhs, ritem[0], 1, nritems); in prepare_rules()
Dgram.h119 extern unsigned int nritems;
Dnullable.c72 rule_list *relts = xnmalloc (nritems + nvars + 1, sizeof *relts); in nullable_compute()
Dprint_graph.c219 new_closure (nritems); in print_graph()
DLR0.c340 new_closure (nritems); in generate_states()
Dreduce.c277 nritems -= length + 1; in reduce_grammar_tables()
Dprint.c563 new_closure (nritems); in print_results()
/external/bison/
DChangeLog9531 * src/gram.h, src/gram.c (nritems): Is `unsigned int', not int.
9973 nritems.
10024 * src/gram.c (nitems, nrules, nsyms, ntokens, nvars, nritems)
11071 (reduce_grammar_tables): Likewise, plus update nritems.
11079 * src/LR0.c (generate_states): Use nritems, not nitems, nor using
11102 * src/output.c (output_gram): Rely on nritems, not the
11141 is used instead of > 0 where appropriate, (ii), depend upon nritems
11144 * src/gram.h, src/gram.c (nritems): New.
11146 * src/reader.c (packgram): Assert nritems and nitems are equal.