Match macros with spaces between # and define
Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
parent
d24e037dd1
commit
5c1acf2735
@ -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_"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user