summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-13 17:11:42 +0000
committerrubidium <rubidium@openttd.org>2011-11-13 17:11:42 +0000
commit47ca0f34e07741100b124cd67a9fc5870bc83437 (patch)
tree2ef3a549c443c80faf021f4e65d0fa0faedcaf8c
parent165fb1e9e77a6f0fa4cce903eec2711d282c9c7e (diff)
downloadopenttd-47ca0f34e07741100b124cd67a9fc5870bc83437.tar.xz
(svn r23204) -Fix (r23201): if you rename a constant, then also rename it in the helper scripts that use it
-rw-r--r--src/ai/api/squirrel_export.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ai/api/squirrel_export.awk b/src/ai/api/squirrel_export.awk
index dcd39547e..5a817f94d 100644
--- a/src/ai/api/squirrel_export.awk
+++ b/src/ai/api/squirrel_export.awk
@@ -102,9 +102,9 @@ BEGIN {
/^( *)private/ { if (cls_level == 1) public = "false"; next; }
# Ignore special doxygen blocks
-/^#ifndef DOXYGEN_SKIP/ { doxygen_skip = "next"; next; }
-/^#ifdef DOXYGEN_SKIP/ { doxygen_skip = "true"; next; }
-/^#endif \/\* DOXYGEN_SKIP \*\// { doxygen_skip = "false"; next; }
+/^#ifndef DOXYGEN_AI_DOCS/ { doxygen_skip = "next"; next; }
+/^#ifdef DOXYGEN_AI_DOCS/ { doxygen_skip = "true"; next; }
+/^#endif \/\* DOXYGEN_AI_DOCS \*\// { doxygen_skip = "false"; next; }
/^#else/ {
if (doxygen_skip == "next") {
doxygen_skip = "true";