Add braces around the ND_INSTRUCTION.Operands initializer

pull/9/head
Ionel-Cristinel ANICHITEI 4 years ago
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
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…
Cancel
Save