Commit 2eaf7b2e authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Add support for single in idl files.

parent 3548b87f
......@@ -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); }
......
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