http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93995fc
)
widl: Fix syntax to also work with older versions of bison.
author
Gerald Pfeifer
<gerald@pfeifer.com>
Fri, 2 May 2008 12:14:01 +0000
(14:14 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 2 May 2008 14:05:48 +0000
(16:05 +0200)
tools/widl/parser.y
patch
|
blob
|
blame
|
history
diff --git
a/tools/widl/parser.y
b/tools/widl/parser.y
index ea8baf2f99c06227c388193b23d23aac4d43f1cd..db0778a45de15dd1185318752b34fd661fe16390 100644
(file)
--- a/
tools/widl/parser.y
+++ b/
tools/widl/parser.y
@@
-747,6
+747,7
@@
field: m_attributes decl_spec declarator_list ';'
ne_union_field:
s_field ';' { $$ = $1; }
| attributes ';' { $$ = make_var(NULL); $$->attrs = $1; }
+ ;
ne_union_fields: { $$ = NULL; }
| ne_union_fields ne_union_field { $$ = append_var( $1, $2 ); }
@@
-755,6
+756,7
@@
ne_union_fields: { $$ = NULL; }
union_field:
s_field ';' { $$ = $1; }
| ';' { $$ = NULL; }
+ ;
s_field: m_attributes decl_spec declarator { $$ = $3->var;
$$->attrs = check_field_attrs($$->name, $1);