WIDL: Add missing ignore attribute. Check for inapplicable attributes in typedef.

Robert Shearman rob at codeweavers.com
Wed Mar 15 08:10:41 CST 2006


Saveliy Tretiakov wrote:

> Sorry, previous patch was broken.
>
> ChangeLog:
> Saveliy Tretiakov <saveliyt at mail.ru>
> Add missing ignore attribute.
> Check for inapplicable attributes in typedef.
> Register type in typelibrary only when ATTR_PUBLIC is set.


Please respect the indentation style in the files you are editing.
Also, the attribute lists are all sorted to make it easier to find a 
given attribute in it. Therefore, please add the attribute in the 
correct place.

>+                             	break;
>+                             default:
>+                             	yyerror("Inapplicable attribute\n");
>+                             }
>+                             a = NEXT_LINK(a);
>+                          }
>+                          typeref_t *tref = uniq_tref($3);
>

You can't mix variable declarations in between statements as it won't 
compile on some compilers.

-- 
Rob Shearman




More information about the wine-devel mailing list