Fixed [ 852119 ] recursive inheritance in output .pm, perl5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
82986fa76b
commit
a5717296e7
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 */
|
/* 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 */
|
/* Handle inheritance */
|
||||||
List *baselist = Getattr(n,"bases");
|
List *baselist = Getattr(n,"bases");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue