[PyKDE] SIP parse error

Phil Thompson phil at riverbankcomputing.co.uk
Tue Jun 21 15:52:15 BST 2005


> On Sun, 19 Jun 2005 14:37:48 +0100
> Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
>
>> On Friday 17 June 2005 9:13 pm, James Emerton wrote:
>> > There is a small issue with the parsing code in SIP.  I get a parse
>> > error whenever a %MethodCode section contains a %, such as a printf()
>> > format string.
>> >
>> > My workaround right now is to use something like this...
>> > const char fmt[] = { 37, '0', '4', 'd', 37, '0', '2', 'd', 37, '0',
>> > '2', 'd', 0 };
>>
>> Should be fixed in tonight's snapshot.
>
> I see some strange syntax errors with this snapshot for project
> successfully built with sip-snapshot-20050605.  In all cases the error
> is in %Included file and in one case the error is at line 271 of file
> having 214 lines.

Can you send me a test case?

Phil




More information about the PyQt mailing list