Skip to content

Commit 671cb22

Browse files
authored
gh-113317: Add ParseArgsCodeGen class (#117707)
1 parent a2ae847 commit 671cb22

File tree

4 files changed

+953
-846
lines changed

4 files changed

+953
-846
lines changed

Tools/clinic/libclinic/app.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from libclinic import fail, warn
1010
from libclinic.function import Class
1111
from libclinic.block_parser import Block, BlockParser
12-
from libclinic.codegen import BlockPrinter, Destination, Codegen
12+
from libclinic.codegen import BlockPrinter, Destination, CodeGen
1313
from libclinic.parser import Parser, PythonParser
1414
from libclinic.dsl_parser import DSLParser
1515
if TYPE_CHECKING:
@@ -101,7 +101,7 @@ def __init__(
101101
self.modules: ModuleDict = {}
102102
self.classes: ClassDict = {}
103103
self.functions: list[Function] = []
104-
self.codegen = Codegen(self.limited_capi)
104+
self.codegen = CodeGen(self.limited_capi)
105105

106106
self.line_prefix = self.line_suffix = ''
107107

0 commit comments

Comments
 (0)