Home | History | Annotate | Download | only in src

Lines Matching refs:nullable

22 /* Set up NULLABLE, a vector saying which nonterminals can expand into
23 the null string. NULLABLE[I - NTOKENS] is nonzero if symbol I can
31 #include "nullable.h"
42 bool *nullable = NULL;
48 fputs ("NULLABLE\n", out);
51 nullable[i - ntokens] ? "yes" : "no");
72 nullable = xcalloc (nvars, sizeof *nullable);
108 && ! nullable[rules_ruleno->lhs->number - ntokens])
110 nullable[rules_ruleno->lhs->number - ntokens] = true;
121 if (r->useful && ! nullable[r->lhs->number - ntokens])
123 nullable[r->lhs->number - ntokens] = true;
141 free (nullable);