Problem with specmaker

Guy L. Albertelli galberte at neo.lrun.com
Thu Sep 13 10:50:58 CDT 2001


-----Original Message-----
From: Patrik Stridvall <ps at leissner.se>
To: 'eric pouech' <eric.pouech at wanadoo.fr>; Guy L. Albertelli
<galberte at neo.lrun.com>
Cc: Wine Devel <wine-devel at winehq.com>
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: function_grep.diff
Type: application/octet-stream
Size: 515 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20010913/5d961112/function_grep.obj


More information about the wine-devel mailing list