Home
last modified time | relevance | path

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

/external/bison/src/
Dnullable.c58 rule_number ruleno; in nullable_compute() local
77 for (ruleno = 0; ruleno < nrules; ++ruleno) in nullable_compute()
78 if (rules[ruleno].useful) in nullable_compute()
80 rule *rules_ruleno = &rules[ruleno]; in nullable_compute()
95 rcount[ruleno]++; in nullable_compute()
106 == ruleno); in nullable_compute()
Dreader.c502 rule_number ruleno = 0; in packgram() local
518 rules[ruleno].user_number = ruleno; in packgram()
519 rules[ruleno].number = ruleno; in packgram()
520 rules[ruleno].lhs = p->content.sym; in packgram()
521 rules[ruleno].rhs = ritem + itemno; in packgram()
522 rules[ruleno].prec = NULL; in packgram()
523 rules[ruleno].dprec = p->dprec; in packgram()
524 rules[ruleno].merger = p->merger; in packgram()
525 rules[ruleno].precsym = NULL; in packgram()
526 rules[ruleno].location = p->location; in packgram()
[all …]
Dgraphviz.c100 conclude_red (struct obstack *out, int source, rule_number ruleno, in conclude_red() argument
110 char const *color = enabled ? ruleno ? "3" : "1" : "5"; in conclude_red()
117 source, ruleno, ed); in conclude_red()
133 source, ruleno, ed); in conclude_red()
134 if (ruleno) in conclude_red()
135 fprintf (fout, "R%d", ruleno); in conclude_red()
178 rule_number ruleno = reds->rules[j]->number; in output_red() local
206 conclude_red (&dout, source, ruleno, false, firstd, fout); in output_red()
207 conclude_red (&eout, source, ruleno, true, firste && !defaulted, fout); in output_red()
Dclosure.c200 rule_number ruleno; in closure() local
217 BITSET_FOR_EACH (iter, ruleset, ruleno, 0) in closure()
219 item_number itemno = rules[ruleno].rhs - ritem; in closure()
Dconflicts.c260 resolve_sr_conflict (state *s, int ruleno, symbol **errors, int *nerrs) in resolve_sr_conflict() argument
265 rule *redrule = reds->rules[ruleno]; in resolve_sr_conflict()
267 bitset lookahead_tokens = reds->lookahead_tokens[ruleno]; in resolve_sr_conflict()
/external/bison/
DChangeLog-20128203 (packgram): Bound check ruleno, itemno, and rule_length.
11590 * src/reader.c (packgram): Always initialize rules[ruleno].prec
11591 and rules[ruleno].precsym. Initialize members in order.
20254 * src/derives.c (print_derives): Display the ruleno.
20267 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
20295 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
20491 * src/closure.c (closure): `b' and `ruleno' denote the same value:
20492 keep ruleno only.