[valadoc] gtkcommentparser: Fix --verbose
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] gtkcommentparser: Fix --verbose
- Date: Fri, 10 Aug 2012 21:52:31 +0000 (UTC)
commit 8cfab911725cd434f63da2b138aa483cc5ac90f4
Author: Florian Brosch <flo brosch gmail com>
Date: Thu Aug 9 04:18:55 2012 +0200
gtkcommentparser: Fix --verbose
.../documentation/gtkdoccommentparser.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libvaladoc/documentation/gtkdoccommentparser.vala b/src/libvaladoc/documentation/gtkdoccommentparser.vala
index eb154ad..f725ef7 100644
--- a/src/libvaladoc/documentation/gtkdoccommentparser.vala
+++ b/src/libvaladoc/documentation/gtkdoccommentparser.vala
@@ -67,7 +67,7 @@ public class Valadoc.Gtkdoc.Parser : Object, ResourceLocator {
private void reset (Api.SourceComment comment) {
this.scanner.reset (comment.content);
- this.show_warnings = !comment.file.package.is_package || settings.verbose;
+ this.show_warnings = !comment.file.package.is_package;
this.comment_lines = null;
this.footnotes.clear ();
this.comment = comment;
@@ -213,7 +213,7 @@ public class Valadoc.Gtkdoc.Parser : Object, ResourceLocator {
}
private void report_unexpected_token (Token got, string expected) {
- if (this.show_warnings) {
+ if (!this.show_warnings) {
return ;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]