Parse error befor % token

Anish Chapagain anishchapagain at gmail.com
Wed Aug 13 06:52:56 EDT 2008


Hi,
i tried to compile the swig .i file but am having probel with the
error: parse error before % token

example.i

1. %module example
2. %{
3. #include <header.h>
4. %}
5.
6. %include "header.h"

i have setup.py file and am running through,
>>python setup.py build_ext

but is showing parse error before % token in example.i in line 1 and
also in 4.
Thank's for any help on this matter in advance
also, is there any live example having multiple .i files in single
interface SWIG file.

cheer's



More information about the Python-list mailing list