widl #26: cope with unsigned char
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Tue Jan 25 07:58:32 CST 2005
Huw Davies <huw at codeweavers.com>
unsigned char support
--
Huw Davies
huw at codeweavers.com
Index: tools/widl/parser.y
===================================================================
RCS file: /home/wine/wine/tools/widl/parser.y,v
retrieving revision 1.34
diff -u -p -r1.34 parser.y
--- tools/widl/parser.y 20 Jan 2005 20:34:08 -0000 1.34
+++ tools/widl/parser.y 25 Jan 2005 13:56:47 -0000
@@ -541,6 +541,7 @@ base_type: tBYTE { $$ = make_type(RPC
| tSIGNED int_std { $$ = $2; $$->sign = 1; }
| tUNSIGNED int_std { $$ = $2; $$->sign = -1;
switch ($$->type) {
+ case RPC_FC_CHAR: $$->type = RPC_FC_BYTE; break;
case RPC_FC_SMALL: $$->type = RPC_FC_USMALL; break;
case RPC_FC_SHORT: $$->type = RPC_FC_USHORT; break;
case RPC_FC_LONG: $$->type = RPC_FC_ULONG; break;
More information about the wine-patches
mailing list