mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 21:33:51 +00:00
(svn r18556) -Fix (r17005): squirrel export didn't accept negative constants
This commit is contained in:
parent
061de2b2df
commit
64478eb960
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user