summaryrefslogtreecommitdiff
path: root/Lib/swig.swg
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2012-03-21 20:58:04 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2012-03-21 20:58:04 +0000
commit9f714ec92a3fb705a0379aa6a2fe380b8df853e0 (patch)
tree2848b071e58f8f87d31c3905803bf1c8217efe97 /Lib/swig.swg
parent5a0269c3bf2e85822d5901dfa7c442e4134da0bb (diff)
downloadswig-9f714ec92a3fb705a0379aa6a2fe380b8df853e0.tar.gz
Correct definitions of %$isglobal and %$classname for %rename matching, although I can't get %$classname nor %$innamespace working (both use $parentNode)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swig.swg')
-rw-r--r--Lib/swig.swg4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/swig.swg b/Lib/swig.swg
index a6fef0257..b47d4ff2c 100644
--- a/Lib/swig.swg
+++ b/Lib/swig.swg
@@ -291,7 +291,7 @@ static int NAME(TYPE x) {
%define %$isextern "match$storage"="extern" %enddef
%define %$ismember "match$ismember"="1" %enddef
-%define %$isglobal %not %ismember %enddef
+%define %$isglobal %$not %$ismember %enddef
%define %$innamespace "match$parentNode$nodeType"="namespace" %enddef
%define %$ispublic "match$access"="public" %enddef
@@ -301,7 +301,7 @@ static int NAME(TYPE x) {
%define %$ismemberget "match$memberget"="1" %enddef
%define %$ismemberset "match$memberset"="1" %enddef
-%define %$classname %ismember,match$parentNode$name %enddef
+%define %$classname %$ismember,"match$parentNode$name" %enddef
/* -----------------------------------------------------------------------------
* Include all the warnings labels and macros