Refactor parser compilation units into specific components (GH-29676)

This commit is contained in:
Pablo Galindo Salgado 2021-11-21 01:08:50 +00:00 committed by GitHub
parent f7638dd0f9
commit c9c4444d9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 1910 additions and 1870 deletions

View file

@ -69,6 +69,8 @@ def compile_c_extension(
str(MOD_DIR.parent.parent.parent / "Python" / "asdl.c"),
str(MOD_DIR.parent.parent.parent / "Parser" / "tokenizer.c"),
str(MOD_DIR.parent.parent.parent / "Parser" / "pegen.c"),
str(MOD_DIR.parent.parent.parent / "Parser" / "pegen_errors.c"),
str(MOD_DIR.parent.parent.parent / "Parser" / "action_helpers.c"),
str(MOD_DIR.parent.parent.parent / "Parser" / "string_parser.c"),
str(MOD_DIR.parent / "peg_extension" / "peg_extension.c"),
generated_source_path,