summaryrefslogtreecommitdiff
path: root/gtkdoc-mkdb.in
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2015-04-17 21:07:35 +0200
committerStefan Sauer <ensonic@users.sf.net>2015-04-17 21:07:35 +0200
commit4fe1cd0500b7fb7c96e0bd9ce8cfe7940799a18e (patch)
tree7ecc55fafd94fbd8cd8ddb5366b2aee529ba59d6 /gtkdoc-mkdb.in
parent99ee7b584d3a1f577e56c2b5422c69e4be2f0a97 (diff)
downloadgtk-doc-4fe1cd0500b7fb7c96e0bd9ce8cfe7940799a18e.tar.gz
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.
Diffstat (limited to 'gtkdoc-mkdb.in')
-rwxr-xr-xgtkdoc-mkdb.in4
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;