Recently had a problem with specmaker not generating prototypes. Traced it down to a problem in function_grep.pl.
If the following lines are in a .h file, no prototypes after them are recognized. Removing the lines from the .h file allows the prototype to be generated:
#define IShellIcon_METHODS \ ICOM_METHOD3(HRESULT, GetIconOf, \ LPCITEMIDLIST,pidl, UINT,flags, LPINT,lpIconIndex)
I suspect that the preprocessor elimination did not expect multiline condition. I don't know perl so I cann't fix it.
Thanks, Guy Albertelli <galberte@neo.lrun.com>