Merge pull request #123 from wkalinin/test2
fixed enums & enum values language symbol table namespace fixed skipping of %templates in %extend if they are in the wrong scope
This commit is contained in:
commit
3412cc2f64
4 changed files with 62 additions and 30 deletions
|
|
@ -2679,7 +2679,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")))) {
|
||||
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