Module: wine Branch: master Commit: fbffe4a229b80d4120ea49c605f7fdf897411279 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fbffe4a229b80d4120ea49c605...
Author: Rob Shearman robertshearman@gmail.com Date: Mon Dec 29 12:05:19 2008 +0000
widl: Follow aliases in check_remoting_fields so that the fields for the type are correctly enumerated.
---
tools/widl/parser.y | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 4d44e2c..47aef86 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2471,6 +2471,10 @@ static void check_remoting_fields(const var_t *var, type_t *type) const var_t *field; const var_list_t *fields = NULL;
+ /* find the real type */ + while (type->kind == TKIND_ALIAS) + type = type->orig; + if (type->checked) return;