fix %extend+overload error

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-04 03:18:57 +00:00
commit 7757e31139
3 changed files with 98 additions and 16 deletions

View file

@ -2520,6 +2520,7 @@ cpp_class_decl :
Setattr($$,"allows_typedef","1");
/* Check for pure-abstract class */
Setattr($$,"abstract", pure_abstract($7));
appendChild($$,$7);
/* This bit of code merges in a previously defined %extend directive (if any) */
if (extendhash) {
@ -2535,7 +2536,6 @@ cpp_class_decl :
if (!classes) classes = NewHash();
Setattr(classes,Swig_symbol_qualifiedscopename(0),$$);
appendChild($$,$7);
p = $9;
if (p) {
set_nextSibling($$,p);