diff options
author | rubidium <rubidium@openttd.org> | 2009-09-09 08:04:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-09 08:04:27 +0000 |
commit | 008ffc58dd581839d62331d0281849fc3fcef71d (patch) | |
tree | ef9844d8f8ea32dfaf1d4f3b036fdbb8ddbcabd7 /src | |
parent | e2122dc7f0e02e50ff2e17ae2d3a164671aa0975 (diff) | |
download | openttd-008ffc58dd581839d62331d0281849fc3fcef71d.tar.xz |
(svn r17484) -Fix: squirrel export didn't like one of the casts
Diffstat (limited to 'src')
-rw-r--r-- | src/ai/api/squirrel_export.awk | 2 |
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 |