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
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class NameCheck(object):
|
||||||
|
|
||||||
Returns a List of Match objects for the found macros.
|
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 = (
|
NON_MACROS = (
|
||||||
"asm", "inline", "EMIT", "_CRT_SECURE_NO_DEPRECATE", "MULADDC_"
|
"asm", "inline", "EMIT", "_CRT_SECURE_NO_DEPRECATE", "MULADDC_"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue