summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index a1ceedb..4b65551 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1543,10 +1543,11 @@ regen-opcode-targets:
.PHONY: regen-cases
regen-cases:
# Regenerate various files from Python/bytecodes.c
+ # Pass CASESFLAG=-l to insert #line directives in the output
PYTHONPATH=$(srcdir)/Tools/cases_generator \
$(PYTHON_FOR_REGEN) \
$(srcdir)/Tools/cases_generator/generate_cases.py \
- --emit-line-directives \
+ $(CASESFLAG) \
-o $(srcdir)/Python/generated_cases.c.h.new \
-m $(srcdir)/Include/internal/pycore_opcode_metadata.h.new \
-e $(srcdir)/Python/executor_cases.c.h.new \