From 4fe1cd0500b7fb7c96e0bd9ce8cfe7940799a18e Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Fri, 17 Apr 2015 21:07:35 +0200 Subject: [PATCH] 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 file 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; -- 2.11.4.GIT