From: SourceForge.net <no...@so...> - 2010-04-23 18:16:07
|
Bugs item #2991497, was opened at 2010-04-23 19:16 Message generated for change (Tracker Item Submitted) made by samellis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=2991497&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: preprocessor Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Sam Ellis (samellis) Assigned to: Nobody/Anonymous (nobody) Summary: "Syntax error in input" when parsing #define within an enum. Initial Comment: An error is produced when processing an enum that contains a #define. I tried swig1.3.38 on Linux and swig 1.3.40 on Windows. A trivial example is attached: C:\swigwin-1.3.40>swig -java -module test H:\test.c H:\test.c(2): Error: Syntax error in input(1). There is no problem when the #define is placed outside of the enum. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=2991497&group_id=1645 |