Re: gtk-doc confused about symbols



Stefan, did you really mean

--- trunk/gtkdoc-mkdb.in	2009/01/29 22:25:15	673
+++ trunk/gtkdoc-mkdb.in	2009/02/05 15:04:08	675
@@ -3405,7 +3408,7 @@
 		$symbol = $1;
 		#print "SECTION DOCS found in source for : '$symbol'\n";
 		$ignore_broken_returns = 1;
-	    } elsif (m%^\s*([\w:-]*\w)\s*:?%) {
+	    } elsif (m%^\s*([\w:-]*\w)\s*:?\s*%) {
 		$symbol = $1;
 		#print "SYMBOL DOCS found in source for : '$symbol'\n";
 	    }

in this commit

http://svn.gnome.org/viewvc/gtk-doc/trunk/gtkdoc-mkdb.in?r1=673&r2=675

?

Because this change does not change anything, both regular expressions
match the same lines.   I originally suggested to require that the line
ends after the semicolon (sans whitespace), but you do not have the $
there.

Yeti



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]