-----Original Message----- From: Patrik Stridvall ps@leissner.se To: 'eric pouech' eric.pouech@wanadoo.fr; Guy L. Albertelli galberte@neo.lrun.com Cc: Wine Devel wine-devel@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