Handle encapsulated unions in a cleaner (and less buggy) way. Emit the
authorOve Kaaven <ovek@transgaming.com>
Sat, 30 Nov 2002 01:49:46 +0000 (01:49 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 30 Nov 2002 01:49:46 +0000 (01:49 +0000)
commit34e2f87f8facff259aaadf2e388012a601ae96b4
tree28903003f5faf4ba2222441f7c770c8a34d56fb5
parent75e9c468bdf96fdaea77fde50414a53a9da5dfa4
Handle encapsulated unions in a cleaner (and less buggy) way. Emit the
names "DUMMYUNIONNAME" and "DUMMYSTRUCTNAME" for anonymous unions and
structs. Support const and extern definitions. Retain tokens (and
whether numbers are hex or not) used for computing constant
expressions, so that the full expression can be written to the header
file instead of the computed integer result of the expression. Parse
the sizeof() operator.  Compute and remember constant definitions and
enum values so they can be used in expressions. Improved identifier
lookup speed. Fixed some bugs.
tools/widl/header.c
tools/widl/header.h
tools/widl/parser.h
tools/widl/parser.l
tools/widl/parser.y
tools/widl/widltypes.h