From be4cdefbf35c44bff7aa6e3097b63380e6a3ffe6 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Tue, 19 Jun 2007 12:08:26 +0100 Subject: [PATCH] widl: Fix detection of structures with non-conformant strings. --- tools/widl/parser.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 5f30ccc1af4..4933c439d9e 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; }