From b7dd838136c7835cbf7f29a8906583772df93ba1 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Thu, 5 Mar 2009 08:21:58 +0000 Subject: [PATCH] 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, 3 deletions(-) diff --git a/tools/widl/parser.l b/tools/widl/parser.l index dba27ea7387..55a73c75be1 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 962b37a1e56..c921ab6d877 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($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($1, 0); } - | tSINGLE { $$ = find_type("float", 0); } | tDOUBLE { $$ = find_type_or_error($1, 0); } | tBOOLEAN { $$ = find_type_or_error($1, 0); } | tERRORSTATUST { $$ = find_type_or_error($1, 0); } -- 2.11.4.GIT