summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-04-15 16:26:44 (GMT)
committerGitHub <noreply@github.com>2022-04-15 16:26:44 (GMT)
commit1b34b5687b20a54cff2158c8660201e7377dec21 (patch)
tree44790f7a643402046501c277d704266ca50e847b /Makefile.pre.in
parentd104f4d21f735693ea93fe65ea4b4e1aa1779343 (diff)
downloadcpython-1b34b5687b20a54cff2158c8660201e7377dec21.zip
cpython-1b34b5687b20a54cff2158c8660201e7377dec21.tar.gz
cpython-1b34b5687b20a54cff2158c8660201e7377dec21.tar.bz2
gh-91404: Use computed gotos and reduce indirection in re (#91495)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index d89886d..f6c8c72 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1351,11 +1351,12 @@ regen-stdlib-module-names: build_all Programs/_testembed
$(UPDATE_FILE) $(srcdir)/Python/stdlib_module_names.h $(srcdir)/Python/stdlib_module_names.h.new
regen-sre:
- # Regenerate Modules/_sre/sre_constants.h from Lib/re/_constants.py
- # using Tools/scripts/generate_sre_constants.py
+ # Regenerate Modules/_sre/sre_constants.h and Modules/_sre/sre_targets.h
+ # from Lib/re/_constants.py using Tools/scripts/generate_sre_constants.py
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/scripts/generate_sre_constants.py \
$(srcdir)/Lib/re/_constants.py \
- $(srcdir)/Modules/_sre/sre_constants.h
+ $(srcdir)/Modules/_sre/sre_constants.h \
+ $(srcdir)/Modules/_sre/sre_targets.h
Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o: $(srcdir)/Include/internal/pycore_ast.h