summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>2014-01-31 12:35:22 +0100
committerKjell Ahlstedt <kjell.ahlstedt@bredband.net>2014-01-31 12:35:22 +0100
commit38c37c1f24e980b0fc1efc9594e81cddb2f3094b (patch)
tree8cc3f2eec46590245cdd1ec20c36de8aaf8db336
parent592d82c99b01c385864e1b5cef50707648d3a744 (diff)
downloadglibmm-38c37c1f24e980b0fc1efc9594e81cddb2f3094b.tar.gz
gmmproc: Don't change NULL to 0 in docs, when it's part of a longer name
* tools/pm/DocsParser.pm: Don't change NULL to 0, TRUE to true, FALSE to false, when they are part of a longer name.
-rw-r--r--tools/pm/DocsParser.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/pm/DocsParser.pm b/tools/pm/DocsParser.pm
index db23b7e5..f7c9ea7f 100644
--- a/tools/pm/DocsParser.pm
+++ b/tools/pm/DocsParser.pm
@@ -521,9 +521,9 @@ sub convert_tags_to_doxygen($)
# Doxygen is too dumb to handle &mdash;
s"&mdash;" \@htmlonly&mdash;\@endhtmlonly "g;
- s"\%?FALSE\b"<tt>false</tt>"g;
- s"\%?TRUE\b"<tt>true</tt>"g;
- s"\%?NULL\b"<tt>0</tt>"g;
+ s"\%?\bFALSE\b"<tt>false</tt>"g;
+ s"\%?\bTRUE\b"<tt>true</tt>"g;
+ s"\%?\bNULL\b"<tt>0</tt>"g;
s"#?\bgboolean\b"<tt>bool</tt>"g;
s"#?\bg(int|short|long)\b"<tt>$1</tt>"g;