Home
last modified time | relevance | path

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

/external/bison/src/
Dgram.c269 rule *rule_i = &rules[i]; in grammar_dump() local
271 unsigned int rhs_itemno = rule_i->rhs - ritem; in grammar_dump()
274 for (rp = rule_i->rhs; *rp >= 0; ++rp) in grammar_dump()
278 rule_i->prec ? rule_i->prec->prec : 0, in grammar_dump()
279 rule_i->prec ? rule_i->prec->assoc : 0, in grammar_dump()
280 rule_i->useful, in grammar_dump()
283 rule_i->lhs->number); in grammar_dump()
285 for (rp = rule_i->rhs; *rp >= 0; rp++) in grammar_dump()
DAnnotationList.c447 int rule_i; in AnnotationList__compute_from_inadequacies() local
448 for (rule_i = 0; rule_i < s->reductions->num; ++rule_i) in AnnotationList__compute_from_inadequacies()
449 if (bitset_test (s->reductions->lookahead_tokens[rule_i], in AnnotationList__compute_from_inadequacies()
464 int rule_i; in AnnotationList__compute_from_inadequacies() local
465 for (rule_i = 0; rule_i < s->reductions->num; ++rule_i) in AnnotationList__compute_from_inadequacies()
467 rule *the_rule = s->reductions->rules[rule_i]; in AnnotationList__compute_from_inadequacies()
468 if (bitset_test (s->reductions->lookahead_tokens[rule_i], in AnnotationList__compute_from_inadequacies()
471 bitset_set (actions, rule_i); in AnnotationList__compute_from_inadequacies()