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.
This commit is contained in:
parent
6aa9cd37a5
commit
a1d7930835
5 changed files with 39 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue