From: dgpb <3577712+dg-pb@users.noreply.github.com> Date: Fri, 28 Nov 2025 17:51:48 +0000 (+0200) Subject: gh-142025: Add c-analyzer include for pyexpat.c (GH-142026) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa9519f8b2e109de3c5a37d85a6eadbc9537cc48;p=thirdparty%2FPython%2Fcpython.git gh-142025: Add c-analyzer include for pyexpat.c (GH-142026) Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com> --- diff --git a/Tools/c-analyzer/cpython/_parser.py b/Tools/c-analyzer/cpython/_parser.py index d348a99fff7a..6332dec3aefe 100644 --- a/Tools/c-analyzer/cpython/_parser.py +++ b/Tools/c-analyzer/cpython/_parser.py @@ -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