gh-106656: Remove --emit-line-directives from regen-cases (#106657)

If you prefer to see `#line` directives in generated_cases.c.h, run
```
make regen-cases CASESFLAG=-l
```
But please don't commit the result.
This commit is contained in:
Guido van Rossum 2023-07-12 09:12:39 -07:00 committed by GitHub
parent b03755a234
commit 7f55f58b6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 863 deletions

View File

@ -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 \

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff