Zebediah Figura : widl: Non-top-level conformant arrays are always [ref] by default.

Alexandre Julliard julliard at winehq.org
Wed May 29 15:50:37 CDT 2019


Module: wine
Branch: master
Commit: bb0e8059f01541049c4fcbbb5fc514946191c2db
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bb0e8059f01541049c4fcbbb5fc514946191c2db

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed May 29 00:24:09 2019 -0500

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

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 dd676e9..5d91085 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,




More information about the wine-cvs mailing list