Added handling of unsigned type. Patch by Jacek Caban (from WINE).

svn path=/trunk/; revision=14348
This commit is contained in:
Eric Kohl 2005-03-27 13:02:06 +00:00
parent 577b88645b
commit f39737088b
3 changed files with 397 additions and 383 deletions

View file

@ -1,5 +1,12 @@
ChangeLog ChangeLog
2005-03-27 Jacek Caban (from WINE)
tools/widl/parser.y
tools/widl/y.tab.c
Added handling of unsigned type
2005-03-25 ekohl 2005-03-25 ekohl
tools/widl/client.c tools/widl/client.c

View file

@ -561,6 +561,8 @@ base_type: tBYTE { $$ = make_type(RPC_FC_BYTE, NULL); }
default: break; default: break;
} }
} }
| tUNSIGNED { $$ = make_type(RPC_FC_ULONG, &std_int);
$$->sign = -1; }
| tFLOAT { $$ = make_type(RPC_FC_FLOAT, NULL); } | tFLOAT { $$ = make_type(RPC_FC_FLOAT, NULL); }
| tDOUBLE { $$ = make_type(RPC_FC_DOUBLE, NULL); } | tDOUBLE { $$ = make_type(RPC_FC_DOUBLE, NULL); }
| tBOOLEAN { $$ = make_type(RPC_FC_SMALL, &std_bool); } | tBOOLEAN { $$ = make_type(RPC_FC_SMALL, &std_bool); }

File diff suppressed because it is too large Load diff