diff options
author | yexo <yexo@openttd.org> | 2011-12-21 14:30:08 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-12-21 14:30:08 +0000 |
commit | a55478aaa6453d62f9708ee03393711b2d3120ee (patch) | |
tree | c3a6a39b323746605b65b02a06f2502a3662b74a /src/script | |
parent | 5f7268cbdc8a3d7c5f0a548f3b71185b6562bc4f (diff) | |
download | openttd-a55478aaa6453d62f9708ee03393711b2d3120ee.tar.xz |
(svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/api/doxygen_filter.awk | 4 |
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") { |