mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
gh-104584: Add #line directives to executor_cases.c.h (#106126)
This commit is contained in:
parent
33608fd67d
commit
0762775a15
254
Python/executor_cases.c.h
generated
254
Python/executor_cases.c.h
generated
File diff suppressed because it is too large
Load Diff
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user