[elinks-dev] Re: [patch] additional functionality for Python backend
M. Levinson
levinsm at users.sourceforge.net
Sun Sep 24 06:04:34 MDT 2006
On Sep 23, 2006, Kalle Olavi Niemitalo writes:
>"M. Levinson" <levinsm at users.sourceforge.net> writes:
>> +static char python_info_box_doc[] = \
>> +PYTHON_DOCSTRING("info_box(text[, title]) -> None\n\
>
>The backslash after the equals sign looks unnecessary,
>although it shouldn't hurt either.
Of course, I think my brain must have been in Python mode rather than
C mode when I typed that....
>> +#define PYTHON_DOCSTRING(str) ("")
>> +#endif
>
>Please remove the parentheses from the macro.
>static char python_info_box_doc[] = (""); is not standard C
>and is not accepted by Tiny C Compiler 0.9.23.
And for this one I have no excuse. Fixed in the attached version - thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 80353 bytes
Desc: not available
Url : http://linuxfromscratch.org/pipermail/elinks-dev/attachments/20060924/b5823cf2/attachment.bin
More information about the elinks-dev
mailing list