mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Python port of 7cc4c68eb6
Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user