activating the keyword warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a442049b77
commit
851bf6cb23
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue