[PATCH 5/5] widl: Non-top-level conformant arrays are always [ref] by default.

Zebediah Figura z.figura12 at gmail.com
Tue May 28 23:45:21 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 tools/widl/parser.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index dd676e9a280..5d910852d10 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -1632,7 +1632,7 @@ static var_t *declare_var(attr_list_t *attrs, decl_spec_t *decl_spec, const decl
         else
           *ptype = type_new_array((*ptype)->name,
                                   type_array_get_element(*ptype), FALSE,
-                                  0, dim, NULL, 0);
+                                  0, dim, NULL, FC_RP);
       }
       else if (is_ptr(*ptype))
         *ptype = type_new_array((*ptype)->name, type_pointer_get_ref(*ptype), TRUE,
-- 
2.21.0




More information about the wine-devel mailing list