+2002-06-07 Akim Demaille <akim@epita.fr>
+
+ * gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
+ Whitespace changes.
+
2002-06-07 Jeffrey Law <law@redhat.com>
* sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list
externstatic: ENT_EXTERNSTATIC options lasttype ID semiequal
{
- note_variable ($4, adjust_field_type ($3, $2), $2,
+ note_variable ($4, adjust_field_type ($3, $2), $2,
&lexer_line);
}
| ENT_EXTERNSTATIC options lasttype ID ARRAY semiequal
;
lasttype: type
- {
+ {
lexer_toplevel_done = 1;
$$ = $1;
}
yacc_typematch: /* empty */
{ $$ = NULL; }
| yacc_typematch PERCENT_ID yacc_ids
- {
+ {
pair_p p;
for (p = $3; p->next != NULL; p = p->next)
{
yacc_ids: /* empty */
{ $$ = NULL; }
| yacc_ids ID
- {
+ {
pair_p p = xcalloc (1, sizeof (*p));
p->next = $1;
p->line = lexer_line;
$$ = o;
}
| ID '(' STRING ')'
- {
+ {
options_p o = xmalloc (sizeof (*o));
o->name = $1;
o->info = (void *)$3;
}
;
-optionseqopt: { $$ = NULL }
+optionseqopt: { $$ = NULL; }
| optionseq { $$ = $1; }
;
%%