Module: wine Branch: master Commit: a513ff4926ba1862b19cd7e342ccbea14f4232f8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a513ff4926ba1862b19cd7e342...
Author: Rob Shearman rob@codeweavers.com Date: Sat Dec 8 17:13:45 2007 +0000
widl: Don't override the pointer type in top-level arrays.
---
tools/widl/parser.y | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 3d643c1..06f0035 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -1329,7 +1329,7 @@ static void set_type(var_t *v, type_t *type, int ptr_level, array_dims_t *arr, } }
- if (ptr_type) + if (ptr_type && !arr) { if (is_ptr(v->type)) {