Home | History | Annotate | Download | only in src

Lines Matching defs:midrule

269   if ((s->midrule && s->midrule->action_props.is_value_used)
376 /* Make a DUMMY nonterminal, whose location is that of the midrule
377 action. Create the MIDRULE. */
380 symbol_list *midrule = symbol_list_sym_new (dummy, dummy_location);
390 midrule->location = dummy_location;
391 code_props_rule_action_init (&midrule->action_props,
394 midrule, 0);
398 previous_rule_end->next = midrule;
400 grammar = midrule;
403 midrule->next = symbol_list_sym_new (NULL, dummy_location);
404 midrule->next->next = current_rule;
406 previous_rule_end = midrule->next;
408 /* Insert the dummy nonterminal replacing the midrule action into
412 grammar_end->midrule = midrule;
413 midrule->midrule_parent_rule = current_rule;
414 midrule->midrule_parent_rhs_index = symbol_list_length (current_rule->next);
535 /* If the midrule's $$ is set or its $n is used, remove the `$' from the
738 Otherwise, checking that a midrule's $$ should be set will not always work
739 properly because the check must forward-reference the midrule's parent
741 checking whether to remove `$' from any midrule symbol name (also in