fix builtin names warnings, so they ony apply to functions, as reported by James Bigler and the 'max' name issue

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-03-03 05:16:16 +00:00
commit dd1e7cd0b4
3 changed files with 10 additions and 1 deletions

View file

@ -113,7 +113,7 @@
* ----------------------------------------------------------------------------- */
#define %keywordwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_KEYWORD, msg))
#define %builtinwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_BUILTIN_NAME, msg))
#define %builtinwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_BUILTIN_NAME, msg), %$isfunction)
/* -----------------------------------------------------------------------------