1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation

This commit is contained in:
yexo
2011-12-21 14:30:08 +00:00
parent 5f7268cbdc
commit a55478aaa6

View File

@@ -118,8 +118,8 @@ BEGIN {
/^( *)private/ { if (cls_level == 1) comment_buffer = ""; public = "false"; next; } /^( *)private/ { if (cls_level == 1) comment_buffer = ""; public = "false"; next; }
# Ignore special doxygen blocks # Ignore special doxygen blocks
/^#ifndef DOXYGEN_API/ { doxygen_skip = "next"; next; } /^#ifndef DOXYGEN_API/ { doxygen_skip = "true"; next; }
/^#ifdef DOXYGEN_API/ { doxygen_skip = "true"; next; } /^#ifdef DOXYGEN_API/ { doxygen_skip = "next"; next; }
/^#endif \/\* DOXYGEN_API \*\// { doxygen_skip = "false"; next; } /^#endif \/\* DOXYGEN_API \*\// { doxygen_skip = "false"; next; }
/^#else/ { /^#else/ {
if (doxygen_skip == "next") { if (doxygen_skip == "next") {