Commit 68604dba authored by Alexandre Julliard's avatar Alexandre Julliard

Allow defined types to be used as function names.

parent b6aa6210
......@@ -100,8 +100,7 @@ interface IWebBrowserApp : IWebBrowser
HRESULT PutProperty([in] BSTR szProperty, [in] VARIANT vtValue);
HRESULT GetProperty([in] BSTR szProperty, [out] VARIANT *pvtValue);
[propget] HRESULT Name([out] BSTR* Name);
/* FIXME: get_HWND should be propget too but widl gets confused by the HWND */
HRESULT get_HWND([out] long *pHWND);
[propget] HRESULT HWND([out] long *pHWND);
[propget] HRESULT FullName([out] BSTR* FullName);
[propget] HRESULT Path([out] BSTR* Path);
[propget] HRESULT Visible([out] VARIANT_BOOL* pBool);
......
......@@ -525,6 +525,7 @@ t_ident: { $$ = NULL; }
ident: aIDENTIFIER { $$ = make_var($1); }
/* some "reserved words" used in attributes are also used as field names in some MS IDL files */
| aKNOWNTYPE { $$ = make_var($<str>1); }
| tID { $$ = make_var($<str>1); }
| tRETVAL { $$ = make_var($<str>1); }
| tVERSION { $$ = make_var($<str>1); }
......
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