]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Accept {@inheritDoc} in comments without parent documentation
authorFlorian Brosch <flo.brosch@gmail.com>
Sat, 13 Oct 2012 22:56:00 +0000 (00:56 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Sat, 13 Oct 2012 22:56:00 +0000 (00:56 +0200)
src/libvaladoc/taglets/tagletinheritdoc.vala

index e2e7fdd3e7fbbb9491008f364b04ee90de71f136..caaa6659a7ed25946257cee730940a4412238a03 100644 (file)
@@ -75,7 +75,7 @@ public class Valadoc.Taglets.InheritDoc : InlineTaglet {
                }
 
                parent_taglet = find_parent_taglet ();
-               if (parent_taglet == null) {
+               if (parent_taglet == null && _inherited != null && _inherited.documentation != null) {
                        root.register_inheritdoc (this);
                }