Home | History | Annotate | Download | only in src

Lines Matching defs:reds

101 reductions_new (int num, rule **reds)
103 size_t rules_size = num * sizeof *reds;
107 memcpy (res->rules, reds, rules_size);
215 state_reductions_set (state *s, int num, rule **reds)
218 s->reductions = reductions_new (num, reds);
226 reductions *reds = s->reductions;
227 for (i = 0; i < reds->num; ++i)
228 if (reds->rules[i] == r)
256 reductions *reds = s->reductions;
260 if (reds->lookahead_tokens && red != -1)
266 BITSET_FOR_EACH (biter, reds->lookahead_tokens[red], k, 0)
280 reductions *reds = s->reductions;
284 if (reds->lookahead_tokens && red != -1)
289 BITSET_FOR_EACH (biter, reds->lookahead_tokens[red], k, 0)