]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-142025: Add c-analyzer include for pyexpat.c (GH-142026)
authordgpb <3577712+dg-pb@users.noreply.github.com>
Fri, 28 Nov 2025 17:51:48 +0000 (19:51 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Nov 2025 17:51:48 +0000 (09:51 -0800)
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Tools/c-analyzer/cpython/_parser.py

index d348a99fff7a110ef68902ee119dc1982f53f87d..6332dec3aefe4fe23c19e41b7593e7cc3a7c1f5f 100644 (file)
@@ -114,7 +114,10 @@ INCL_DIRS = format_tsv_lines([
     ('*', './Include/internal/mimalloc'),
 
     ('Modules/_decimal/**/*.c', 'Modules/_decimal/libmpdec'),
+
     ('Modules/_elementtree.c', 'Modules/expat'),
+    ('Modules/pyexpat.c', 'Modules/expat'),
+
     ('Modules/_hacl/*.c', 'Modules/_hacl/include'),
     ('Modules/_hacl/*.c', 'Modules/_hacl/'),
     ('Modules/_hacl/*.h', 'Modules/_hacl/include'),
@@ -125,6 +128,7 @@ INCL_DIRS = format_tsv_lines([
     ('Modules/sha3module.c', 'Modules/_hacl/include'),
     ('Modules/blake2module.c', 'Modules/_hacl/include'),
     ('Modules/hmacmodule.c', 'Modules/_hacl/include'),
+
     ('Objects/stringlib/*.h', 'Objects'),
 
     # possible system-installed headers, just in case