Rob Shearman : widl: Fix detection of structures with non-conformant strings.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 20 09:13:41 CDT 2007


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Tue Jun 19 12:08:26 2007 +0100

widl: Fix detection of structures with non-conformant strings.

---

 tools/widl/parser.y |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 5f30ccc..4933c43 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -1691,7 +1691,8 @@ static int get_struct_type(var_list_t *fields)
     {
         if (is_string_type(field->attrs, field->type))
         {
-            has_conformance = 1;
+            if (is_conformant_array(field->type))
+                has_conformance = 1;
             has_variance = 1;
             continue;
         }




More information about the wine-cvs mailing list