On Thu, 16 Oct 2003 00:02:02 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
VZ> I have no idea why doesn't it like "%module" statement any more. But, as I VZ> said, I think the whole idea of tweaking the .i files is a bad one. For VZ> this to really work (and continue to work) we need to make SWIG parse the VZ> .h files themselves. Please try doing this. After committing, I went to www.swig.org and after much searching through documentation that in some cases is 2 years out of date figured out the problem. It appears that we both looked at the .i file as some sort of script file which, back in the timeframe of our .i files, it was. However, in the last two years, the format has been changed to be a bit more C/C++ like and now lines use ; termination. Realising this, it makes the error a lot more obvious. When I look at a C file, if the errored line looks good, one of the first things I (so long ago) was taught was to look for the missing semicolon! Ah well, live and learn. I am going to try to get swig to parse the file. Brief reading of the documentation suggests you still use the %module section but then have a #include section below it which should (in theory ;-) ) do as you suggest. I'll play a bit more. I am also going to commit at will into the Python directory without worrying you as whatever I do there is not going to affect anyone else's ability to make M anyway. With the documentation I have, I'll see what I can do. I have a bridging Physics final on Monday night so may not be as available for the next few days while I pursue that time honoured passtime of all students - cramming ;-D Dr. QA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers