1
0
Fork 0

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

release/1.0
smatz 2009-12-19 23:48:42 +00:00
parent 061de2b2df
commit 64478eb960
1 changed files with 1 additions and 1 deletions

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