Add explanatory comment to pp_unknowndirective2.i

This commit is contained in:
Olly Betts 2015-01-14 16:00:40 +13:00
commit a2f803bb5a
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -1 +1 @@
pp_unknowndirective2.i:5: Error: Unknown SWIG preprocessor directive: elsif
pp_unknowndirective2.i:7: Error: Unknown SWIG preprocessor directive: elsif