Allow defined types to be used as function names.

This commit is contained in:
Alexandre Julliard 2004-10-06 18:54:20 +00:00
parent b6aa6210cd
commit 68604dbae7
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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); }