mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-23 05:25:11 +00:00
qapi: Rename variable holding the QAPISchemaGenFOOVisitor
Rename the variable holding the QAPISchemaGenFOOVisitor from gen to vis, to avoid confusion in the next commit. Backports commit d46eec4260540d83bafba91608842ab03dabf339 from qemu
This commit is contained in:
parent
b03a71e1e4
commit
3fe150978c
|
@ -198,9 +198,9 @@ fdecl.write(mcgen('''
|
|||
event_enum_name = c_name(prefix + "QAPIEvent", protect=False)
|
||||
|
||||
schema = QAPISchema(input_file)
|
||||
gen = QAPISchemaGenEventVisitor()
|
||||
schema.visit(gen)
|
||||
fdef.write(gen.defn)
|
||||
fdecl.write(gen.decl)
|
||||
vis = QAPISchemaGenEventVisitor()
|
||||
schema.visit(vis)
|
||||
fdef.write(vis.defn)
|
||||
fdecl.write(vis.decl)
|
||||
|
||||
close_output(fdef, fdecl)
|
||||
|
|
|
@ -267,9 +267,9 @@ fdef.write(mcgen('''
|
|||
prefix=prefix))
|
||||
|
||||
schema = QAPISchema(input_file)
|
||||
gen = QAPISchemaGenTypeVisitor()
|
||||
schema.visit(gen)
|
||||
fdef.write(gen.defn)
|
||||
fdecl.write(gen.decl)
|
||||
vis = QAPISchemaGenTypeVisitor()
|
||||
schema.visit(vis)
|
||||
fdef.write(vis.defn)
|
||||
fdecl.write(vis.decl)
|
||||
|
||||
close_output(fdef, fdecl)
|
||||
|
|
|
@ -358,9 +358,9 @@ fdecl.write(mcgen('''
|
|||
prefix=prefix))
|
||||
|
||||
schema = QAPISchema(input_file)
|
||||
gen = QAPISchemaGenVisitVisitor()
|
||||
schema.visit(gen)
|
||||
fdef.write(gen.defn)
|
||||
fdecl.write(gen.decl)
|
||||
vis = QAPISchemaGenVisitVisitor()
|
||||
schema.visit(vis)
|
||||
fdef.write(vis.defn)
|
||||
fdecl.write(vis.decl)
|
||||
|
||||
close_output(fdef, fdecl)
|
||||
|
|
Loading…
Reference in a new issue