* src/reader.c, src/symlist.h, src/symlist.c: s/mid_rule/midrule/.

This commit is contained in:
Akim Demaille
2006-01-05 13:38:58 +00:00
parent 7a0db73e6f
commit 6ec2c0f295
4 changed files with 8 additions and 4 deletions

View File

@@ -221,7 +221,7 @@ static bool
symbol_typed_p (const symbol_list *s)
{
return (s->sym->type_name
|| s->mid_rule && s->mid_rule->used);
|| s->midrule && s->midrule->used);
}
/*----------------------------------------------------------------.
@@ -341,7 +341,7 @@ grammar_midrule_action (void)
/* Insert the dummy nonterminal replacing the midrule action into
the current rule. Bind it to its dedicated rule. */
grammar_current_rule_symbol_append (dummy, dummy_location);
grammar_end->mid_rule = midrule;
grammar_end->midrule = midrule;
}
/* Set the precedence symbol of the current rule to PRECSYM. */