Fix use of preprocessor null directive
This was broken recently in commit 255c929c56
for issue #217
This commit is contained in:
parent
68a936a638
commit
93d58cd3ed
3 changed files with 21 additions and 0 deletions
|
|
@ -1768,6 +1768,8 @@ String *Preprocessor_parse(String *s) {
|
|||
}
|
||||
} else if (Equal(id, kpp_level)) {
|
||||
Swig_error(Getfile(s), Getline(id), "cpp debug: level = %d, startlevel = %d\n", level, start_level);
|
||||
} else if (Equal(id, "")) {
|
||||
/* Null directive */
|
||||
} else {
|
||||
Swig_error(Getfile(s), Getline(id), "Unknown SWIG preprocessor directive: %s\n", id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue