From bcca410733f8a55157fd13e2d42a06730e4a518c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 14 Jun 2011 12:23:32 +0200 Subject: [PATCH] widl: Allow unsized in,out string parameters. --- tools/widl/parser.y | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 24107fc6e59..f0340748c85 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2572,6 +2572,7 @@ static void check_remoting_args(const var_t *func) type_array_get_conformance(type)->type != EXPR_VOID) break; if (!type_array_has_conformance(type) && type_array_get_dim(type)) break; } + if (is_attr( arg->attrs, ATTR_IN )) break; error_loc_info(&arg->loc_info, "out parameter \'%s\' of function \'%s\' cannot be an unsized string\n", arg->name, funcname); break; case TGT_INVALID: