-----Original Message-----
From: Patrik Stridvall <[EMAIL PROTECTED]>
To: 'eric pouech' <[EMAIL PROTECTED]>; Guy L. Albertelli
<[EMAIL PROTECTED]>
Cc: Wine Devel <[EMAIL PROTECTED]>
Date: Thursday, September 06, 2001 5:59 PM
Subject: RE: Problem with specmaker
>
>Hmm. Thinking, modifying etc.
>
>What about this?
>
>Index: wine/tools/specmaker/function_grep.pl
>===================================================================
>RCS file: /home/wine/wine/tools/specmaker/function_grep.pl,v
>retrieving revision 1.1
>diff -u -u -r1.1 function_grep.pl
>--- wine/tools/specmaker/function_grep.pl 2001/01/04 19:45:50 1.1
>+++ wine/tools/specmaker/function_grep.pl 2001/09/06 21:50:26
<snip>
No the above patch merely resulted in an infinite loop. After much
consultation with "Perl in a Nutshell", I came up with the following patch.
The header file in question is "shlobj.h".
The patch has two sections. First gets rid of the \n imbeded with the
lookahead for preprocessor statements. The second gets rid of the
ICOM_DEFINE statement (poorly I know) because it has no ";". This seems to
make things work and generate correct headers.
Thanks,
Guy
function_grep.diff