Fix extraction for #define's when not an integer or string

Some #define values fall outside the range of int, so we need to override the
types.
This commit is contained in:
Scott Talbert
2016-02-27 21:41:54 -05:00
parent 4ecd949e32
commit aa0be2719e
4 changed files with 18 additions and 1 deletions

View File

@@ -394,7 +394,10 @@ def run():
m.ignore()
# Correct the type for this define as it is a float
module.find('wxSCRIPT_MUL_FACTOR').type = 'float'
#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.runGenerators(module)