fixed %template within %extend, test added
fixed language symbol table nested classes name separator, test added fixed %feature "flatnested" working with %extend fixed Swig_offset_string for empty string added simple template to save/restore values in current scope (readability reasons)
This commit is contained in:
parent
8dba8b1fde
commit
b4fef06c42
12 changed files with 55 additions and 39 deletions
|
|
@ -417,7 +417,7 @@ class TypePass:private Dispatcher {
|
|||
String *unnamed = Getattr(n, "unnamed");
|
||||
String *storage = Getattr(n, "storage");
|
||||
String *kind = Getattr(n, "kind");
|
||||
Node *oldinclass = inclass;
|
||||
save_value<Node*> oldinclass(inclass);
|
||||
List *olist = normalize;
|
||||
Symtab *symtab;
|
||||
String *nname = 0;
|
||||
|
|
@ -537,8 +537,6 @@ class TypePass:private Dispatcher {
|
|||
|
||||
normalize = olist;
|
||||
|
||||
inclass = oldinclass;
|
||||
|
||||
/* If in a namespace, patch the class name */
|
||||
if (nname) {
|
||||
Setattr(n, "name", nname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue