widl: Create a separate type_t object for each structure declaration or defintion.
commitdf37407c4a67a536950d1b8fbcbd857d183a327f
authorRobert Shearman <robertshearman@gmail.com>
Sat, 24 May 2008 09:33:48 +0000 (24 10:33 +0100)
committerRobert Shearman <robertshearman@gmail.com>
Sat, 31 May 2008 17:53:58 +0000 (31 18:53 +0100)
treec0a49e5bb538682deb07ecc41bdc3e83b6410266
parent0fb1a642455d9bb62fceed62473bb55f41465089
widl: Create a separate type_t object for each structure declaration or defintion.

Set the details of the structure to the previously defined version if available, or add it to a list of incomplete types otherwise. Only set the defined flag when the structure is actually defined in the IDL file so that the type is written out in the exact order that it is mentioned in the file.
tools/widl/parser.y