Home | History | Annotate | Download | only in src

Lines Matching refs:action

220 | action) that was assigned to, as in "exp: { $$ = 1; } { $$ = $1; }".  |
232 | should be no type clash on the default action. |
240 If there is an action, then there is nothing we can do: the user
243 Don't worry about the default action if $$ is untyped, since $$'s
245 if (!r->action && r->sym->type_name)
256 _("type clash on default action: <%s> != <%s>"),
262 _("empty rule for typed nonterminal, and no action"));
272 /* The default action, $$ = $1, `uses' both. */
273 || (!r->action && (n == 0 || n == 1))))
299 | The previous action turns out the be a mid-rule action. Attach it |
301 | mid-rule action, and append this dummy nonterminal to the current |
308 /* Since the action was written out with this rule's number, we must
313 action. Create the MIDRULE. */
319 that the action just read can belong to it. */
324 midrule->action = current_rule->action;
326 current_rule->action = NULL;
327 /* If $$ was used in the action, the LHS of the enclosing rule was
344 /* Insert the dummy nonterminal replacing the midrule action into
389 action as a mid-rule action. */
394 if (current_rule->action)
399 /* Attach an ACTION to the current rule. */
402 grammar_current_rule_action_append (const char *action, location loc)
406 current_rule->action = action;
444 rules[ruleno].action = p->action;
486 | contains a switch statement to decide which action to execute. |