Home | History | Annotate | Download | only in src

Lines Matching refs:nullable

24 /* Set up NULLABLE, a vector saying which nonterminals can expand into
25 the null string. NULLABLE[I - NTOKENS] is nonzero if symbol I can
33 #include "nullable.h"
44 bool *nullable = NULL;
50 fputs ("NULLABLE\n", out);
53 nullable[i - ntokens] ? "yes" : "no");
74 nullable = xcalloc (nvars, sizeof *nullable);
110 && ! nullable[rules_ruleno->lhs->number - ntokens])
112 nullable[rules_ruleno->lhs->number - ntokens] = true;
123 if (r->useful && ! nullable[r->lhs->number - ntokens])
125 nullable[r->lhs->number - ntokens] = true;
143 free (nullable);