Thanks!

Any tips on tracing or debugging swig parsing? I'll try your suggestion of isolating the problem code.

Cheers,
THK


On Fri, Nov 15, 2013 at 6:20 AM, Vadim Zeitlin <vz-swig@zeitlins.org> wrote:
On Thu, 14 Nov 2013 17:05:23 -0600 Tim Keitt <tkeitt@utexas.edu> wrote:

TK> Sorry if this is a faq. I've not found much searching. I have a C header
TK> with lots of
TK>
TK> typedef enum { ... } enum_type;
TK>
TK> declarations, and swig is giving me a parsing error at the first line
TK> number where this occurs. Can swig handle that construct? How hard would it
TK> be to modify the swig code to handle it?

 It definitely can handle this construct, I used it many times with C
headers doing the above. There must be something else in your code which
confuses it (notice that SWIG line number reporting is not always
accurate), try reproducing the problem in a small example to find what it
is.

 Good luck,
VZ

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Swig-user mailing list
Swig-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user




--
http://www.keittlab.org/