summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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") {