'Rect' is ambiguous (also defined in MacTypes.h)
[ardour.git] / tools / fmt-luadoc.php
index 3f7ef99b7298a5ca93568d6c71bdfbd21d3b4d1c..ff375856116c258802b3876871c3f55cc932b8b3 100755 (executable)
@@ -552,6 +552,7 @@ function traverse_parent ($ns, &$inherited) {
                asort ($parents);
                foreach ($parents as $p) {
                        if (!empty ($rv)) { $rv .= ', '; }
+                       if ($p == $ns) { continue; }
                        $rv .= typelink ($p);
                        $inherited[$p] = $classlist[$p];
                        traverse_parent ($p, $inherited);