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 { ...@@ -285,6 +285,7 @@ static struct keyword {
/* ... */ /* ... */
{"short", tSHORT}, {"short", tSHORT},
{"signed", tSIGNED}, {"signed", tSIGNED},
{"single", tSINGLE},
{"size_is", tSIZEIS}, {"size_is", tSIZEIS},
{"sizeof", tSIZEOF}, {"sizeof", tSIZEOF},
/* ... */ /* ... */
......
...@@ -170,6 +170,7 @@ static type_t std_uhyper = { "MIDL_uhyper" }; ...@@ -170,6 +170,7 @@ static type_t std_uhyper = { "MIDL_uhyper" };
%token tRETVAL %token tRETVAL
%token tSHORT %token tSHORT
%token tSIGNED %token tSIGNED
%token tSINGLE
%token tSIZEIS tSIZEOF %token tSIZEIS tSIZEOF
%token tSOURCE %token tSOURCE
%token tSTDCALL %token tSTDCALL
...@@ -565,6 +566,7 @@ base_type: tBYTE { $$ = make_type(RPC_FC_BYTE, NULL); } ...@@ -565,6 +566,7 @@ base_type: tBYTE { $$ = make_type(RPC_FC_BYTE, NULL); }
} }
| tUNSIGNED { $$ = make_type(RPC_FC_ULONG, &std_int); $$->sign = -1; } | tUNSIGNED { $$ = make_type(RPC_FC_ULONG, &std_int); $$->sign = -1; }
| tFLOAT { $$ = make_type(RPC_FC_FLOAT, NULL); } | tFLOAT { $$ = make_type(RPC_FC_FLOAT, NULL); }
| tSINGLE { $$ = 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_BYTE, &std_bool); /* ? */ } | tBOOLEAN { $$ = make_type(RPC_FC_BYTE, &std_bool); /* ? */ }
| tERRORSTATUST { $$ = make_type(RPC_FC_ERROR_STATUS_T, NULL); } | 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