summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/api/squirrel_export.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/squirrel_export.awk b/src/ai/api/squirrel_export.awk
index 3fa8d26e2..d33cfe4a4 100644
--- a/src/ai/api/squirrel_export.awk
+++ b/src/ai/api/squirrel_export.awk
@@ -347,7 +347,7 @@ BEGIN {
}
# Add a const (non-enum) value
-/^[ ]*static const \w+ \w+ = \w+;/ {
+/^[ ]*static const \w+ \w+ = \(?\w*\)?\w+;/ {
const_size++
const_value[const_size] = $4
next