normalize operation, first reduce, then qualify
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
53484556bf
commit
c26263a2f4
2 changed files with 4 additions and 4 deletions
|
|
@ -1058,8 +1058,8 @@ Swig_symbol_clookup(String_or_char *name, Symtab *n) {
|
|||
}
|
||||
if (!s) {
|
||||
if (SwigType_istemplate(name)) {
|
||||
SwigType *qt = Swig_symbol_type_qualify(name,hsym);
|
||||
SwigType *rt = Swig_symbol_template_reduce(qt, hsym);
|
||||
SwigType *qt = Swig_symbol_template_reduce(name, hsym);
|
||||
SwigType *rt = Swig_symbol_type_qualify(qt,hsym);
|
||||
if (!Equal(rt,name)) {
|
||||
s = Swig_symbol_clookup(rt, hsym);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue