Fix parser error containing multiple #define statements inside an enum.
The second #define fails to parse:
enum FooEnum {
ENUM1 = 0,
ENUM2 = 1,
#define MACRO_DEF1 "Hello"
#define MACRO_DEF2 "World!"
ENUM3 = 2,
ENUM4 = 3,
};
Bug mentioned at https://sourceforge.net/p/swig/patches/333/
This commit is contained in:
parent
6522afe90a
commit
eb7b989c61
6 changed files with 92 additions and 17 deletions
|
|
@ -83,7 +83,6 @@ Makefile: $(srcdir)/Makefile.in ../../../config.status
|
|||
# Broken C++ test cases. (Can be run individually using: make testcase.cpptest)
|
||||
CPP_TEST_BROKEN += \
|
||||
constants \
|
||||
cpp_broken \
|
||||
director_nested_class \
|
||||
exception_partial_info \
|
||||
extend_variable \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue