Home
last modified time | relevance | path

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

/external/bison/src/
Dnullable.c82 rule *rules_ruleno = &rules[ruleno]; in nullable_compute() local
83 if (rules_ruleno->rhs[0] >= 0) in nullable_compute()
88 for (rp = rules_ruleno->rhs; *rp >= 0; ++rp) in nullable_compute()
95 for (rp = rules_ruleno->rhs; *rp >= 0; ++rp) in nullable_compute()
99 p->value = rules_ruleno; in nullable_compute()
107 assert (item_number_as_rule_number (rules_ruleno->rhs[0]) in nullable_compute()
109 if (rules_ruleno->useful in nullable_compute()
110 && ! nullable[rules_ruleno->lhs->number - ntokens]) in nullable_compute()
112 nullable[rules_ruleno->lhs->number - ntokens] = true; in nullable_compute()
113 *s2++ = rules_ruleno->lhs->number; in nullable_compute()