Skip to content

Commit 8f63db8

Browse files
committed
Add includes to analyzer
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent 649e7dd commit 8f63db8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Tools/c-analyzer/c_parser/parser/_regexes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ def _ind(text, level=1, edges='both'):
750750
[^{{;]*
751751
)
752752
\s* [)] \s*
753+
(?: {IDENTIFIER} \s*)* # C++ optional qualifications
753754
(?: # <FUNC_DELIM>
754755
[{{;]
755756
)

Tools/c-analyzer/cpython/_files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# Technically, this is covered by "Include/*.h":
1010
#'Include/cpython/*.h',
1111
'Include/internal/*.h',
12+
'Include/mimalloc/**/*.h',
1213
'Modules/**/*.h',
1314
'Modules/**/*.c',
1415
'Objects/**/*.h',

Tools/c-analyzer/cpython/_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def clean_lines(text):
109109
* .
110110
* ./Include
111111
* ./Include/internal
112+
* ./Include/mimalloc
112113
113114
Modules/_decimal/**/*.c Modules/_decimal/libmpdec
114115
Modules/_elementtree.c Modules/expat

0 commit comments

Comments
 (0)