mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-03-24 00:05:42 +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
|
||||
|
||||
# Add the instruction operands
|
||||
for op in self.ExpOps + self.ImpOps:
|
||||
c += "\n " + op.cdef() + ", "
|
||||
allOps = self.ExpOps + self.ImpOps
|
||||
c += "\n {"
|
||||
if allOps:
|
||||
for op in self.ExpOps + self.ImpOps:
|
||||
c += "\n " + op.cdef() + ", "
|
||||
else:
|
||||
c += "\n 0 "
|
||||
c += "\n },"
|
||||
|
||||
c += '\n }'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user