summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-21 14:30:08 +0000
committeryexo <yexo@openttd.org>2011-12-21 14:30:08 +0000
commita55478aaa6453d62f9708ee03393711b2d3120ee (patch)
treec3a6a39b323746605b65b02a06f2502a3662b74a
parent5f7268cbdc8a3d7c5f0a548f3b71185b6562bc4f (diff)
downloadopenttd-a55478aaa6453d62f9708ee03393711b2d3120ee.tar.xz
(svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation
-rw-r--r--src/script/api/doxygen_filter.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/doxygen_filter.awk b/src/script/api/doxygen_filter.awk
index bf03aa0f8..3a321fb5b 100644
--- a/src/script/api/doxygen_filter.awk
+++ b/src/script/api/doxygen_filter.awk
@@ -118,8 +118,8 @@ BEGIN {
/^( *)private/ { if (cls_level == 1) comment_buffer = ""; public = "false"; next; }
# Ignore special doxygen blocks
-/^#ifndef DOXYGEN_API/ { doxygen_skip = "next"; next; }
-/^#ifdef DOXYGEN_API/ { doxygen_skip = "true"; next; }
+/^#ifndef DOXYGEN_API/ { doxygen_skip = "true"; next; }
+/^#ifdef DOXYGEN_API/ { doxygen_skip = "next"; next; }
/^#endif \/\* DOXYGEN_API \*\// { doxygen_skip = "false"; next; }
/^#else/ {
if (doxygen_skip == "next") {