[valadoc] Accept { inheritDoc} in comments without parent documentation



commit 4c4fa747f3502fb40cf9827a9408d86aac469561
Author: Florian Brosch <flo brosch gmail com>
Date:   Sun Oct 14 00:56:00 2012 +0200

    Accept { inheritDoc} in comments without parent documentation

 src/libvaladoc/taglets/tagletinheritdoc.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvaladoc/taglets/tagletinheritdoc.vala b/src/libvaladoc/taglets/tagletinheritdoc.vala
index e2e7fdd..caaa665 100644
--- a/src/libvaladoc/taglets/tagletinheritdoc.vala
+++ b/src/libvaladoc/taglets/tagletinheritdoc.vala
@@ -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);
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]