swig -DSWIG_ALLKW was too ugly. Use -Wallkw instead. Reverting swig.swg

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2003-12-12 06:12:29 +00:00
commit 8abe741cdc
4 changed files with 98 additions and 78 deletions

View file

@ -9,9 +9,9 @@
Use as
swig -DSWIG_ALLKW ...
swig -Wallkw ...
If you add a new language, remember to create a separete kw.swg
If you add a new language, remember to create a separete languagekw.swg
file, and add it here.
*/
@ -19,11 +19,11 @@
%include "chicken/chickenkw.swg"
%include "csharp/csharpkw.swg"
%include "java/javakw.swg"
%include "php4/phpkw.swg"
%include "php4/php4kw.swg"
%include "pike/pikekw.swg"
%include "python/pythonkw.swg"
%include "ruby/rubykw.swg"
%include "tcl/tclkw.swg"
%include "tcl/tcl8kw.swg"
#endif //__Lib_allkw_swg__

View file

@ -396,22 +396,3 @@ static int NAME(TYPE x) {
%enddef
/*
Include all the known keyword warnings. Very useful for adding test
files to the test-suite, or check if your own library is OK for all
the swig supported languages.
Use as
swig -DSWIG_ALLKW ...
Note that this is not equivalent to
swig -lallkw.swg
the last form will have no effect since allkw.swg will be included
to late.
*/
#ifdef SWIG_ALLKW
%include "allkw.swg"
#endif