From 2331245034f3a82bd2d3f020aa04e7c6dad3a099 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 6 May 2015 15:29:48 +0800 Subject: [PATCH] src/Palete/VapiParser.vala --- src/Palete/VapiParser.vala | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/src/Palete/VapiParser.vala b/src/Palete/VapiParser.vala index ed79e949a..0f08cd5be 100644 --- a/src/Palete/VapiParser.vala +++ b/src/Palete/VapiParser.vala @@ -172,8 +172,7 @@ public class ValaDoc : Object { if (pluginpath == null) { return null; } -print("pluginpath %s", pluginpath); - doclet = modules.create_doclet (pluginpath); + doclet = modules.create_doclet (pluginpath); if (doclet == null) { reporter.simple_error ("error: failed to load doclet"); return null; @@ -266,28 +265,7 @@ print("pluginpath %s", pluginpath); new GirDocumentationImporter (doctree, docparser, modules, settings, reporter) }; - doctree.parse_comments (docparser); - if (reporter.errors > 0) { - return quit (reporter); - } - - doctree.import_comments (importers, import_packages, import_directories); - if (reporter.errors > 0) { - return quit (reporter); - } - - doctree.check_comments (docparser); - if (reporter.errors > 0) { - return quit (reporter); - } - - if (ValaDoc.gir_name != null) { - driver.write_gir (settings, reporter); - if (reporter.errors > 0) { - return quit (reporter); - } - } - + doclet.process (settings, doctree, reporter); return quit (reporter); } -- 2.39.2