[WIDL] Fix pointer detection for structures with embedded arrays

Robert Shearman rob at codeweavers.com
Mon Feb 6 20:26:14 CST 2006


ChangeLog:
Fix pointer detection for structures with embedded arrays.

Pointers have priority over every other type, so move the detection to
the top of get_struct_type.

Fall through from the embedded array detection to the embedded structure
handling code so that conformance, variance and pointer presence is
inherited from the array's base type.

  tools/widl/parser.y |   17 ++++++++---------
  1 files changed, 8 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1c008a93680489ecdd16a0dc07155e859d4d2c80.diff
Type: text/x-patch
Size: 1111 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060207/2d052740/1c008a93680489ecdd16a0dc07155e859d4d2c80.diff


More information about the wine-patches mailing list