Commit 6126fc75 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

unsigned char support.

parent 0b398605
...@@ -541,6 +541,7 @@ base_type: tBYTE { $$ = make_type(RPC_FC_BYTE, NULL); } ...@@ -541,6 +541,7 @@ base_type: tBYTE { $$ = make_type(RPC_FC_BYTE, NULL); }
| tSIGNED int_std { $$ = $2; $$->sign = 1; } | tSIGNED int_std { $$ = $2; $$->sign = 1; }
| tUNSIGNED int_std { $$ = $2; $$->sign = -1; | tUNSIGNED int_std { $$ = $2; $$->sign = -1;
switch ($$->type) { 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_SMALL: $$->type = RPC_FC_USMALL; break;
case RPC_FC_SHORT: $$->type = RPC_FC_USHORT; break; case RPC_FC_SHORT: $$->type = RPC_FC_USHORT; break;
case RPC_FC_LONG: $$->type = RPC_FC_ULONG; break; case RPC_FC_LONG: $$->type = RPC_FC_ULONG; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment