diff options
author | Guido van Rossum <guido@python.org> | 2023-06-27 13:56:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 13:56:39 (GMT) |
commit | 0762775a15d1fb238751744872bc99c853bef6c8 (patch) | |
tree | 72e8a760c0f7aef0fe91a2d0f8d44f2ceddc3f24 /Tools | |
parent | 33608fd67df8b1033519f808441ee00289e2dac0 (diff) | |
download | cpython-0762775a15d1fb238751744872bc99c853bef6c8.zip cpython-0762775a15d1fb238751744872bc99c853bef6c8.tar.gz cpython-0762775a15d1fb238751744872bc99c853bef6c8.tar.bz2 |
gh-104584: Add #line directives to executor_cases.c.h (#106126)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/cases_generator/generate_cases.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/cases_generator/generate_cases.py b/Tools/cases_generator/generate_cases.py index afeb31d..d66b281 100644 --- a/Tools/cases_generator/generate_cases.py +++ b/Tools/cases_generator/generate_cases.py @@ -1374,7 +1374,7 @@ class Analyzer: def write_executor_instructions(self) -> None: """Generate cases for the Tier 2 interpreter.""" with open(self.executor_filename, "w") as f: - self.out = Formatter(f, 8) + self.out = Formatter(f, 8, self.emit_line_directives) self.write_provenance_header() for thing in self.everything: match thing: |