mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Match macros with spaces between # and define
Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
@ -250,7 +250,7 @@ class NameCheck(object):
|
||||
|
||||
Returns a List of Match objects for the found macros.
|
||||
"""
|
||||
MACRO_REGEX = r"#define (?P<macro>\w+)"
|
||||
MACRO_REGEX = r"# *define +(?P<macro>\w+)"
|
||||
NON_MACROS = (
|
||||
"asm", "inline", "EMIT", "_CRT_SECURE_NO_DEPRECATE", "MULADDC_"
|
||||
)
|
||||
|
Reference in New Issue
Block a user