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
|
|
@ -383,8 +383,8 @@ Swig_cparse_template_expand(Node *n, String *rname, ParmList *tparms, Symtab *ts
|
|||
|
||||
if (name) {
|
||||
if (!value) value = Getattr(p,k_type);
|
||||
qvalue = Swig_symbol_type_qualify(value,tsdecl);
|
||||
dvalue = Swig_symbol_typedef_reduce(qvalue, tsdecl);
|
||||
qvalue = Swig_symbol_typedef_reduce(value, tsdecl);
|
||||
dvalue = Swig_symbol_type_qualify(qvalue,tsdecl);
|
||||
if (SwigType_istemplate(dvalue)) {
|
||||
String *ty = Swig_symbol_template_deftype(dvalue, tscope);
|
||||
Delete(dvalue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue