Rob Shearman : widl: Remove the single keyword and type.
Alexandre Julliard
julliard at winehq.org
Fri Mar 6 09:49:26 CST 2009
Module: wine
Branch: master
Commit: b7dd838136c7835cbf7f29a8906583772df93ba1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b7dd838136c7835cbf7f29a8906583772df93ba1
Author: Rob Shearman <robertshearman at gmail.com>
Date: Thu Mar 5 08:21:58 2009 +0000
widl: Remove the single keyword and type.
It isn't valid in MIDL or the FreeDCE IDL compiler, nor does it appear
in the DCE/RPC or C99 specs.
---
tools/widl/parser.l | 1 -
tools/widl/parser.y | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/tools/widl/parser.l b/tools/widl/parser.l
index dba27ea..55a73c7 100644
--- a/tools/widl/parser.l
+++ b/tools/widl/parser.l
@@ -341,7 +341,6 @@ static const struct keyword attr_keywords[] =
{"requestedit", tREQUESTEDIT},
{"restricted", tRESTRICTED},
{"retval", tRETVAL},
- {"single", tSINGLE},
{"size_is", tSIZEIS},
{"source", tSOURCE},
{"strict_context_handle", tSTRICTCONTEXTHANDLE},
diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 962b37a..c921ab6 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -269,7 +269,6 @@ static statement_list_t *append_statement(statement_list_t *list, statement_t *s
%token tSAFEARRAY
%token tSHORT
%token tSIGNED
-%token tSINGLE
%token tSIZEIS tSIZEOF
%token tSMALL
%token tSOURCE
@@ -774,7 +773,6 @@ base_type: tBYTE { $$ = find_type_or_error($<str>1, 0); }
| tUNSIGNED int_std { $$ = type_new_int(type_basic_get_type($2), 1); }
| tUNSIGNED { $$ = type_new_int(TYPE_BASIC_INT, 1); }
| tFLOAT { $$ = find_type_or_error($<str>1, 0); }
- | tSINGLE { $$ = find_type("float", 0); }
| tDOUBLE { $$ = find_type_or_error($<str>1, 0); }
| tBOOLEAN { $$ = find_type_or_error($<str>1, 0); }
| tERRORSTATUST { $$ = find_type_or_error($<str>1, 0); }
More information about the wine-cvs
mailing list