mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
ignore space in front od define tag
This commit is contained in:
parent
7018dc4b79
commit
65c99e508f
@ -414,7 +414,7 @@ def parse_events(path):
|
||||
if parts and len(parts.groups()) == 1:
|
||||
param = parts.groups()[0]
|
||||
params.append(param)
|
||||
parts = re.match('#define\s+(\w+)\s+(\w*)',line)
|
||||
parts = re.match('\s*#define\s+(\w+)\s+(\w*)',line)
|
||||
if parts and len(parts.groups()) == 2:
|
||||
(key, value) = parts.groups()
|
||||
if format != None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user