mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-13 09:05:08 -04:00
Python port of 7cc4c68eb63a24f9cbf814254cd537df819958e5
Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
parent
17220988dc
commit
0fd48f7939
@ -213,7 +213,7 @@ class NameCheck(object):
|
||||
state = 1
|
||||
elif state is 1 and re.match(r"^}", line):
|
||||
state = 0
|
||||
elif state is 1:
|
||||
elif state is 1 and not re.match(r"^#", line):
|
||||
enum_const = re.match(r"^\s*(?P<enum_const>\w+)", line)
|
||||
if enum_const:
|
||||
enum_consts.append(Match(
|
||||
|
Loading…
x
Reference in New Issue
Block a user