add fullname to the php4 kw warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1d36caec1f
commit
eb3b0f6b30
3 changed files with 11 additions and 4 deletions
|
|
@ -3,14 +3,14 @@
|
|||
// when used as class methods.
|
||||
//
|
||||
|
||||
#define PHPKW(x) %namewarn("314:" `x` " is a php keyword, renamed as c_"`x`,sourcefmt="%(lower)s", rename="c_%s") `x`
|
||||
#define PHPKW(x) %namewarn("314:" `x` " is a php keyword, renamed as c_"`x`,sourcefmt="%(lower)s", rename="c_%s",fullname=1) `x`
|
||||
|
||||
%define PHPCN(x)
|
||||
%namewarn("314:" `x` " is a php reserved class name, class renamed as c_"`x`,match="class",rename="c_%s") `x`;
|
||||
%namewarn("314:" `x` " is a php reserved class name, constructor renamed as c_"`x`,match="constructor",rename="c_%s") `x`;
|
||||
%enddef
|
||||
|
||||
#define PHPBN1(x) %namewarn("321:" `x` " conflicts with a built-in name in php",sourcefmt="%(lower)s") "::" `x`
|
||||
#define PHPBN1(x) %namewarn("321:" `x` " conflicts with a built-in name in php",sourcefmt="%(lower)s",fullname=1) `x`
|
||||
#define PHPBN2(x) %namewarn("321:" `x` " conflicts with a built-in name in php") "::" `x`
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue