fix predicate, excluding template case

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-09 17:34:52 +00:00
commit c7bc81c745
2 changed files with 11 additions and 1 deletions

View file

@ -85,3 +85,13 @@ public:
};
%}
%inline
{
template <class _Type>
struct A
{
};
}
%template(A_i) A<int>;

View file

@ -256,7 +256,7 @@ static int NAME(TYPE x) {
%define %$isenum "match"="enum" %enddef
%define %$isenumitem "match"="enumitem" %enddef
%define %$isaccess "match"="access" %enddef
%define %$isclass "match"="class" %enddef
%define %$isclass "match"="class","notmatch$template$templatetype"="class" %enddef
%define %$isextend "match"="extend" %enddef
%define %$isextend "match"="extend" %enddef
%define %$isconstructor "match"="constructor" %enddef