Add support for single in idl files.
This commit is contained in:
parent
3548b87f75
commit
2eaf7b2e8a
|
@ -285,6 +285,7 @@ static struct keyword {
|
|||
/* ... */
|
||||
{"short", tSHORT},
|
||||
{"signed", tSIGNED},
|
||||
{"single", tSINGLE},
|
||||
{"size_is", tSIZEIS},
|
||||
{"sizeof", tSIZEOF},
|
||||
/* ... */
|
||||
|
|
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue