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:
parent
dbce71f7a8
commit
251e396fc7
4 changed files with 8 additions and 6 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -293,5 +293,4 @@
|
|||
|
||||
|
||||
/* php keywords */
|
||||
/* please test and activate */
|
||||
//%include "phpkw.swg"
|
||||
%include "phpkw.swg"
|
||||
|
|
|
|||
|
|
@ -336,5 +336,4 @@ PIKE_MODULE_INIT
|
|||
%}
|
||||
|
||||
/* pike keywords */
|
||||
/* please test and activate */
|
||||
//%include "pikekw.swg"
|
||||
%include "pikekw.swg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue