From f8c517978bf5c5f164ff91cb1b277e1e7433e422 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 7 Jul 2011 15:09:15 +0200 Subject: [PATCH] widl: Use proper calling convention attributes. --- tools/widl/parser.y | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index f0340748c85..d4852d13203 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -588,10 +588,10 @@ uuid_string: $$ = parse_uuid($1); } ; -callconv: tCDECL { $$ = $1; } - | tFASTCALL { $$ = $1; } - | tPASCAL { $$ = $1; } - | tSTDCALL { $$ = $1; } +callconv: tCDECL { $$ = xstrdup("__cdecl"); } + | tFASTCALL { $$ = xstrdup("__fastcall"); } + | tPASCAL { $$ = xstrdup("__pascal"); } + | tSTDCALL { $$ = xstrdup("__stdcall"); } ; cases: { $$ = NULL; }