activating the keyword warnings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-21 11:00:19 +00:00
commit 251e396fc7
4 changed files with 8 additions and 6 deletions

View file

@ -601,4 +601,8 @@ extern "C" {
/* ocaml keywords */
/* There's no need to use this, because of my rewriting machinery. C++
* words never collide with ocaml keywords */
//%include "ocamlkw.swg"
/* still we include the file, but the warning says that the offending
name will be properly renamed. Just to let the user to know about
it. */
%include "ocamlkw.swg"

View file

@ -2,7 +2,7 @@
#define __ocaml_ocamlkw_swg__
/* Warnings for Ocaml keywords */
#define OCAMLKW(x) %namewarn("314:" #x " is a ocaml keyword") #x
#define OCAMLKW(x) %namewarn("314:" #x " is a ocaml keyword and it will properly renamed") #x
/*
from

View file

@ -293,5 +293,4 @@
/* php keywords */
/* please test and activate */
//%include "phpkw.swg"
%include "phpkw.swg"

View file

@ -336,5 +336,4 @@ PIKE_MODULE_INIT
%}
/* pike keywords */
/* please test and activate */
//%include "pikekw.swg"
%include "pikekw.swg"