Robert Shearman : widl: Formatting cleanups.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Dec 8 07:06:20 CST 2005
Module: wine
Branch: refs/heads/master
Commit: b86efe5d117a5b6f9b8558563fdd98226a07c0c1
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=b86efe5d117a5b6f9b8558563fdd98226a07c0c1
Author: Robert Shearman <rob at codeweavers.com>
Date: Thu Dec 8 13:48:46 2005 +0100
widl: Formatting cleanups.
---
tools/widl/parser.y | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
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 @@ coclass: tCOCLASS aIDENTIFIER { $$ =
coclasshdr: attributes coclass { $$ = $2;
$$->attrs = $1;
- if (!parse_only && do_header) write_coclass($$);
+ if (!parse_only && do_header)
+ write_coclass($$);
}
;
@@ -750,14 +751,15 @@ type: tVOID { $$ = make_tref(NULL,
| 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);
}
;
More information about the wine-cvs
mailing list