Fixed segfault problem. We should probably release 1.3.19 fairly soon as this
problem was serious. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
66a0fdb121
commit
e7206b20a6
1 changed files with 5 additions and 2 deletions
|
|
@ -493,9 +493,11 @@ static void merge_extensions(Node *cls, Node *am) {
|
||||||
then it hasn't been renamed. However---the name of the class
|
then it hasn't been renamed. However---the name of the class
|
||||||
itself might have been renamed so we need to do a consistency
|
itself might have been renamed so we need to do a consistency
|
||||||
check here */
|
check here */
|
||||||
Setattr(n,"sym:name", Getattr(cls,"sym:name"));
|
if (Getattr(cls,"sym:name")) {
|
||||||
|
Setattr(n,"sym:name", Getattr(cls,"sym:name"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
symname = Getattr(n,"sym:name");
|
symname = Getattr(n,"sym:name");
|
||||||
|
|
@ -1082,6 +1084,7 @@ extend_directive : EXTEND options idcolon LBRACE {
|
||||||
Classprefix = 0;
|
Classprefix = 0;
|
||||||
prev_symtab = 0;
|
prev_symtab = 0;
|
||||||
$$ = 0;
|
$$ = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue