Home | History | Annotate | Download | only in src

Lines Matching full:grammar

40 static symbol_list *grammar = NULL;
146 | Parse the input grammar into a one symbol_list structure. Each |
156 /* The (currently) last symbol of GRAMMAR. */
159 /* Append SYM to the grammar. */
168 grammar = p;
186 | Create a new rule for LHS in to the GRAMMAR. |
335 grammar = midrule;
422 symbol_list *p = grammar;
483 | Read in the grammar specification and record it in the format |
530 | Check the grammar that has just been read, and convert it to |
537 /* Grammar has been read. Do some checking. */
539 fatal (_("no rules in the input grammar"));
560 p->location = grammar->location;
564 p->next->next->next->next = grammar;
567 grammar = p;
576 /* Convert the grammar into the format described in gram.h. */
579 /* The grammar as a symbol_list is no longer needed. */
580 LIST_FREE (symbol_list, grammar);