]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc/html: Keep error-reporter for derived doclets
authorFlorian Brosch <flo.brosch@gmail.com>
Mon, 16 Jan 2012 00:07:09 +0000 (01:07 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Mon, 16 Jan 2012 00:07:09 +0000 (01:07 +0100)
src/libvaladoc/html/basicdoclet.vala

index a3329af4278b348dfb74c1fa9642a68836ae8502..04e0f598738ec90b4d677f3dc535926929737e9f 100755 (executable)
@@ -33,7 +33,7 @@ public abstract class Valadoc.Html.BasicDoclet : Api.Visitor, Doclet {
        protected Html.MarkupWriter writer;
        protected Html.CssClassResolver cssresolver;
        protected Charts.Factory image_factory;
-
+       protected ErrorReporter reporter;
        protected string package_list_link = "../index.html";
 
        // CSS:
@@ -98,6 +98,7 @@ public abstract class Valadoc.Html.BasicDoclet : Api.Visitor, Doclet {
        private const string css_deprecated = "deprecated";
 
        public virtual void process (Settings settings, Api.Tree tree, ErrorReporter reporter) {
+               this.reporter = reporter;
                this.settings = settings;
                this.tree = tree;