widl: Formatting cleanups.
diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 3d9afa7..86eac75 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -598,7 +598,8 @@
coclasshdr: attributes coclass { $$ = $2;
$$->attrs = $1;
- if (!parse_only && do_header) write_coclass($$);
+ if (!parse_only && do_header)
+ write_coclass($$);
}
;
@@ -750,14 +751,15 @@
| tUNION aIDENTIFIER { $$ = make_tref(NULL, find_type2($2, tsUNION)); }
;
-typedef: tTYPEDEF m_attributes type pident_list { typeref_t *tref = uniq_tref($3);
+typedef: tTYPEDEF m_attributes type pident_list { typeref_t *tref = uniq_tref($3);
$4->tname = tref->name;
tref->name = NULL;
$$ = type_ref(tref);
$$->attrs = $2;
- if (!parse_only && do_header) write_typedef($$, $4);
- if (in_typelib && $$->attrs)
- add_typedef($$, $4);
+ if (!parse_only && do_header)
+ write_typedef($$, $4);
+ if (in_typelib && $$->attrs)
+ add_typedef($$, $4);
reg_types($$, $4, 0);
}
;