changeset 18802:6a35af277c5e draft

(svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation
author yexo <yexo@openttd.org>
date Wed, 21 Dec 2011 14:30:08 +0000
parents 77a81ef271b0
children 4444cc87af24
files src/script/api/doxygen_filter.awk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/script/api/doxygen_filter.awk
+++ b/src/script/api/doxygen_filter.awk
@@ -118,8 +118,8 @@
 /^(	*)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") {