Lines Matching refs:plhs

55 static bucket **plhs;
1755 plhs = TMALLOC(bucket *, maxrules);
1756 NO_SPACE(plhs);
1758 plhs[0] = 0;
1759 plhs[1] = 0;
1760 plhs[2] = 0;
1790 plhs = TREALLOC(bucket *, plhs, maxrules);
1791 NO_SPACE(plhs);
2040 for (i = plhs[nrules]->args - 1; i >= 0; i--)
2041 if (arg == plhs[nrules]->argnames[i])
2046 tag = plhs[nrules]->argtags[i];
2048 i - plhs[nrules]->args + 1 - n);
2133 for (i = plhs[nrules]->args - 1; i >= 0; i--)
2134 if (arg == plhs[nrules]->argnames[i])
2139 tag = plhs[nrules]->argtags[i];
2140 rv = plhs[nrules]->args + n - i;
2291 plhs[nrules] = bp;
2301 if (!last_was_action && plhs[nrules]->tag)
2307 if (pitem[i + 1] == 0 || pitem[i + 1]->tag != plhs[nrules]->tag)
2308 default_action_warning(plhs[nrules]->name);
2311 default_action_warning(plhs[nrules]->name);
2333 bp->tag = plhs[nrules]->tag;
2349 plhs[nrules] = plhs[nrules - 1];
2350 plhs[nrules - 1] = bp;
2377 plhs[rule]->tag = cache_tag(tag, strlen(tag));
2378 plhs[rule]->class = ARGUMENT;
2384 pitem[nitems - 1] = plhs[rule];
2440 if (plhs[nrules]->args != bp->args)
2443 if (plhs[nrules]->argtags[i] != bp->argtags[i])
2602 for (i = plhs[nrules]->args - 1; i >= 0; i--)
2603 if (arg == plhs[nrules]->argnames[i])
2608 i - plhs[nrules]->args + 1 - n, tag);
2620 tag = plhs[nrules]->tag;
2675 for (i = plhs[nrules]->args - 1; i >= 0; i--)
2676 if (arg == plhs[nrules]->argnames[i])
2680 tag = (i < 0 ? NULL : plhs[nrules]->argtags[i]);
2681 fprintf(f, "yystack.l_mark[%d]", i - plhs[nrules]->args + 1 - n);
3230 start_rule(plhs[nrules - 1], 0);
3563 if (plhs[i]->args > 0)
3565 if (plhs[i]->argnames)
3567 FREE(plhs[i]->argnames);
3568 plhs[i]->argnames = NULL;
3570 if (plhs[i]->argtags)
3572 FREE(plhs[i]->argtags);
3573 plhs[i]->argtags = NULL;
3577 rlhs[i] = plhs[i]->index;
3601 FREE(plhs);