don't add hopobject as a parent prototype to global

This commit is contained in:
stefanp 2002-11-22 11:37:29 +00:00
parent 5bd8b44ee7
commit 99b0d50d71

View file

@ -56,7 +56,7 @@ public class DocPrototype extends DocDirElement {
parentPrototype = (DocPrototype) parent.getChildElement ("prototype_" + ext);
}
}
if (parentPrototype==null && parent!=null) {
if (parentPrototype==null && parent!=null && !name.equals("global")) {
// if no _extend was set, get the hopobject prototype
parentPrototype = (DocPrototype) parent.getChildElement ("prototype_hopobject");
}