WIDL: Added handling of unsigned type

Jacek Caban jack at itma.pwr.wroc.pl
Wed Mar 23 09:07:14 CST 2005


Changelog:
    Added handling of unsigned type
-------------- next part --------------
Index: tools/widl/parser.y
===================================================================
RCS file: /home/wine/wine/tools/widl/parser.y,v
retrieving revision 1.43
diff -u -p -r1.43 parser.y
--- tools/widl/parser.y	5 Mar 2005 10:49:22 -0000	1.43
+++ tools/widl/parser.y	23 Mar 2005 15:08:35 -0000
@@ -563,6 +563,8 @@ base_type: tBYTE				{ $$ = make_type(RPC
 						  default: break;
 						  }
 						}
+        | tUNSIGNED				{ $$ = make_type(RPC_FC_ULONG, &std_int);
+						  $$->sign = -1; }
 	| tFLOAT				{ $$ = make_type(RPC_FC_FLOAT, NULL); }
 	| tDOUBLE				{ $$ = make_type(RPC_FC_DOUBLE, NULL); }
 	| tBOOLEAN				{ $$ = make_type(RPC_FC_BYTE, &std_bool); /* ? */ }


More information about the wine-patches mailing list