1
0
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:
Ionel-Cristinel ANICHITEI 2020-07-27 17:15:12 +03:00
parent a20db3ce54
commit b0b7a67c8e
2 changed files with 12440 additions and 7269 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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 }'