[gtk-doc] mkdb: fix a regression on the parser
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] mkdb: fix a regression on the parser
- Date: Fri, 17 Apr 2015 19:09:43 +0000 (UTC)
commit 4fe1cd0500b7fb7c96e0bd9ce8cfe7940799a18e
Author: Stefan Sauer <ensonic users sf net>
Date: Fri Apr 17 21:07:35 2015 +0200
mkdb: fix a regression on the parser
We're now using a state for param-section and forgot to update two place where we check for it.
gtkdoc-mkdb.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index e736fb7..8b00bfb 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -4097,14 +4097,14 @@ sub ScanSourceFile {
}
} elsif (m%^\s*since:%i) {
# we're in param section and have not seen the blank line
- if($in_part ne "") {
+ if($in_part ne "param") {
$since_desc = $';
$in_part = "since";
next;
}
} elsif (m%^\s*deprecated:%i) {
# we're in param section and have not seen the blank line
- if($in_part ne "") {
+ if($in_part ne "param") {
$deprecated_desc = $';
$in_part = "deprecated";
next;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]