[gtk-doc] mkdb: add missing next
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] mkdb: add missing next
- Date: Fri, 24 Apr 2015 18:57:00 +0000 (UTC)
commit 9383a1260111bed59e91a735cb04cb1a72ce1d01
Author: Stefan Sauer <ensonic users sf net>
Date: Fri Apr 24 20:55:48 2015 +0200
mkdb: add missing next
We were printing a bogus warning, as we already handled the line.
gtkdoc-mkdb.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 2fc20ca..710e288 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -4183,12 +4183,13 @@ sub ScanSourceFile {
my $annotation = $_;
$annotation =~ s/^\s+|\s+$//g ;
$SymbolAnnotations{$symbol} .= $annotation;
+ next;
}
# We must be in the middle of a parameter description, so add it on
# to the last element in @params.
if ($current_param == -1) {
- &LogWarning ($file, $., "Parsing comment block file : parameter expected.");
+ &LogWarning ($file, $., "Parsing comment block file : parameter expected, but got '$_'");
} else {
$params[$#params] .= $_;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]