From 6126fc75c9b7dc4d7f85b5692d5f55c0c65a5b8c Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Tue, 25 Jan 2005 16:41:12 +0000 Subject: [PATCH] unsigned char support. --- tools/widl/parser.y | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 1acd7c5d004..1216bb2d8fd 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -541,6 +541,7 @@ base_type: tBYTE { $$ = make_type(RPC_FC_BYTE, NULL); } | tSIGNED int_std { $$ = $2; $$->sign = 1; } | tUNSIGNED int_std { $$ = $2; $$->sign = -1; switch ($$->type) { + case RPC_FC_CHAR: $$->type = RPC_FC_BYTE; $$->sign = 0; 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;