From 29832b64daa695a099b34f5a1ed0d6f3edc0c750 Mon Sep 17 00:00:00 2001 From: Armin Burgmeier Date: Mon, 29 Sep 2008 21:54:42 +0000 Subject: Keep @param and @throws intact, so these can be used in 2008-09-19 Armin Burgmeier * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Keep @param and @throws intact, so these can be used in *_docs_override_xml. Bug #539891. svn path=/trunk/; revision=734 --- tools/pm/DocsParser.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/pm/DocsParser.pm b/tools/pm/DocsParser.pm index c5d61c6d..a29c7a89 100644 --- a/tools/pm/DocsParser.pm +++ b/tools/pm/DocsParser.pm @@ -354,6 +354,10 @@ sub convert_tags_to_doxygen($) # Some argument names are suffixed by "_" -- strip this. # gtk-doc uses @thearg, but doxygen uses @a thearg. s" ?\@([a-zA-Z0-9]*(_[a-zA-Z0-9]+)*)_?\b" \@a $1"g; + + # Don't convert doxygen's @throws and @param, so these can be used in the + # docs_override.xml: + s" \@a (throws|param)" \@$1"g; s"^Note ?\d?: "\@note "mg; s"</?programlisting>""g; -- cgit v1.2.1