[WIDL 09/22] The lval member of var_t is essentially a duplicate of eval->cval

Robert Shearman rob at codeweavers.com
Fri Mar 31 05:45:43 CST 2006


ChangeLog:
widl: The lval member of var_t is essentially a duplicate of eval->cval

- Generate eval's for enums that don't explicitly have one. This means
that enums written in header files won't match exactly what has been put
into the IDL file, but the numeric constat is the same and MIDL does a
similar thing.
- Replace constant lookups with eval->cval instead of lval.

   tools/widl/parser.y     |   14 ++++++--------
   tools/widl/widltypes.h  |    1 -
   tools/widl/write_msft.c |    2 +-
   3 files changed, 7 insertions(+), 10 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: a1871fbd4d1f725c45a52bdd72b981f19d818d4a.diff
Type: text/x-patch
Size: 2525 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060331/69de478e/a1871fbd4d1f725c45a52bdd72b981f19d818d4a.diff


More information about the wine-patches mailing list