Add support for single in idl files.

This commit is contained in:
Vincent Béron 2005-03-28 10:01:13 +00:00 committed by Alexandre Julliard
parent 3548b87f75
commit 2eaf7b2e8a
2 changed files with 3 additions and 0 deletions

View File

@ -285,6 +285,7 @@ static struct keyword {
/* ... */
{"short", tSHORT},
{"signed", tSIGNED},
{"single", tSINGLE},
{"size_is", tSIZEIS},
{"sizeof", tSIZEOF},
/* ... */

View File

@ -170,6 +170,7 @@ static type_t std_uhyper = { "MIDL_uhyper" };
%token tRETVAL
%token tSHORT
%token tSIGNED
%token tSINGLE
%token tSIZEIS tSIZEOF
%token tSOURCE
%token tSTDCALL
@ -565,6 +566,7 @@ base_type: tBYTE { $$ = make_type(RPC_FC_BYTE, NULL); }
}
| tUNSIGNED { $$ = make_type(RPC_FC_ULONG, &std_int); $$->sign = -1; }
| tFLOAT { $$ = make_type(RPC_FC_FLOAT, NULL); }
| tSINGLE { $$ = make_type(RPC_FC_FLOAT, NULL); }
| tDOUBLE { $$ = make_type(RPC_FC_DOUBLE, NULL); }
| tBOOLEAN { $$ = make_type(RPC_FC_BYTE, &std_bool); /* ? */ }
| tERRORSTATUST { $$ = make_type(RPC_FC_ERROR_STATUS_T, NULL); }