Changeset - r18792:d321fdd7805e
[Not reviewed]
master
0 1 0
yexo - 12 years ago 2011-12-21 14:30:08
yexo@openttd.org
(svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/script/api/doxygen_filter.awk
Show inline comments
 
@@ -115,14 +115,14 @@ BEGIN {
 
}
 
/^(	*)public/    { if (cls_level == 1) comment_buffer = ""; public = "true";  next; }
 
/^(	*)protected/ { if (cls_level == 1) comment_buffer = ""; public = "false"; next; }
 
/^(	*)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") {
 
		doxygen_skip = "true";
 
	} else {
 
		doxygen_skip = "false";
0 comments (0 inline, 0 general)