diff options
author | Vadim Zeitlin <vz-swig@zeitlins.org> | 2014-08-22 22:44:55 +0200 |
---|---|---|
committer | Vadim Zeitlin <vz-swig@zeitlins.org> | 2014-09-03 17:28:10 +0200 |
commit | a1d79308350eef20ced130b15fb313595b7303e3 (patch) | |
tree | ceccf8465ef350840b2a26908a3d2635b2e6801d /Examples/test-suite/doxygen_misc_constructs.i | |
parent | 6aa9cd37a5aae7134cd65e72c9c98551ae15ec5a (diff) | |
download | swig-a1d79308350eef20ced130b15fb313595b7303e3.tar.gz |
Give warnings for unknown Doxygen commands in Doxygen parser.
Silently ignoring unknown Doxygen commands is not a reasonable default
behaviour, it's simple enough to turn off the warning if the command is really
supposed to be just ignored, but it's too easy to not notice a real problem if
it isn't.
Turn WARN_DOXYGEN_UNKNOWN_COMMAND on by default and add a test to the errors
test suite checking that it is indeed given.
Diffstat (limited to 'Examples/test-suite/doxygen_misc_constructs.i')
-rw-r--r-- | Examples/test-suite/doxygen_misc_constructs.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/test-suite/doxygen_misc_constructs.i b/Examples/test-suite/doxygen_misc_constructs.i index 78c72fe6d..04c063e64 100644 --- a/Examples/test-suite/doxygen_misc_constructs.i +++ b/Examples/test-suite/doxygen_misc_constructs.i @@ -3,6 +3,8 @@ %module doxygen_misc_constructs
+%warnfilter(SWIGWARN_DOXYGEN_UNKNOWN_COMMAND) backslashB;
+
%inline %{
// Tag '@endink' must be recognized even if it is not
|