Add explanatory comment to pp_unknowndirective2.i
This commit is contained in:
parent
0dd685bad2
commit
a2f803bb5a
2 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#ifdef FOO
|
||||
long long i;
|
||||
/* Check we get an error for an unknown directive (this should be #elif).
|
||||
* Unknown directives were silently ignored by SWIG < 3.0.3. */
|
||||
#elsif defined(BAR)
|
||||
long i;
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
pp_unknowndirective2.i:5: Error: Unknown SWIG preprocessor directive: elsif
|
||||
pp_unknowndirective2.i:7: Error: Unknown SWIG preprocessor directive: elsif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue