mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-05-13 06:08:43 +00:00
Add braces around the ND_INSTRUCTION.Operands initializer
This commit is contained in:
parent
a20db3ce54
commit
b0b7a67c8e
File diff suppressed because it is too large
Load Diff
@ -544,8 +544,14 @@ def cdef_instruction(self):
|
|||||||
c += "\n %s," % flg
|
c += "\n %s," % flg
|
||||||
|
|
||||||
# Add the instruction operands
|
# Add the instruction operands
|
||||||
for op in self.ExpOps + self.ImpOps:
|
allOps = self.ExpOps + self.ImpOps
|
||||||
c += "\n " + op.cdef() + ", "
|
c += "\n {"
|
||||||
|
if allOps:
|
||||||
|
for op in self.ExpOps + self.ImpOps:
|
||||||
|
c += "\n " + op.cdef() + ", "
|
||||||
|
else:
|
||||||
|
c += "\n 0 "
|
||||||
|
c += "\n },"
|
||||||
|
|
||||||
c += '\n }'
|
c += '\n }'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user