summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorArmin Burgmeier <armin@openismus.com>2008-09-29 21:54:42 +0000
committerMurray Cumming <murrayc@src.gnome.org>2008-09-29 21:54:42 +0000
commit29832b64daa695a099b34f5a1ed0d6f3edc0c750 (patch)
treec9b344c81fedc74226c13b54d4825cbfb065b386 /tools
parentbf07396044e58d838f7d14b8726eade0f7b6219d (diff)
downloadglibmm-29832b64daa695a099b34f5a1ed0d6f3edc0c750.tar.gz
Keep @param and @throws intact, so these can be used in
2008-09-19 Armin Burgmeier <armin@openismus.com> * 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
Diffstat (limited to 'tools')
-rw-r--r--tools/pm/DocsParser.pm4
1 files changed, 4 insertions, 0 deletions
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"&lt;/?programlisting&gt;""g;