Home | History | Annotate | Download | only in src

Lines Matching refs:symbol

56 | Set the start symbol.  |
60 grammar_start_symbol_set (symbol *sym, location loc)
98 /* After all symbol type declarations have been parsed, packgram invokes
169 | null pointer instead of a symbol to terminate the rule. The next |
170 | symbol is the lhs of the following rule. |
176 /* The (currently) last symbol of GRAMMAR. */
181 grammar_symbol_append (symbol *sym, location loc)
203 symbol *sym = p->content.sym;
208 _("duplicated symbol name for %s ignored"),
229 grammar_current_rule_begin (symbol *lhs, location loc,
257 | A symbol should be used if either: |
259 | 2. The symbol is a mid-rule symbol (i.e., the generated LHS |
298 symbol *first_rhs = r->next->content.sym;
316 /* Check that symbol values that should be used are in fact used. */
364 | to the current rule, i.e., create a dummy symbol, attach it this |
379 symbol *dummy = dummy_symbol_get (dummy_location);
417 /* Set the precedence symbol of the current rule to PRECSYM. */
420 grammar_current_rule_prec_set (symbol *precsym, location loc)
470 grammar_current_rule_symbol_append (symbol *sym, location loc,
489 /* After all symbol declarations have been parsed, packgram invokes
519 symbol *ruleprec = p->ruleprec;
536 symbol name so that it's a user-defined symbol so that the default
571 the specified symbol's precedence replaces the default. */
604 /* Initialize the symbol table. */
607 /* Construct the accept symbol. */
692 /* Find the start symbol if no %start. */
711 (not that of the start symbol):
728 /* Assign the symbols their symbol numbers. Write #defines for the
741 checking whether to remove `$' from any midrule symbol name (also in