diff options
author | ngld <ngld@tproxy.de> | 2013-09-17 00:44:38 +0200 |
---|---|---|
committer | ngld <ngld@tproxy.de> | 2013-09-17 00:44:38 +0200 |
commit | 29a62bd92e056800c7bf8f91fbe4c9fc948bf035 (patch) | |
tree | 27653cf2a0f62ac79e448523d9a098f21dde4751 /tools | |
parent | 1600df2e360d0bbfd9195b3523dd3d0b440fe62a (diff) |
Updated library_sdl.js
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gen_struct_info.py | 2 | ||||
-rw-r--r-- | tools/shared.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/gen_struct_info.py b/tools/gen_struct_info.py index 203a18ec..ccc4aee6 100644 --- a/tools/gen_struct_info.py +++ b/tools/gen_struct_info.py @@ -226,7 +226,7 @@ else: walker.structs = resolve_delayed(walker.structs) with open(path, 'r') as stream: - defines = re.findall(r'(?:^|\n)#define\s+([A-Z|_]+)\s.*', stream.read()) + defines = re.findall(r'(?:^|\n)\s*#define\s+([A-Z|_|0-9]+)\s.*', stream.read()) return { 'file': path, diff --git a/tools/shared.py b/tools/shared.py index 76802eaa..554813ee 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -1452,7 +1452,7 @@ class Building: Cache.ensure() import gen_struct_info - gen_struct_info.main(['-o', info_path, path_from_root('src/struct_info.json')]) + gen_struct_info.main(['-qo', info_path, path_from_root('src/struct_info.json')]) @staticmethod def preprocess(infile, outfile): |