Fixed [ 852119 ] recursive inheritance in output .pm, perl5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
50b6ef5d15
commit
16704c7262
1 changed files with 5 additions and 1 deletions
|
|
@ -1144,7 +1144,11 @@ public:
|
|||
}
|
||||
/* If we are inheriting from a base class, set that up */
|
||||
|
||||
Printv(pm, "@ISA = qw( ",fullmodule, NIL);
|
||||
|
||||
Printv(pm, "@ISA = qw( ", NIL);
|
||||
if (!compat || Cmp(fullmodule, fullclassname)) {
|
||||
Printv(pm, fullmodule, NIL);
|
||||
}
|
||||
|
||||
/* Handle inheritance */
|
||||
List *baselist = Getattr(n,"bases");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue