additional check for template type, to handle constructors correctly
This commit is contained in:
parent
715e254e05
commit
6b7185989a
1 changed files with 2 additions and 2 deletions
|
|
@ -2676,8 +2676,8 @@ template_directive: SWIGTEMPLATE LPAREN idstringopt RPAREN idcolonnt LESSTHAN va
|
|||
Setattr(templnode,"sym:typename","1");
|
||||
}
|
||||
/* for now, nested %template is allowed only in the same scope as the template declaration */
|
||||
if ($3 && !((currentOuterClass && (currentOuterClass != Getattr(nn, "nested:outer")))
|
||||
||(extendmode && current_class && (current_class != Getattr(nn, "nested:outer"))))) {
|
||||
if ($3 && !(nnisclass && ((currentOuterClass && (currentOuterClass != Getattr(nn, "nested:outer")))
|
||||
||(extendmode && current_class && (current_class != Getattr(nn, "nested:outer")))))) {
|
||||
/*
|
||||
Comment this out for 1.3.28. We need to
|
||||
re-enable it later but first we need to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue