[glibmm] gmmproc: Don't change NULL to 0 in docs, when it's part of a longer name
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] gmmproc: Don't change NULL to 0 in docs, when it's part of a longer name
- Date: Fri, 31 Jan 2014 11:43:51 +0000 (UTC)
commit 38c37c1f24e980b0fc1efc9594e81cddb2f3094b
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Fri Jan 31 12:35:22 2014 +0100
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.
tools/pm/DocsParser.pm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tools/pm/DocsParser.pm b/tools/pm/DocsParser.pm
index db23b7e..f7c9ea7 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 —
s"—" \ htmlonly—\ 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]