Ensure -c++out is not used with -c++
Error checking for this combination implemented as well as correcting Octave Also refactor, replacing CPlusPlusOut variable with cparse_cplusplusout for an implementation which more closely resembles cparse_cplusplus which is also required in both .c and .cxx files.
This commit is contained in:
parent
3b4d331310
commit
2121e1217e
8 changed files with 30 additions and 14 deletions
|
|
@ -400,7 +400,7 @@ void Swig_nested_name_unnamed_c_structs(Node *n) {
|
|||
c = next;
|
||||
continue;
|
||||
}
|
||||
} else if (CPlusPlusOut) {
|
||||
} else if (cparse_cplusplusout) {
|
||||
if (Getattr(c, "nested:outer")) {
|
||||
Node *ins = create_insert(c, true);
|
||||
insertNodeAfter(c, ins);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue