From a55478aaa6453d62f9708ee03393711b2d3120ee Mon Sep 17 00:00:00 2001 From: yexo Date: Wed, 21 Dec 2011 14:30:08 +0000 Subject: (svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation --- src/script/api/doxygen_filter.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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") { -- cgit v1.2.3-70-g09d2