1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

(svn r18556) -Fix (r17005): squirrel export didn't accept negative constants

This commit is contained in:
smatz
2009-12-19 23:48:42 +00:00
parent 061de2b2df
commit 64478eb960

View File

@@ -349,7 +349,7 @@ BEGIN {
}
# Add a const (non-enum) value
/^[ ]*static const \w+ \w+ = \(?\w*\)?\w+;/ {
/^[ ]*static const \w+ \w+ = -?\(?\w*\)?\w+;/ {
const_size++
const_value[const_size] = $4
next